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>;
34 compatible = "gpio-keys";
35 pinctrl-0 = <&rear_button_pins>;
36 pinctrl-names = "default";
39 /* The rear SW3 button */
40 label = "Rear Button";
41 gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
58 * PCA9655 GPIO expander:
78 gpios = <4 GPIO_ACTIVE_LOW>;
80 line-name = "pcie2.0-clkreq";
84 gpios = <7 GPIO_ACTIVE_LOW>;
86 line-name = "pcie2.0-w-disable";
94 compatible = "marvell,mv88e6085";
98 pinctrl-0 = <&clearfog_dsa0_clk_pins &clearfog_dsa0_pins>;
99 pinctrl-names = "default";
102 #address-cells = <1>;
141 /* 88E1512 external phy */
154 clearfog_dsa0_clk_pins: clearfog-dsa0-clk-pins {
155 marvell,pins = "mpp46";
156 marvell,function = "ref";
158 clearfog_dsa0_pins: clearfog-dsa0-pins {
159 marvell,pins = "mpp23", "mpp41";
160 marvell,function = "gpio";
162 clearfog_spi1_cs_pins: spi1-cs-pins {
163 marvell,pins = "mpp55";
164 marvell,function = "spi1";
166 rear_button_pins: rear-button-pins {
167 marvell,pins = "mpp34";
168 marvell,function = "gpio";
174 * Add SPI CS pins for clearfog:
179 pinctrl-0 = <&spi1_pins &clearfog_spi1_cs_pins &mikro_spi_pins>;