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";
34 /* 32 MiB SLC NAND Flash */
40 reg = <0x00000000 0x00100000>;
46 reg = <0x00100000 0x00010000>;
52 reg = <0x00110000 0x01ac0000>;
57 * The u-boot bootloader will look at this
58 * offset (0x110000) for an uImage binary.
61 reg = <0x00110000 0x005f0000>;
66 reg = <0x00700000 0x014d0000>;
71 * original vendor device-tree - do not use or
72 * overwrite. The original u-boot also supports
73 * the gzipped legacy monolithic/Multi-File Image
74 * format, which is a better choice.
76 label = "device-tree";
77 reg = <0x01bd0000 0x0010000>;
83 reg = <0x01be0000 0x00400000>;
89 reg = <0x01fe0000 0x00020000>;
115 #address-cells = <1>;
122 compatible = "gpio-keys";
125 label = "Reset Button";
126 gpios = <&GPIO0 16 GPIO_ACTIVE_LOW>;
127 linux,code = <KEY_RESTART>;
128 interrupt-parent = <&UIC1>;
129 interrupts = <0x15 IRQ_TYPE_EDGE_FALLING>;
130 debounce-interval = <60>;
135 compatible = "gpio-leds";
138 color = <LED_COLOR_ID_GREEN>;
139 function = LED_FUNCTION_POWER;
140 gpios = <&GPIO0 18 GPIO_ACTIVE_HIGH>;
144 color = <LED_COLOR_ID_AMBER>;
145 function = LED_FUNCTION_FAULT;
146 gpios = <&GPIO0 17 GPIO_ACTIVE_HIGH>;
151 color = <LED_COLOR_ID_GREEN>;
152 function = LED_FUNCTION_LAN;
153 function-enumerator = <0>;
154 gpios = <&GPIO0 21 GPIO_ACTIVE_HIGH>;
158 color = <LED_COLOR_ID_GREEN>;
159 function = LED_FUNCTION_WLAN;
160 function-enumerator = <0>;
161 gpios = <&GPIO0 19 GPIO_ACTIVE_HIGH>;
165 color = <LED_COLOR_ID_GREEN>;
166 function = LED_FUNCTION_WLAN;
167 function-enumerator = <1>;
168 gpios = <&GPIO0 20 GPIO_ACTIVE_HIGH>;
173 compatible = "gpio-export";
176 gpio-export,name = "wndap6x0:internal-antenna";
177 gpio-export,output = <1>;
178 gpios = <&GPIO0 11 GPIO_ACTIVE_HIGH>;
182 gpio-export,name = "wndap6x0:external-antenna";
183 gpio-export,output = <0>;
184 gpios = <&GPIO0 14 GPIO_ACTIVE_HIGH>;
189 * Input pin describing what powers the AP
191 * 1/High = 12v mains powered
193 gpio-export,name = "wndap620:mains-powered";
194 gpios = <&GPIO0 3 GPIO_ACTIVE_HIGH>;
199 compatible = "realtek,rtl8367b";
201 realtek,extif0 = <1 2 1 1 1 1 1 1 2>;
214 compatible = "atmel,24c04";