2 * Device Tree file for SolidRun Clearfog Pro revision A1 rev 2.0 (88F6828)
4 * Copyright (C) 2015 Russell King
6 * This board is in development; the contents of this file work with
7 * the A1 rev 2.0 of the board, which does not represent final
8 * production board. Things will change, don't expect this file to
9 * remain compatible info the future.
11 * This file is dual-licensed: you can use it either under the terms
12 * of the GPL or the X11 license, at your option. Note that this dual
13 * licensing only applies to this file, and not this project as a
16 * a) This file is free software; you can redistribute it and/or
17 * modify it under the terms of the GNU General Public License
18 * version 2 as published by the Free Software Foundation.
20 * This file is distributed in the hope that it will be useful,
21 * but WITHOUT ANY WARRANTY; without even the implied warranty of
22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 * GNU General Public License for more details.
27 * b) Permission is hereby granted, free of charge, to any person
28 * obtaining a copy of this software and associated documentation
29 * files (the "Software"), to deal in the Software without
30 * restriction, including without limitation the rights to use,
31 * copy, modify, merge, publish, distribute, sublicense, and/or
32 * sell copies of the Software, and to permit persons to whom the
33 * Software is furnished to do so, subject to the following
36 * The above copyright notice and this permission notice shall be
37 * included in all copies or substantial portions of the Software.
39 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
40 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
41 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
42 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
43 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
44 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
45 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
46 * OTHER DEALINGS IN THE SOFTWARE.
50 #include "armada-388-clearfog.dtsi"
53 model = "SolidRun Clearfog A1";
54 compatible = "solidrun,clearfog-a1", "marvell,armada388",
55 "marvell,armada385", "marvell,armada380";
60 /* CON2, nearest CPU, USB2 only. */
67 /* Port 2, Lane 0. CON2, nearest CPU. */
68 reset-gpios = <&expander0 2 GPIO_ACTIVE_LOW>;
77 compatible = "marvell,dsa";
78 dsa,ethernet = <ð1>;
79 dsa,mii-bus = <&mdio>;
80 pinctrl-0 = <&clearfog_dsa0_clk_pins &clearfog_dsa0_pins>;
81 pinctrl-names = "default";
121 /* 88E1512 external phy */
133 compatible = "gpio-keys";
134 pinctrl-0 = <&rear_button_pins>;
135 pinctrl-names = "default";
138 /* The rear SW3 button */
139 label = "Rear Button";
140 gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
142 linux,code = <BTN_0>;
157 * PCA9655 GPIO expander:
177 gpios = <4 GPIO_ACTIVE_LOW>;
179 line-name = "pcie2.0-clkreq";
183 gpios = <7 GPIO_ACTIVE_LOW>;
185 line-name = "pcie2.0-w-disable";
190 clearfog_dsa0_clk_pins: clearfog-dsa0-clk-pins {
191 marvell,pins = "mpp46";
192 marvell,function = "ref";
194 clearfog_dsa0_pins: clearfog-dsa0-pins {
195 marvell,pins = "mpp23", "mpp41";
196 marvell,function = "gpio";
198 clearfog_spi1_cs_pins: spi1-cs-pins {
199 marvell,pins = "mpp55";
200 marvell,function = "spi1";
202 rear_button_pins: rear-button-pins {
203 marvell,pins = "mpp34";
204 marvell,function = "gpio";
212 compatible = "marvell,mv88e6085";
213 #address-cells = <1>;
216 pinctrl-0 = <&clearfog_dsa0_clk_pins &clearfog_dsa0_pins>;
217 pinctrl-names = "default";
220 #address-cells = <1>;
259 /* 88E1512 external phy */
273 * Add SPI CS pins for clearfog:
274 * CS0: W25Q32 (not populated on uSOM)
278 pinctrl-0 = <&spi1_pins &clearfog_spi1_cs_pins &mikro_spi_pins>;