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 model = "ALFA Network N5Q";
10 compatible = "alfa-network,n5q", "qca,ar9344";
13 label-mac-device = &wmac;
14 led-boot = &led_signal4;
15 led-failsafe = &led_signal4;
16 led-upgrade = &led_signal4;
20 compatible = "gpio-export";
24 gpio-export,name = "watchdog-enable";
25 gpio-export,output = <1>;
26 gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
31 compatible = "gpio-keys";
35 linux,code = <KEY_RESTART>;
36 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
37 debounce-interval = <60>;
42 compatible = "gpio-leds";
46 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
51 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
54 led_signal4: signal4 {
55 label = "green:signal4";
56 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
60 label = "red:signal1";
61 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
65 label = "orange:signal2";
66 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
70 label = "green:signal3";
71 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
76 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
77 linux,default-trigger = "phy0tpt";
82 compatible = "linux,wdt-gpio";
83 gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
85 hw_margin_ms = <25000>;
93 nvmem-cells = <&macaddr_art_0>;
94 nvmem-cell-names = "mac-address";
95 phy-handle = <&swphy4>;
101 nvmem-cells = <&macaddr_art_6>;
102 nvmem-cell-names = "mac-address";
106 clock-frequency = <40000000>;
113 compatible = "jedec,spi-nor";
115 spi-max-frequency = <50000000>;
119 compatible = "fixed-partitions";
120 #address-cells = <1>;
125 reg = <0x000000 0x060000>;
130 label = "u-boot-env";
131 reg = <0x060000 0x010000>;
136 reg = <0x070000 0x010000>;
139 compatible = "nvmem-cells";
140 #address-cells = <1>;
143 cal_art_1000: cal@1000 {
144 reg = <0x1000 0x440>;
147 macaddr_art_0: macaddr@0 {
151 macaddr_art_6: macaddr@6 {
155 macaddr_art_1002: macaddr@1002 {
161 compatible = "denx,uimage";
163 reg = <0x080000 0xf80000>;
172 nvmem-cells = <&cal_art_1000>, <&macaddr_art_1002>;
173 nvmem-cell-names = "calibration", "mac-address";