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 */
41 reg = <0x00000000 0x00100000>;
47 reg = <0x00100000 0x00010000>;
53 reg = <0x00110000 0x01ac0000>;
58 * The u-boot bootloader will look at this
59 * offset (0x110000) for an uImage binary.
62 reg = <0x00110000 0x003f0000>;
67 reg = <0x00500000 0x016d0000>;
72 * original vendor device-tree - do not use or
73 * overwrite. The original u-boot also supports
74 * the gzipped legacy monolithic/Multi-File Image
75 * format, which is a better choice.
77 label = "device-tree";
78 reg = <0x01bd0000 0x0010000>;
84 reg = <0x01be0000 0x0400000>;
90 reg = <0x01fe0000 0x20000 >;
116 #address-cells = <1>;
123 compatible = "gpio-keys";
126 label = "Reset Button";
127 gpios = <&GPIO0 16 GPIO_ACTIVE_LOW>;
128 linux,code = <KEY_RESTART>;
129 interrupt-parent = <&UIC1>;
130 interrupts = <0x15 IRQ_TYPE_EDGE_FALLING>;
131 debounce-interval = <60>;
136 compatible = "gpio-leds";
139 label = "wndap6x0:green:power";
140 gpios = <&GPIO0 18 GPIO_ACTIVE_HIGH>;
144 label = "wndap6x0:amber:test";
145 gpios = <&GPIO0 17 GPIO_ACTIVE_HIGH>;
150 label = "wndap6x0:green:activity";
151 gpios = <&GPIO0 21 GPIO_ACTIVE_HIGH>;
155 label = "wndap6x0:green:wlan2g";
156 gpios = <&GPIO0 19 GPIO_ACTIVE_HIGH>;
160 label = "wndap6x0:green:wlan5g";
161 gpios = <&GPIO0 20 GPIO_ACTIVE_HIGH>;
166 compatible = "gpio-export";
169 gpio-export,name = "wndap6x0:internal-antenna";
170 gpio-export,output = <1>;
171 gpios = <&GPIO0 11 GPIO_ACTIVE_HIGH>;
175 gpio-export,name = "wndap6x0:external-antenna";
176 gpio-export,output = <0>;
177 gpios = <&GPIO0 14 GPIO_ACTIVE_HIGH>;
182 * Input pin describing what powers the AP
184 * 1/High = 12v mains powered
186 gpio-export,name = "wndap620:mains-powered";
187 gpios = <&GPIO0 3 GPIO_ACTIVE_HIGH>;
192 compatible = "realtek,rtl8367b";
194 realtek,extif0 = <1 2 1 1 1 1 1 1 2>;
211 compatible = "atmel,24c04";