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>;
51 reg = <0x00100000 0x00010000>;
57 reg = <0x00110000 0x01ac0000>;
62 * The u-boot bootloader will look at this
63 * offset (0x110000) for an uImage binary.
66 reg = <0x00110000 0x005f0000>;
71 reg = <0x00700000 0x014d0000>;
76 * original vendor device-tree - do not use or
77 * overwrite. The original u-boot also supports
78 * the gzipped legacy monolithic/Multi-File Image
79 * format, which is a better choice.
81 label = "device-tree";
82 reg = <0x01bd0000 0x0010000>;
88 reg = <0x01be0000 0x00400000>;
94 reg = <0x01fe0000 0x00020000>;
120 #address-cells = <1>;
127 compatible = "gpio-keys";
130 label = "Reset Button";
131 gpios = <&GPIO0 16 GPIO_ACTIVE_LOW>;
132 linux,code = <KEY_RESTART>;
133 interrupt-parent = <&UIC1>;
134 interrupts = <0x15 IRQ_TYPE_EDGE_FALLING>;
135 debounce-interval = <60>;
140 compatible = "gpio-leds";
143 color = <LED_COLOR_ID_GREEN>;
144 function = LED_FUNCTION_POWER;
145 gpios = <&GPIO0 18 GPIO_ACTIVE_HIGH>;
149 color = <LED_COLOR_ID_AMBER>;
150 function = LED_FUNCTION_FAULT;
151 gpios = <&GPIO0 17 GPIO_ACTIVE_HIGH>;
156 color = <LED_COLOR_ID_GREEN>;
157 function = LED_FUNCTION_LAN;
158 function-enumerator = <0>;
159 gpios = <&GPIO0 21 GPIO_ACTIVE_HIGH>;
163 color = <LED_COLOR_ID_GREEN>;
164 function = LED_FUNCTION_WLAN;
165 function-enumerator = <0>;
166 gpios = <&GPIO0 19 GPIO_ACTIVE_HIGH>;
170 color = <LED_COLOR_ID_GREEN>;
171 function = LED_FUNCTION_WLAN;
172 function-enumerator = <1>;
173 gpios = <&GPIO0 20 GPIO_ACTIVE_HIGH>;
178 compatible = "gpio-export";
181 gpio-export,name = "wndap6x0:internal-antenna";
182 gpio-export,output = <1>;
183 gpios = <&GPIO0 11 GPIO_ACTIVE_HIGH>;
187 gpio-export,name = "wndap6x0:external-antenna";
188 gpio-export,output = <0>;
189 gpios = <&GPIO0 14 GPIO_ACTIVE_HIGH>;
194 * Input pin describing what powers the AP
196 * 1/High = 12v mains powered
198 gpio-export,name = "wndap620:mains-powered";
199 gpios = <&GPIO0 3 GPIO_ACTIVE_HIGH>;
204 compatible = "realtek,rtl8367b";
206 realtek,extif0 = <1 2 1 1 1 1 1 1 2>;
219 compatible = "atmel,24c04";