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 = "moxa,awk-1137c", "qca,ar9344";
11 model = "MOXA AWK-1137C";
14 led-boot = &led_status_red;
15 led-failsafe = &led_status_red;
16 led-running = &led_status_green;
17 led-upgrade = &led_status_red;
18 label-mac-device = ð1;
22 compatible = "gpio-keys";
26 linux,code = <KEY_RESTART>;
27 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
32 compatible = "gpio-leds";
34 pinctrl-names = "default";
36 led_status_green: led-0 {
37 label = "green:status";
38 color = <LED_COLOR_ID_GREEN>;
39 function = LED_FUNCTION_STATUS;
40 function-enumerator = <0>;
41 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
44 led_status_red: led-1 {
46 color = <LED_COLOR_ID_RED>;
47 function = LED_FUNCTION_STATUS;
48 function-enumerator = <1>;
49 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
54 color = <LED_COLOR_ID_GREEN>;
55 function = LED_FUNCTION_WLAN;
56 function-enumerator = <0>;
57 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
58 linux,default-trigger = "phy0tpt";
63 color = <LED_COLOR_ID_GREEN>;
64 function = LED_FUNCTION_WAN;
65 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
70 color = <LED_COLOR_ID_GREEN>;
71 function = LED_FUNCTION_LAN;
72 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
76 label = "yellow:wifi";
77 color = <LED_COLOR_ID_YELLOW>;
78 function = LED_FUNCTION_WLAN;
79 function-enumerator = <1>;
80 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
81 linux,default-trigger = "phy0assoc";
87 clock-frequency = <40000000>;
94 compatible = "jedec,spi-nor";
96 spi-max-frequency = <40000000>;
99 compatible = "fixed-partitions";
100 #address-cells = <1>;
105 reg = <0x000000 0x040000>;
110 label = "u-boot-env";
111 reg = <0x040000 0x010000>;
116 reg = <0x050000 0xe00000>;
117 compatible = "denx,uimage";
122 reg = <0xe50000 0x020000>;
128 reg = <0xe70000 0x020000>;
134 reg = <0xe90000 0x020000>;
140 reg = <0xeb0000 0x020000>;
146 reg = <0xed0000 0x020000>;
151 label = "config-data";
152 reg = <0xef0000 0x0c0000>;
158 reg = <0xfb0000 0x030000>;
162 art: partition@fe0000 {
164 reg = <0xfe0000 0x010000>;
170 reg = <0xff0000 0x010000>;