1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qca953x.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/leds/common.h>
10 compatible = "comfast,cf-e560ac", "qca,qca9531";
11 model = "COMFAST CF-E560AC";
15 label-mac-device = ð1;
16 led-boot = &led_system;
17 led-failsafe = &led_system;
18 led-upgrade = &led_system;
22 compatible = "gpio-keys";
26 linux,code = <KEY_RESTART>;
27 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
28 debounce-interval = <60>;
33 compatible = "gpio-leds";
35 pinctrl-names = "default";
36 pinctrl-0 = <&jtag_disable_pins>;
40 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
45 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
50 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
55 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
59 label = "blue:system";
60 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
64 function = LED_FUNCTION_WAN;
65 color = <LED_COLOR_ID_BLUE>;
66 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
70 function = LED_FUNCTION_WLAN;
71 color = <LED_COLOR_ID_BLUE>;
72 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
73 linux,default-trigger = "phy0tpt";
78 compatible = "linux,wdt-gpio";
79 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
81 hw_margin_ms = <1200>;
90 compatible = "jedec,spi-nor";
92 spi-max-frequency = <25000000>;
95 compatible = "fixed-partitions";
101 reg = <0x000000 0x010000>;
105 art: partition@10000 {
107 reg = <0x010000 0x010000>;
111 compatible = "fixed-layout";
112 #address-cells = <1>;
115 macaddr_art_0: macaddr@0 {
116 compatible = "mac-base";
118 #nvmem-cell-cells = <1>;
121 precal_art_5000: pre-calibration@5000 {
122 reg = <0x5000 0x2f20>;
128 compatible = "denx,uimage";
130 reg = <0x020000 0xfc0000>;
135 reg = <0xfe0000 0x010000>;
141 reg = <0xff0000 0x010000>;
152 compatible = "qcom,ath10k";
153 reg = <0x0000 0 0 0 0>;
154 nvmem-cells = <&precal_art_5000>, <&macaddr_art_0 2>;
155 nvmem-cell-names = "pre-calibration", "mac-address";
170 phy-handle = <&swphy4>;
172 nvmem-cells = <&macaddr_art_0 1>;
173 nvmem-cell-names = "mac-address";
177 nvmem-cells = <&macaddr_art_0 0>;
178 nvmem-cell-names = "mac-address";
184 mtd-cal-data = <&art 0x1000>;
185 nvmem-cells = <&macaddr_art_0 10>;
186 nvmem-cell-names = "mac-address";