1 // SPDX-License-Identifier: GPL-2.0-only
3 * Device Tree Source for Netgear WNDAP620 and WNDAP660
6 #include "apm82181.dtsi"
12 led-failsafe = &failsafe;
13 led-running = &status;
14 led-upgrade = &status;
18 stdout-path = "/plb/opb/serial@ef600300";
37 /* 32 MiB SLC NAND Flash */
43 reg = <0x00000000 0x00100000>;
49 reg = <0x00100000 0x00010000>;
55 reg = <0x00110000 0x01ac0000>;
60 * The u-boot bootloader will look at this
61 * offset (0x110000) for an uImage binary.
64 reg = <0x00110000 0x003f0000>;
69 reg = <0x00500000 0x016d0000>;
74 * original vendor device-tree - do not use or
75 * overwrite. The original u-boot also supports
76 * the gzipped legacy monolithic/Multi-File Image
77 * format, which is a better choice.
79 label = "device-tree";
80 reg = <0x01bd0000 0x0010000>;
86 reg = <0x01be0000 0x0400000>;
92 reg = <0x01fe0000 0x20000 >;
118 #address-cells = <1>;
125 compatible = "gpio-keys";
128 label = "Reset Button";
129 gpios = <&GPIO0 16 GPIO_ACTIVE_LOW>;
130 linux,code = <KEY_RESTART>;
131 interrupt-parent = <&UIC1>;
132 interrupts = <0x15 IRQ_TYPE_EDGE_FALLING>;
133 debounce-interval = <60>;
138 compatible = "gpio-leds";
141 label = "wndap6x0:green:power";
142 gpios = <&GPIO0 18 GPIO_ACTIVE_HIGH>;
146 label = "wndap6x0:amber:test";
147 gpios = <&GPIO0 17 GPIO_ACTIVE_HIGH>;
152 label = "wndap6x0:green:activity";
153 gpios = <&GPIO0 21 GPIO_ACTIVE_HIGH>;
157 label = "wndap6x0:green:wlan2g";
158 gpios = <&GPIO0 19 GPIO_ACTIVE_HIGH>;
162 label = "wndap6x0:green:wlan5g";
163 gpios = <&GPIO0 20 GPIO_ACTIVE_HIGH>;
168 compatible = "gpio-export";
171 gpio-export,name = "wndap6x0:internal-antenna";
172 gpio-export,output = <1>;
173 gpios = <&GPIO0 11 GPIO_ACTIVE_HIGH>;
177 gpio-export,name = "wndap6x0:external-antenna";
178 gpio-export,output = <0>;
179 gpios = <&GPIO0 14 GPIO_ACTIVE_HIGH>;
184 * Input pin describing what powers the AP
186 * 1/High = 12v mains powered
188 gpio-export,name = "wndap620:mains-powered";
189 gpios = <&GPIO0 3 GPIO_ACTIVE_HIGH>;
194 compatible = "realtek,rtl8367b";
196 realtek,extif0 = <1 2 1 1 1 1 1 1 2>;
213 compatible = "atmel,24c04";