1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
3 * Device Tree include file for SolidRun Clearfog 88F6828 based boards
5 * Copyright (C) 2015 Russell King
8 #include "armada-388.dtsi"
9 #include "armada-38x-solidrun-microsom.dtsi"
13 /* So that mvebu u-boot can update the MAC addresses */
20 stdout-path = "serial0:115200n8";
23 reg_3p3v: regulator-3p3v {
24 compatible = "regulator-fixed";
25 regulator-name = "3P3V";
26 regulator-min-microvolt = <3300000>;
27 regulator-max-microvolt = <3300000>;
45 cd-gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
47 pinctrl-0 = <µsom_sdhci_pins
48 &clearfog_sdhci_cd_pins>;
49 pinctrl-names = "default";
51 vmmc-supply = <®_3p3v>;
56 /* CON3, nearest power. */
69 * The two PCIe units are accessible through
70 * the mini-PCIe connectors on the board.
73 /* Port 1, Lane 0. CON3, nearest power. */
74 reset-gpios = <&expander0 1 GPIO_ACTIVE_LOW>;
81 compatible = "sff,sfp";
83 los-gpio = <&expander0 12 GPIO_ACTIVE_HIGH>;
84 mod-def0-gpio = <&expander0 15 GPIO_ACTIVE_LOW>;
85 tx-disable-gpio = <&expander0 14 GPIO_ACTIVE_HIGH>;
86 tx-fault-gpio = <&expander0 13 GPIO_ACTIVE_HIGH>;
87 maximum-power-milliwatt = <2000>;
95 buffer-manager = <&bm>;
105 buffer-manager = <&bm>;
106 managed = "in-band-status";
115 * PCA9655 GPIO expander, up to 1MHz clock.
133 expander0: gpio-expander@20 {
135 * This is how it should be:
136 * compatible = "onnn,pca9655", "nxp,pca9555";
137 * but you can't do this because of the way I2C works.
139 compatible = "nxp,pca9555";
146 gpios = <0 GPIO_ACTIVE_LOW>;
148 line-name = "pcie1.0-clkreq";
150 pcie1-0-w-disable-hog {
152 gpios = <3 GPIO_ACTIVE_LOW>;
154 line-name = "pcie1.0-w-disable";
158 gpios = <5 GPIO_ACTIVE_LOW>;
160 line-name = "usb3-current-limit";
164 gpios = <6 GPIO_ACTIVE_HIGH>;
166 line-name = "usb3-power";
170 gpios = <11 GPIO_ACTIVE_HIGH>;
172 line-name = "m.2 devslp";
176 /* The MCP3021 supports standard and fast modes */
177 mikrobus_adc: mcp3021@4c {
178 compatible = "microchip,mcp3021";
183 compatible = "atmel,24c02";
191 * Routed to SFP, mikrobus, and PCIe.
192 * SFP limits this to 100kHz, and requires an AT24C01A/02/04 with
193 * address pins tied low, which takes addresses 0x50 and 0x51.
194 * Mikrobus doesn't specify beyond an I2C bus being present.
195 * PCIe uses ARP to assign addresses, or 0x63-0x64.
197 clock-frequency = <100000>;
198 pinctrl-0 = <&clearfog_i2c1_pins>;
199 pinctrl-names = "default";
204 clearfog_i2c1_pins: i2c1-pins {
205 /* SFP, PCIe, mSATA, mikrobus */
206 marvell,pins = "mpp26", "mpp27";
207 marvell,function = "i2c1";
209 clearfog_sdhci_cd_pins: clearfog-sdhci-cd-pins {
210 marvell,pins = "mpp20";
211 marvell,function = "gpio";
213 mikro_pins: mikro-pins {
214 /* int: mpp22 rst: mpp29 */
215 marvell,pins = "mpp22", "mpp29";
216 marvell,function = "gpio";
218 mikro_spi_pins: mikro-spi-pins {
219 marvell,pins = "mpp43";
220 marvell,function = "spi1";
222 mikro_uart_pins: mikro-uart-pins {
223 marvell,pins = "mpp24", "mpp25";
224 marvell,function = "ua1";
230 * Add SPI CS pins for clearfog:
232 * CS1: PIC microcontroller (Pro models)
235 pinctrl-0 = <&spi1_pins &mikro_spi_pins>;
236 pinctrl-names = "default";
242 pinctrl-0 = <&mikro_uart_pins>;
243 pinctrl-names = "default";