1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
3 * Device Tree file for the Linksys WRT3200ACM (Rango)
5 * Copyright (C) 2016 Imre Kaloz <kaloz@openwrt.org>
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/input/input.h>
11 #include "armada-385-linksys.dtsi"
14 model = "Linksys WRT3200ACM";
15 compatible = "linksys,rango", "linksys,armada385", "marvell,armada385",
21 label = "rango:amber:wan";
26 label = "rango:white:wan";
31 label = "rango:white:usb2";
36 label = "rango:white:usb3_1";
41 label = "rango:white:usb3_2";
46 label = "rango:white:wps";
51 label = "rango:amber:wps";
58 gpios = <&gpio1 24 GPIO_ACTIVE_HIGH>;
59 label = "rango:white:power";
63 gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
64 label = "rango:white:sata";
68 gpios = <&gpio1 13 GPIO_ACTIVE_LOW>;
69 label = "rango:white:wlan_2g";
73 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
74 label = "rango:white:wlan_5g";
79 marvell,pins = "mpp21", "mpp45", "mpp46", "mpp56";
83 /* AMD/Spansion S34ML02G2 256MiB, OEM Layout */
87 reg = <0x0000000 0x200000>; /* 2MiB */
93 reg = <0x200000 0x20000>; /* 128KiB */
98 reg = <0x220000 0x40000>; /* 256KiB */
103 reg = <0x7e0000 0x40000>; /* 256KiB */
109 reg = <0x820000 0x1e0000>; /* 1920KiB */
113 /* kernel1 overlaps with rootfs1 by design */
116 reg = <0xa00000 0x5000000>; /* 80MiB */
121 reg = <0x1000000 0x4a00000>; /* 74MiB */
124 /* kernel2 overlaps with rootfs2 by design */
127 reg = <0x5a00000 0x5000000>; /* 80MiB */
132 reg = <0x6000000 0x4a00000>; /* 74MiB */
136 * 86MiB, last MiB is for the BBT, not writable
140 reg = <0xaa00000 0x5600000>;
144 * Unused area between "s_env" and "devinfo".
145 * Moved here because otherwise the renumbered
146 * partitions would break the bootloader
150 label = "unused_area";
151 reg = <0x260000 0x5c0000>; /* 5.75MiB */
156 pinctrl-names = "default";
157 pinctrl-0 = <&sdhci_pins>;
166 gpio = <&gpio1 12 GPIO_ACTIVE_HIGH>;
170 marvell,pins = "mpp44";