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>
9 compatible = "comfast,cf-ew72", "qca,qca9531";
10 model = "COMFAST CF-EW72";
15 led-failsafe = &led_wan;
16 led-upgrade = &led_wan;
20 compatible = "gpio-leds";
22 pinctrl-names = "default";
23 pinctrl-0 = <&jtag_disable_pins>;
27 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
32 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
37 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
38 linux,default-trigger = "phy0tpt";
43 compatible = "gpio-keys";
47 linux,code = <KEY_RESTART>;
48 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
49 debounce-interval = <60>;
54 compatible = "linux,wdt-gpio";
56 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
58 hw_margin_ms = <1200>;
71 compatible = "winbond,w25q128", "jedec,spi-nor";
73 spi-max-frequency = <25000000>;
76 compatible = "fixed-partitions";
82 reg = <0x000000 0x010000>;
86 art: partition@10000 {
88 reg = <0x010000 0x010000>;
92 compatible = "fixed-layout";
96 macaddr_art_0: macaddr@0 {
97 compatible = "mac-base";
99 #nvmem-cell-cells = <1>;
105 compatible = "denx,uimage";
107 reg = <0x020000 0xfd0000>;
112 reg = <0xff0000 0x010000>;
122 phy-handle = <&swphy4>;
124 nvmem-cells = <&macaddr_art_0 1>;
125 nvmem-cell-names = "mac-address";
129 nvmem-cells = <&macaddr_art_0 0>;
130 nvmem-cell-names = "mac-address";
136 mtd-cal-data = <&art 0x1000>;
137 nvmem-cells = <&macaddr_art_0 3>;
138 nvmem-cell-names = "mac-address";