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>;
104 buffer-manager = <&bm>;
105 managed = "in-band-status";
112 clock-frequency = <400000>;
113 pinctrl-0 = <&i2c0_pins>;
114 pinctrl-names = "default";
118 * PCA9655 GPIO expander, up to 1MHz clock.
136 expander0: gpio-expander@20 {
138 * This is how it should be:
139 * compatible = "onnn,pca9655", "nxp,pca9555";
140 * but you can't do this because of the way I2C works.
142 compatible = "nxp,pca9555";
149 gpios = <0 GPIO_ACTIVE_LOW>;
151 line-name = "pcie1.0-clkreq";
155 gpios = <3 GPIO_ACTIVE_LOW>;
157 line-name = "pcie1.0-w-disable";
161 gpios = <5 GPIO_ACTIVE_LOW>;
163 line-name = "usb3-current-limit";
167 gpios = <6 GPIO_ACTIVE_HIGH>;
169 line-name = "usb3-power";
173 gpios = <11 GPIO_ACTIVE_HIGH>;
175 line-name = "m.2 devslp";
179 /* The MCP3021 supports standard and fast modes */
180 mikrobus_adc: mcp3021@4c {
181 compatible = "microchip,mcp3021";
188 * Routed to SFP, mikrobus, and PCIe.
189 * SFP limits this to 100kHz, and requires an AT24C01A/02/04 with
190 * address pins tied low, which takes addresses 0x50 and 0x51.
191 * Mikrobus doesn't specify beyond an I2C bus being present.
192 * PCIe uses ARP to assign addresses, or 0x63-0x64.
194 clock-frequency = <100000>;
195 pinctrl-0 = <&clearfog_i2c1_pins>;
196 pinctrl-names = "default";
201 clearfog_i2c1_pins: i2c1-pins {
202 /* SFP, PCIe, mSATA, mikrobus */
203 marvell,pins = "mpp26", "mpp27";
204 marvell,function = "i2c1";
206 clearfog_sdhci_cd_pins: clearfog-sdhci-cd-pins {
207 marvell,pins = "mpp20";
208 marvell,function = "gpio";
210 mikro_pins: mikro-pins {
211 /* int: mpp22 rst: mpp29 */
212 marvell,pins = "mpp22", "mpp29";
213 marvell,function = "gpio";
215 mikro_spi_pins: mikro-spi-pins {
216 marvell,pins = "mpp43";
217 marvell,function = "spi1";
219 mikro_uart_pins: mikro-uart-pins {
220 marvell,pins = "mpp24", "mpp25";
221 marvell,function = "ua1";
227 * Add SPI CS pins for clearfog:
229 * CS1: PIC microcontroller (Pro models)
232 pinctrl-0 = <&spi1_pins &mikro_spi_pins>;
233 pinctrl-names = "default";
239 pinctrl-0 = <&mikro_uart_pins>;
240 pinctrl-names = "default";