2 * Device Tree file for the Linksys WRT1900AC (Mamba).
4 * Note: this board is shipped with a new generation boot loader that
5 * remaps internal registers at 0xf1000000. Therefore, if earlyprintk
6 * is used, the CONFIG_DEBUG_MVEBU_UART_ALTERNATE option should be
9 * Copyright (C) 2013 Marvell
11 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
13 * This file is licensed under the terms of the GNU General Public
14 * License version 2. This program is licensed "as is" without any
15 * warranty of any kind, whether express or implied.
19 #include "armada-xp-mv78230.dtsi"
22 model = "Linksys WRT1900AC (Mamba)";
23 compatible = "linksys,mamba", "marvell,armadaxp-mv78230", "marvell,armadaxp", "marvell,armada-370-xp";
26 bootargs = "console=ttyS0,115200 earlyprintk";
30 device_type = "memory";
31 reg = <0x00000000 0x00000000 0x00000000 0x10000000>; /* 256MB */
35 ranges = <MBUS_ID(0xf0, 0x01) 0 0 0xf1000000 0x100000
36 MBUS_ID(0x01, 0x1d) 0 0 0xfff00000 0x100000>;
41 /* Etron EJ168 USB 3.0 controller */
47 /* First mini-PCIe port */
53 /* Second mini-PCIe port */
62 pinctrl-0 = <&pmx_phy_int>;
63 pinctrl-names = "default";
66 marvell,pins = "mpp0", "mpp1", "mpp2", "mpp3",
67 "mpp4", "mpp5", "mpp6", "mpp7",
68 "mpp8", "mpp9", "mpp10", "mpp11";
69 marvell,function = "ge0";
73 marvell,pins = "mpp12", "mpp13", "mpp14", "mpp15",
74 "mpp16", "mpp17", "mpp18", "mpp19",
75 "mpp20", "mpp21", "mpp22", "mpp23";
76 marvell,function = "ge1";
80 marvell,pins = "mpp33";
81 marvell,function = "gpio";
85 marvell,pins = "mpp36", "mpp37", "mpp38", "mpp39";
86 marvell,function = "spi";
89 pmx_phy_int: pmx-phy-int {
90 marvell,pins = "mpp32";
91 marvell,function = "gpio";
94 power_led_pin: power-led-pin {
95 marvell,pins = "mpp40";
96 marvell,function = "gpio";
102 clock-frequency = <250000000>;
107 clock-frequency = <250000000>;
121 pinctrl-0 = <&pmx_ge0>;
122 pinctrl-names = "default";
124 phy-mode = "rgmii-id";
132 pinctrl-0 = <&pmx_ge1>;
133 pinctrl-names = "default";
135 phy-mode = "rgmii-id";
142 /* USB part of the eSATA/USB 2.0 port */
149 clock-frequency = <100000>;
153 compatible = "gpio,tlc59116";
162 marvell,nand-keep-config;
163 marvell,nand-enable-arbiter;
165 nand-ecc-strength = <4>;
166 nand-ecc-step-size = <512>;
171 reg = <0x0000000 0x100000>; /* 1MB */
176 label = "u_env"; //u-boot-env?
177 reg = <0x100000 0x40000>; /* 256KB */
183 reg = <0x140000 0x40000>; /* 256KB */
189 reg = <0x900000 0x100000>; /* 1MB */
194 reg = <0xa00000 0x2800000>; /* 40MB */
199 reg = <0xd00000 0x2500000>; /* 37MB */
203 label = "alt_kernel";
204 reg = <0x3200000 0x2800000>; /* 40MB */
208 label = "alt_rootfs";
209 reg = <0x3500000 0x2500000>; /* 37MB */
212 /* Last MB is for the BBT, i.e. not writable */
215 reg = <0x5a00000 0x2600000>; /* ?MB */
221 pinctrl-0 = <&pmx_spi>;
222 pinctrl-names = "default";
225 #address-cells = <1>;
227 compatible = "mr25h256";
228 reg = <0>; /* Chip select 0 */
229 spi-max-frequency = <108000000>;
236 compatible = "gpio-keys";
237 #address-cells = <1>;
239 pinctrl-0 = <&pmx_keys>;
240 pinctrl-names = "default";
243 label = "Factory Reset Button";
244 linux,code = <141>; /* KEY_SETUP */
245 gpios = <&gpio1 1 1>;
250 compatible = "gpio-leds";
251 pinctrl-0 = <&power_led_pin>;
252 pinctrl-names = "default";
255 label = "mamba:white:power";
256 gpios = <&gpio1 8 0>;
257 default-state = "on";