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-e5", "qca,qca9531";
10 model = "COMFAST CF-E5/E7";
13 label-mac-device = ð0;
17 compatible = "gpio-keys";
21 linux,code = <KEY_RESTART>;
22 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
27 compatible = "gpio-leds";
28 pinctrl-names = "default";
29 pinctrl-0 = <&jtag_disable_pins &led_wan_pin>;
33 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
38 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
43 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
44 linux,default-trigger = "phy0tpt";
49 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
54 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
59 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
76 compatible = "jedec,spi-nor";
78 spi-max-frequency = <25000000>;
81 compatible = "fixed-partitions";
87 reg = <0x000000 0x010000>;
91 art: partition@10000 {
93 reg = <0x010000 0x010000>;
97 compatible = "fixed-layout";
101 macaddr_art_0: macaddr@0 {
105 macaddr_art_6: macaddr@6 {
112 compatible = "denx,uimage";
114 reg = <0x020000 0xfd0000>;
118 label = "art-backup";
119 reg = <0xff0000 0x010000>;
129 phy-handle = <&swphy4>;
131 nvmem-cells = <&macaddr_art_0>;
132 nvmem-cell-names = "mac-address";
136 nvmem-cells = <&macaddr_art_6>;
137 nvmem-cell-names = "mac-address";
143 mtd-cal-data = <&art 0x1000>;
147 led_wan_pin: pinmux_led_wan_pin {
148 pinctrl-single,bits = <0x4 0x0 0xff>;