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 */
85 compatible = "fixed-partitions";
91 reg = <0x0000000 0x200000>; /* 2MiB */
97 reg = <0x200000 0x20000>; /* 128KiB */
102 reg = <0x220000 0x40000>; /* 256KiB */
107 reg = <0x7e0000 0x40000>; /* 256KiB */
113 reg = <0x820000 0x1e0000>; /* 1920KiB */
117 /* kernel1 overlaps with rootfs1 by design */
120 reg = <0xa00000 0x5000000>; /* 80MiB */
125 reg = <0x1000000 0x4a00000>; /* 74MiB */
128 /* kernel2 overlaps with rootfs2 by design */
131 reg = <0x5a00000 0x5000000>; /* 80MiB */
136 reg = <0x6000000 0x4a00000>; /* 74MiB */
140 * 86MiB, last MiB is for the BBT, not writable
144 reg = <0xaa00000 0x5600000>;
148 * Unused area between "s_env" and "devinfo".
149 * Moved here because otherwise the renumbered
150 * partitions would break the bootloader
154 label = "unused_area";
155 reg = <0x260000 0x5c0000>; /* 5.75MiB */
161 pinctrl-names = "default";
162 pinctrl-0 = <&sdhci_pins>;
171 gpio = <&gpio1 12 GPIO_ACTIVE_HIGH>;
175 marvell,pins = "mpp44";