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 mtd-mac-address = <&art 0x0>;
94 phy-handle = <&swphy4>;
100 mtd-mac-address = <&art 0x6>;
104 clock-frequency = <40000000>;
111 compatible = "jedec,spi-nor";
113 spi-max-frequency = <50000000>;
117 compatible = "fixed-partitions";
118 #address-cells = <1>;
123 reg = <0x000000 0x060000>;
128 label = "u-boot-env";
129 reg = <0x060000 0x010000>;
132 art: partition@70000 {
134 reg = <0x070000 0x010000>;
139 compatible = "denx,uimage";
141 reg = <0x080000 0xf80000>;
150 mtd-cal-data = <&art 0x1000>;