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>
7 #include <dt-bindings/leds/common.h>
10 compatible = "netgear,wndap360", "qca,ar7161";
11 model = "Netgear WNDAP360";
14 led-boot = &led_power_orange;
15 led-failsafe = &led_power_orange;
16 led-running = &led_power_orange;
17 led-upgrade = &led_power_orange;
21 compatible = "gpio-leds";
23 led_power_orange: power_orange {
24 function = LED_FUNCTION_POWER;
25 color = <LED_COLOR_ID_ORANGE>;
26 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
31 compatible = "gpio-leds";
34 label = "green:wlan2g";
35 gpios = <&ath9k0 5 GPIO_ACTIVE_LOW>;
36 linux,default-trigger = "phy0tpt";
40 label = "green:wlan5g";
41 gpios = <&ath9k1 5 GPIO_ACTIVE_LOW>;
42 linux,default-trigger = "phy1tpt";
47 compatible = "gpio-keys";
51 linux,code = <KEY_RESTART>;
52 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
60 phy1: ethernet-phy@1 {
71 nvmem-cells = <&macaddr_art_0>;
72 nvmem-cell-names = "mac-address";
79 compatible = "jedec,spi-nor";
81 spi-max-frequency = <50000000>;
84 compatible = "fixed-partitions";
96 reg = <0x40000 0x010000>;
101 compatible = "denx,uimage";
103 reg = <0x50000 0x790000>;
108 reg = <0x7e0000 0x010000>;
114 reg = <0x7f0000 0x010000>;
118 compatible = "fixed-layout";
119 #address-cells = <1>;
122 macaddr_art_0: macaddr@0 {
126 macaddr_art_120c: macaddr@120c {
130 macaddr_art_520c: macaddr@520c {
131 compatible = "mac-base";
133 #nvmem-cell-cells = <1>;
136 calibration_art_1000: calibration@1000 {
137 reg = <0x1000 0xeb8>;
140 calibration_art_5000: calibration@5000 {
141 reg = <0x5000 0xeb8>;
153 compatible = "pci168c,0029";
154 reg = <0x8800 0 0 0 0>;
155 nvmem-cells = <&macaddr_art_120c>, <&calibration_art_1000>;
156 nvmem-cell-names = "mac-address", "calibration";
162 compatible = "pci168c,0029";
163 reg = <0x9000 0 0 0 0>;
164 nvmem-cells = <&macaddr_art_520c 1>, <&calibration_art_5000>;
165 nvmem-cell-names = "mac-address", "calibration";