1 // SPDX-License-Identifier: GPL-2.0-only
3 * Device Tree Source for Netgear WNDAP620 and WNDAP660
6 #include <dt-bindings/leds/common.h>
7 #include "apm82181.dtsi"
15 stdout-path = "/plb/opb/serial@ef600300";
33 /* 32 MiB SLC NAND Flash */
39 compatible = "fixed-partitions";
45 reg = <0x00000000 0x00100000>;
50 compatible = "u-boot,env";
52 reg = <0x00100000 0x0004000>;
71 /* 0x104000 - 0x10ffff free */
75 reg = <0x00110000 0x01ac0000>;
77 compatible = "fixed-partitions";
83 * The u-boot bootloader will look at this
84 * offset (0x110000) for an uImage binary.
87 reg = <0x00000000 0x005f0000>;
92 reg = <0x005f0000 0x014d0000>;
98 * original vendor device-tree - do not use or
99 * overwrite. The original u-boot also supports
100 * the gzipped legacy monolithic/Multi-File Image
101 * format, which is a better choice.
103 label = "device-tree";
104 reg = <0x01bd0000 0x0010000>;
110 reg = <0x01be0000 0x00400000>;
116 reg = <0x01fe0000 0x00020000>;
142 #address-cells = <1>;
149 compatible = "gpio-keys";
152 label = "Reset Button";
153 gpios = <&GPIO0 16 GPIO_ACTIVE_LOW>;
154 linux,code = <KEY_RESTART>;
155 interrupt-parent = <&UIC1>;
156 interrupts = <0x15 IRQ_TYPE_EDGE_FALLING>;
157 debounce-interval = <60>;
162 compatible = "gpio-leds";
165 color = <LED_COLOR_ID_GREEN>;
166 function = LED_FUNCTION_POWER;
167 gpios = <&GPIO0 18 GPIO_ACTIVE_HIGH>;
171 color = <LED_COLOR_ID_AMBER>;
172 function = LED_FUNCTION_FAULT;
173 gpios = <&GPIO0 17 GPIO_ACTIVE_HIGH>;
178 color = <LED_COLOR_ID_GREEN>;
179 function = LED_FUNCTION_LAN;
180 function-enumerator = <0>;
181 gpios = <&GPIO0 21 GPIO_ACTIVE_HIGH>;
185 color = <LED_COLOR_ID_GREEN>;
186 function = LED_FUNCTION_WLAN;
187 function-enumerator = <0>;
188 gpios = <&GPIO0 19 GPIO_ACTIVE_HIGH>;
192 color = <LED_COLOR_ID_GREEN>;
193 function = LED_FUNCTION_WLAN;
194 function-enumerator = <1>;
195 gpios = <&GPIO0 20 GPIO_ACTIVE_HIGH>;
200 compatible = "gpio-export";
203 gpio-export,name = "wndap6x0:internal-antenna";
204 gpio-export,output = <1>;
205 gpios = <&GPIO0 11 GPIO_ACTIVE_HIGH>;
209 gpio-export,name = "wndap6x0:external-antenna";
210 gpio-export,output = <0>;
211 gpios = <&GPIO0 14 GPIO_ACTIVE_HIGH>;
216 * Input pin describing what powers the AP
218 * 1/High = 12v mains powered
220 gpio-export,name = "wndap620:mains-powered";
221 gpios = <&GPIO0 3 GPIO_ACTIVE_HIGH>;
226 compatible = "realtek,rtl8367b";
228 realtek,extif0 = <1 2 1 1 1 1 1 1 2>;
241 compatible = "atmel,24c04";