1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
3 * Device Tree file for SolidRun Clearfog Pro revision A1 rev 2.0 (88F6828)
5 * Copyright (C) 2015 Russell King
9 #include "armada-388-clearfog.dtsi"
12 model = "SolidRun Clearfog A1";
13 compatible = "solidrun,clearfog-a1", "marvell,armada388",
14 "marvell,armada385", "marvell,armada380";
19 /* CON2, nearest CPU, USB2 only. */
26 /* Port 2, Lane 0. CON2, nearest CPU. */
27 reset-gpios = <&expander0 2 GPIO_ACTIVE_LOW>;
36 compatible = "marvell,dsa";
37 dsa,ethernet = <ð1>;
38 dsa,mii-bus = <&mdio>;
39 pinctrl-0 = <&clearfog_dsa0_clk_pins &clearfog_dsa0_pins>;
40 pinctrl-names = "default";
80 /* 88E1512 external phy */
92 compatible = "gpio-keys";
93 pinctrl-0 = <&rear_button_pins>;
94 pinctrl-names = "default";
97 /* The rear SW3 button */
98 label = "Rear Button";
99 gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
101 linux,code = <BTN_0>;
116 * PCA9655 GPIO expander:
136 gpios = <4 GPIO_ACTIVE_LOW>;
138 line-name = "pcie2.0-clkreq";
142 gpios = <7 GPIO_ACTIVE_LOW>;
144 line-name = "pcie2.0-w-disable";
152 compatible = "marvell,mv88e6085";
153 #address-cells = <1>;
156 pinctrl-0 = <&clearfog_dsa0_clk_pins &clearfog_dsa0_pins>;
157 pinctrl-names = "default";
160 #address-cells = <1>;
199 /* 88E1512 external phy */
212 clearfog_dsa0_clk_pins: clearfog-dsa0-clk-pins {
213 marvell,pins = "mpp46";
214 marvell,function = "ref";
216 clearfog_dsa0_pins: clearfog-dsa0-pins {
217 marvell,pins = "mpp23", "mpp41";
218 marvell,function = "gpio";
220 clearfog_spi1_cs_pins: spi1-cs-pins {
221 marvell,pins = "mpp55";
222 marvell,function = "spi1";
224 rear_button_pins: rear-button-pins {
225 marvell,pins = "mpp34";
226 marvell,function = "gpio";
232 * Add SPI CS pins for clearfog:
237 pinctrl-0 = <&spi1_pins &clearfog_spi1_cs_pins &mikro_spi_pins>;