2 * Device Tree file for the Linksys WRT3200ACM (Rango)
4 * Copyright (C) 2016 Imre Kaloz <kaloz@openwrt.org>
7 * This file is dual-licensed: you can use it either under the terms
8 * of the GPL or the X11 license, at your option. Note that this dual
9 * licensing only applies to this file, and not this project as a
12 * a) This file is licensed under the terms of the GNU General Public
13 * License version 2. This program is licensed "as is" without
14 * any warranty of any kind, whether express or implied.
18 * b) Permission is hereby granted, free of charge, to any person
19 * obtaining a copy of this software and associated documentation
20 * files (the "Software"), to deal in the Software without
21 * restriction, including without limitation the rights to use,
22 * copy, modify, merge, publish, distribute, sublicense, and/or
23 * sell copies of the Software, and to permit persons to whom the
24 * Software is furnished to do so, subject to the following
27 * The above copyright notice and this permission notice shall be
28 * included in all copies or substantial portions of the Software.
30 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
31 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
32 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
33 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
34 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
35 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
36 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
37 * OTHER DEALINGS IN THE SOFTWARE.
41 #include <dt-bindings/gpio/gpio.h>
42 #include <dt-bindings/input/input.h>
43 #include "armada-385-linksys.dtsi"
46 model = "Linksys WRT3200ACM";
47 compatible = "linksys,rango", "linksys,armada385", "marvell,armada385",
53 label = "rango:amber:wan";
58 label = "rango:white:wan";
63 label = "rango:white:usb2";
68 label = "rango:white:usb3_1";
73 label = "rango:white:usb3_2";
78 label = "rango:white:wps";
83 label = "rango:amber:wps";
90 gpios = <&gpio1 24 GPIO_ACTIVE_HIGH>;
91 label = "rango:white:power";
95 gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
96 label = "rango:white:sata";
100 gpios = <&gpio1 13 GPIO_ACTIVE_LOW>;
101 label = "rango:white:wlan_2g";
105 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
106 label = "rango:white:wlan_5g";
111 marvell,pins = "mpp21", "mpp45", "mpp46", "mpp56";
115 /* AMD/Spansion S34ML02G2 256MiB, OEM Layout */
119 reg = <0x0000000 0x200000>; /* 2MiB */
125 reg = <0x200000 0x20000>; /* 128KiB */
130 reg = <0x220000 0x40000>; /* 256KiB */
135 reg = <0x7e0000 0x40000>; /* 256KiB */
141 reg = <0x820000 0x1e0000>; /* 1920KiB */
145 /* kernel1 overlaps with rootfs1 by design */
148 reg = <0xa00000 0x5000000>; /* 80MiB */
153 reg = <0x1000000 0x4a00000>; /* 74MiB */
156 /* kernel2 overlaps with rootfs2 by design */
159 reg = <0x5a00000 0x5000000>; /* 80MiB */
164 reg = <0x6000000 0x4a00000>; /* 74MiB */
168 * 86MiB, last MiB is for the BBT, not writable
172 reg = <0xaa00000 0x5600000>;
176 * Unused area between "s_env" and "devinfo".
177 * Moved here because otherwise the renumbered
178 * partitions would break the bootloader
182 label = "unused_area";
183 reg = <0x260000 0x5c0000>; /* 5.75MiB */
188 pinctrl-names = "default";
189 pinctrl-0 = <&sdhci_pins>;
198 gpio = <&gpio1 12 GPIO_ACTIVE_HIGH>;
202 marvell,pins = "mpp44";