1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "netgear,wndap360", "qca,ar7161";
10 model = "Netgear WNDAP360";
13 led-boot = &led_power_orange;
14 led-failsafe = &led_power_orange;
15 led-running = &led_power_orange;
16 led-upgrade = &led_power_orange;
20 compatible = "gpio-leds";
22 led_power_orange: power_orange {
23 label = "orange:power";
24 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
29 compatible = "gpio-leds";
32 label = "green:wlan2g";
33 gpios = <&ath9k0 5 GPIO_ACTIVE_LOW>;
34 linux,default-trigger = "phy0tpt";
38 label = "green:wlan5g";
39 gpios = <&ath9k1 5 GPIO_ACTIVE_LOW>;
40 linux,default-trigger = "phy1tpt";
45 compatible = "gpio-keys";
49 linux,code = <KEY_RESTART>;
50 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
58 phy1: ethernet-phy@1 {
69 nvmem-cells = <&macaddr_art_0>;
70 nvmem-cell-names = "mac-address";
77 compatible = "jedec,spi-nor";
79 spi-max-frequency = <50000000>;
82 compatible = "fixed-partitions";
94 reg = <0x40000 0x010000>;
99 compatible = "denx,uimage";
101 reg = <0x50000 0x790000>;
106 reg = <0x7e0000 0x010000>;
112 reg = <0x7f0000 0x010000>;
116 compatible = "fixed-layout";
117 #address-cells = <1>;
120 macaddr_art_0: macaddr@0 {
124 macaddr_art_120c: macaddr@120c {
128 macaddr_art_520c: macaddr@520c {
129 compatible = "mac-base";
131 #nvmem-cell-cells = <1>;
134 calibration_art_1000: calibration@1000 {
135 reg = <0x1000 0xeb8>;
138 calibration_art_5000: calibration@5000 {
139 reg = <0x5000 0xeb8>;
151 compatible = "pci168c,0029";
152 reg = <0x8800 0 0 0 0>;
153 nvmem-cells = <&macaddr_art_120c>, <&calibration_art_1000>;
154 nvmem-cell-names = "mac-address", "calibration";
160 compatible = "pci168c,0029";
161 reg = <0x9000 0 0 0 0>;
162 nvmem-cells = <&macaddr_art_520c 1>, <&calibration_art_5000>;
163 nvmem-cell-names = "mac-address", "calibration";