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 = "fixed-clock";
22 clock-output-names = "ref";
23 clock-frequency = <40000000>;
27 compatible = "gpio-leds";
29 led_power_orange: power_orange {
30 label = "orange:power";
31 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
36 compatible = "gpio-leds";
39 label = "green:wlan2g";
40 gpios = <&ath9k0 5 GPIO_ACTIVE_LOW>;
41 linux,default-trigger = "phy0tpt";
45 label = "green:wlan5g";
46 gpios = <&ath9k1 5 GPIO_ACTIVE_LOW>;
47 linux,default-trigger = "phy1tpt";
52 compatible = "gpio-keys";
56 linux,code = <KEY_RESTART>;
57 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
66 phy1: ethernet-phy@1 {
77 nvmem-cells = <&macaddr_art_0>;
78 nvmem-cell-names = "mac-address";
85 compatible = "jedec,spi-nor";
87 spi-max-frequency = <50000000>;
90 compatible = "fixed-partitions";
101 label = "u-boot-env";
102 reg = <0x40000 0x010000>;
107 compatible = "denx,uimage";
109 reg = <0x50000 0x790000>;
114 reg = <0x7e0000 0x010000>;
118 art: partition@7f0000 {
120 reg = <0x7f0000 0x010000>;
131 compatible = "pci168c,0029";
132 reg = <0x8800 0 0 0 0>;
134 nvmem-cells = <&macaddr_art_120c>;
135 nvmem-cell-names = "mac-address";
141 compatible = "pci168c,0029";
142 reg = <0x9000 0 0 0 0>;
144 nvmem-cells = <&macaddr_art_520c>;
145 nvmem-cell-names = "mac-address";
146 mac-address-increment = <1>;
154 compatible = "nvmem-cells";
155 #address-cells = <1>;
158 macaddr_art_0: macaddr@0 {
162 macaddr_art_120c: macaddr@120c {
166 macaddr_art_520c: macaddr@520c {