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>;
65 phy1: ethernet-phy@1 {
76 nvmem-cells = <&macaddr_art_0>;
77 nvmem-cell-names = "mac-address";
84 compatible = "jedec,spi-nor";
86 spi-max-frequency = <50000000>;
89 compatible = "fixed-partitions";
100 label = "u-boot-env";
101 reg = <0x40000 0x010000>;
106 compatible = "denx,uimage";
108 reg = <0x50000 0x790000>;
113 reg = <0x7e0000 0x010000>;
117 art: partition@7f0000 {
119 reg = <0x7f0000 0x010000>;
130 compatible = "pci168c,0029";
131 reg = <0x8800 0 0 0 0>;
133 nvmem-cells = <&macaddr_art_120c>;
134 nvmem-cell-names = "mac-address";
140 compatible = "pci168c,0029";
141 reg = <0x9000 0 0 0 0>;
143 nvmem-cells = <&macaddr_art_520c>;
144 nvmem-cell-names = "mac-address";
145 mac-address-increment = <1>;
153 compatible = "nvmem-cells";
154 #address-cells = <1>;
157 macaddr_art_0: macaddr@0 {
161 macaddr_art_120c: macaddr@120c {
165 macaddr_art_520c: macaddr@520c {