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-ew71-v2", "qca,qca9531";
11 model = "COMFAST CF-EW71 v2";
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>;
75 compatible = "winbond,w25q128", "jedec,spi-nor";
77 spi-max-frequency = <25000000>;
80 compatible = "fixed-partitions";
86 reg = <0x000000 0x010000>;
90 art: partition@10000 {
92 reg = <0x010000 0x010000>;
96 compatible = "fixed-layout";
100 macaddr_art_0: macaddr@0 {
101 compatible = "mac-base";
103 #nvmem-cell-cells = <1>;
109 compatible = "denx,uimage";
111 reg = <0x020000 0xfd0000>;
116 reg = <0xff0000 0x010000>;
126 phy-handle = <&swphy4>;
128 nvmem-cells = <&macaddr_art_0 1>;
129 nvmem-cell-names = "mac-address";
133 nvmem-cells = <&macaddr_art_0 0>;
134 nvmem-cell-names = "mac-address";
140 mtd-cal-data = <&art 0x1000>;
141 nvmem-cells = <&macaddr_art_0 3>;
142 nvmem-cell-names = "mac-address";