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 model = "ALFA Network N5Q";
11 compatible = "alfa-network,n5q", "qca,ar9344";
14 label-mac-device = &wmac;
15 led-boot = &led_signal4;
16 led-failsafe = &led_signal4;
17 led-upgrade = &led_signal4;
21 compatible = "gpio-export";
25 gpio-export,name = "watchdog-enable";
26 gpio-export,output = <1>;
27 gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
32 compatible = "gpio-keys";
36 linux,code = <KEY_RESTART>;
37 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
38 debounce-interval = <60>;
43 compatible = "gpio-leds";
47 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
52 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
55 led_signal4: signal4 {
56 label = "green:signal4";
57 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
61 label = "red:signal1";
62 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
66 label = "orange:signal2";
67 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
71 label = "green:signal3";
72 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
76 function = LED_FUNCTION_WLAN;
77 color = <LED_COLOR_ID_GREEN>;
78 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
79 linux,default-trigger = "phy0tpt";
84 compatible = "linux,wdt-gpio";
85 gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
87 hw_margin_ms = <25000>;
95 nvmem-cells = <&macaddr_art_0>;
96 nvmem-cell-names = "mac-address";
97 phy-handle = <&swphy4>;
103 nvmem-cells = <&macaddr_art_6>;
104 nvmem-cell-names = "mac-address";
108 clock-frequency = <40000000>;
115 compatible = "jedec,spi-nor";
117 spi-max-frequency = <50000000>;
121 compatible = "fixed-partitions";
122 #address-cells = <1>;
127 reg = <0x000000 0x060000>;
132 label = "u-boot-env";
133 reg = <0x060000 0x010000>;
138 reg = <0x070000 0x010000>;
142 compatible = "fixed-layout";
143 #address-cells = <1>;
146 cal_art_1000: cal@1000 {
147 reg = <0x1000 0x440>;
150 macaddr_art_0: macaddr@0 {
154 macaddr_art_6: macaddr@6 {
158 macaddr_art_1002: macaddr@1002 {
165 compatible = "denx,uimage";
167 reg = <0x080000 0xf80000>;
176 nvmem-cells = <&cal_art_1000>, <&macaddr_art_1002>;
177 nvmem-cell-names = "calibration", "mac-address";