1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
7 #include "qca953x.dtsi"
10 compatible = "comfast,cf-e5", "qca,qca9531";
11 model = "COMFAST CF-E5/E7";
14 label-mac-device = ð0;
18 compatible = "gpio-keys-polled";
23 linux,code = <KEY_RESTART>;
24 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
29 compatible = "gpio-leds";
30 pinctrl-names = "default";
31 pinctrl-0 = <&jtag_disable_pins &led_wan_pin>;
34 label = "cf-e5:blue:wan";
35 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
39 label = "cf-e5:blue:lan";
40 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
44 label = "cf-e5:blue:wlan";
45 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
46 linux,default-trigger = "phy0tpt";
50 label = "cf-e5:blue:rssi0";
51 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
55 label = "cf-e5:blue:rssi1";
56 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
60 label = "cf-e5:blue:rssi2";
61 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
77 #trigger-source-cells = <0>;
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>;
112 compatible = "denx,uimage";
114 reg = <0x020000 0xfd0000>;
118 label = "art-backup";
119 reg = <0xff0000 0x010000>;
128 mtd-mac-address = <&art 0x0>;
129 phy-handle = <&swphy4>;
133 mtd-mac-address = <&art 0x6>;
138 mtd-cal-data = <&art 0x1000>;
142 led_wan_pin: pinmux_led_wan_pin {
143 pinctrl-single,bits = <0x4 0x0 0xff>;