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-ew72", "qca,qca9531";
11 model = "COMFAST CF-EW72";
16 led-failsafe = &led_wan;
17 led-upgrade = &led_wan;
21 compatible = "gpio-leds";
23 pinctrl-names = "default";
24 pinctrl-0 = <&jtag_disable_pins>;
27 function = LED_FUNCTION_LAN;
28 color = <LED_COLOR_ID_BLUE>;
29 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
33 function = LED_FUNCTION_WAN;
34 color = <LED_COLOR_ID_BLUE>;
35 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
39 function = LED_FUNCTION_WLAN;
40 color = <LED_COLOR_ID_BLUE>;
41 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
42 linux,default-trigger = "phy0tpt";
47 compatible = "gpio-keys";
51 linux,code = <KEY_RESTART>;
52 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
53 debounce-interval = <60>;
58 compatible = "linux,wdt-gpio";
60 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
62 hw_margin_ms = <1200>;
71 compatible = "qcom,ath10k";
72 reg = <0x0000 0 0 0 0>;
73 nvmem-cells = <&precal_art_5000>, <&macaddr_art_0 2>;
74 nvmem-cell-names = "pre-calibration", "mac-address";
82 compatible = "winbond,w25q128", "jedec,spi-nor";
84 spi-max-frequency = <25000000>;
87 compatible = "fixed-partitions";
93 reg = <0x000000 0x010000>;
97 art: partition@10000 {
99 reg = <0x010000 0x010000>;
103 compatible = "fixed-layout";
104 #address-cells = <1>;
107 macaddr_art_0: macaddr@0 {
108 compatible = "mac-base";
110 #nvmem-cell-cells = <1>;
113 precal_art_5000: pre-calibration@5000 {
114 reg = <0x5000 0x2f20>;
120 compatible = "denx,uimage";
122 reg = <0x020000 0xfd0000>;
127 reg = <0xff0000 0x010000>;
137 phy-handle = <&swphy4>;
139 nvmem-cells = <&macaddr_art_0 1>;
140 nvmem-cell-names = "mac-address";
144 nvmem-cells = <&macaddr_art_0 0>;
145 nvmem-cell-names = "mac-address";
151 mtd-cal-data = <&art 0x1000>;
152 nvmem-cells = <&macaddr_art_0 3>;
153 nvmem-cell-names = "mac-address";