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>;
59 compatible = "fixed-partitions";
65 * The u-boot bootloader will look at this
66 * offset (0x110000) for an uImage binary.
69 reg = <0x00000000 0x005f0000>;
74 reg = <0x005f0000 0x014d0000>;
80 * original vendor device-tree - do not use or
81 * overwrite. The original u-boot also supports
82 * the gzipped legacy monolithic/Multi-File Image
83 * format, which is a better choice.
85 label = "device-tree";
86 reg = <0x01bd0000 0x0010000>;
92 reg = <0x01be0000 0x00400000>;
98 reg = <0x01fe0000 0x00020000>;
124 #address-cells = <1>;
131 compatible = "gpio-keys";
134 label = "Reset Button";
135 gpios = <&GPIO0 16 GPIO_ACTIVE_LOW>;
136 linux,code = <KEY_RESTART>;
137 interrupt-parent = <&UIC1>;
138 interrupts = <0x15 IRQ_TYPE_EDGE_FALLING>;
139 debounce-interval = <60>;
144 compatible = "gpio-leds";
147 color = <LED_COLOR_ID_GREEN>;
148 function = LED_FUNCTION_POWER;
149 gpios = <&GPIO0 18 GPIO_ACTIVE_HIGH>;
153 color = <LED_COLOR_ID_AMBER>;
154 function = LED_FUNCTION_FAULT;
155 gpios = <&GPIO0 17 GPIO_ACTIVE_HIGH>;
160 color = <LED_COLOR_ID_GREEN>;
161 function = LED_FUNCTION_LAN;
162 function-enumerator = <0>;
163 gpios = <&GPIO0 21 GPIO_ACTIVE_HIGH>;
167 color = <LED_COLOR_ID_GREEN>;
168 function = LED_FUNCTION_WLAN;
169 function-enumerator = <0>;
170 gpios = <&GPIO0 19 GPIO_ACTIVE_HIGH>;
174 color = <LED_COLOR_ID_GREEN>;
175 function = LED_FUNCTION_WLAN;
176 function-enumerator = <1>;
177 gpios = <&GPIO0 20 GPIO_ACTIVE_HIGH>;
182 compatible = "gpio-export";
185 gpio-export,name = "wndap6x0:internal-antenna";
186 gpio-export,output = <1>;
187 gpios = <&GPIO0 11 GPIO_ACTIVE_HIGH>;
191 gpio-export,name = "wndap6x0:external-antenna";
192 gpio-export,output = <0>;
193 gpios = <&GPIO0 14 GPIO_ACTIVE_HIGH>;
198 * Input pin describing what powers the AP
200 * 1/High = 12v mains powered
202 gpio-export,name = "wndap620:mains-powered";
203 gpios = <&GPIO0 3 GPIO_ACTIVE_HIGH>;
208 compatible = "realtek,rtl8367b";
210 realtek,extif0 = <1 2 1 1 1 1 1 1 2>;
223 compatible = "atmel,24c04";