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>
8 #include <dt-bindings/mtd/partitions/uimage.h>
12 led-boot = &led_power;
13 led-failsafe = &led_power;
14 led-running = &led_power;
15 led-upgrade = &led_power;
16 label-mac-device = ð1;
20 compatible = "gpio-keys-polled";
25 linux,code = <KEY_RESTART>;
26 gpios = <&ath9k 7 GPIO_ACTIVE_LOW>;
27 debounce-interval = <60>;
32 compatible = "gpio-leds";
34 pinctrl-names = "default";
35 pinctrl-0 = <&jtag_disable_pins &switch_led_disable_pins &clks_disable_pins>;
38 function = LED_FUNCTION_POWER;
39 color = <LED_COLOR_ID_GREEN>;
40 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
45 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
50 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
54 function = LED_FUNCTION_WAN;
55 color = <LED_COLOR_ID_GREEN>;
56 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
61 compatible = "gpio-leds";
64 function = LED_FUNCTION_WLAN;
65 color = <LED_COLOR_ID_GREEN>;
66 gpios = <&ath9k 1 GPIO_ACTIVE_LOW>;
67 linux,default-trigger = "phy0tpt";
76 compatible = "jedec,spi-nor";
78 spi-max-frequency = <25000000>;
81 compatible = "fixed-partitions";
92 reg = <0x40000 0x10000>;
97 compatible = "openwrt,uimage", "denx,uimage";
98 openwrt,ih-magic = <0x32303631>;
99 openwrt,ih-type = <IH_TYPE_FILESYSTEM>;
100 reg = <0x50000 0x3a0000>;
104 art: partition@3f0000 {
105 reg = <0x3f0000 0x10000>;
110 compatible = "fixed-layout";
111 #address-cells = <1>;
114 macaddr_art_0: macaddr@0 {
115 compatible = "mac-base";
117 #nvmem-cell-cells = <1>;
120 macaddr_art_6: macaddr@6 {
130 nvmem-cells = <&macaddr_art_0 0>;
131 nvmem-cell-names = "mac-address";
137 nvmem-cells = <&macaddr_art_6>;
138 nvmem-cell-names = "mac-address";
145 compatible = "pci168c,002b";
146 reg = <0x0000 0 0 0 0>;
147 nvmem-cells = <&macaddr_art_0 1>;
148 nvmem-cell-names = "mac-address";