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";
114 clock-frequency = <400000>;
115 pinctrl-0 = <&i2c0_pins>;
116 pinctrl-names = "default";
120 * PCA9655 GPIO expander, up to 1MHz clock.
138 expander0: gpio-expander@20 {
140 * This is how it should be:
141 * compatible = "onnn,pca9655", "nxp,pca9555";
142 * but you can't do this because of the way I2C works.
144 compatible = "nxp,pca9555";
151 gpios = <0 GPIO_ACTIVE_LOW>;
153 line-name = "pcie1.0-clkreq";
157 gpios = <3 GPIO_ACTIVE_LOW>;
159 line-name = "pcie1.0-w-disable";
163 gpios = <5 GPIO_ACTIVE_LOW>;
165 line-name = "usb3-current-limit";
169 gpios = <6 GPIO_ACTIVE_HIGH>;
171 line-name = "usb3-power";
175 gpios = <11 GPIO_ACTIVE_HIGH>;
177 line-name = "m.2 devslp";
181 /* The MCP3021 supports standard and fast modes */
182 mikrobus_adc: mcp3021@4c {
183 compatible = "microchip,mcp3021";
190 * Routed to SFP, mikrobus, and PCIe.
191 * SFP limits this to 100kHz, and requires an AT24C01A/02/04 with
192 * address pins tied low, which takes addresses 0x50 and 0x51.
193 * Mikrobus doesn't specify beyond an I2C bus being present.
194 * PCIe uses ARP to assign addresses, or 0x63-0x64.
196 clock-frequency = <100000>;
197 pinctrl-0 = <&clearfog_i2c1_pins>;
198 pinctrl-names = "default";
203 clearfog_i2c1_pins: i2c1-pins {
204 /* SFP, PCIe, mSATA, mikrobus */
205 marvell,pins = "mpp26", "mpp27";
206 marvell,function = "i2c1";
208 clearfog_sdhci_cd_pins: clearfog-sdhci-cd-pins {
209 marvell,pins = "mpp20";
210 marvell,function = "gpio";
212 mikro_pins: mikro-pins {
213 /* int: mpp22 rst: mpp29 */
214 marvell,pins = "mpp22", "mpp29";
215 marvell,function = "gpio";
217 mikro_spi_pins: mikro-spi-pins {
218 marvell,pins = "mpp43";
219 marvell,function = "spi1";
221 mikro_uart_pins: mikro-uart-pins {
222 marvell,pins = "mpp24", "mpp25";
223 marvell,function = "ua1";
229 * Add SPI CS pins for clearfog:
231 * CS1: PIC microcontroller (Pro models)
234 pinctrl-0 = <&spi1_pins &mikro_spi_pins>;
235 pinctrl-names = "default";
241 pinctrl-0 = <&mikro_uart_pins>;
242 pinctrl-names = "default";