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 compatible = "gpio-keys-polled";
19 linux,code = <KEY_RESTART>;
20 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
25 compatible = "gpio-leds";
26 pinctrl-names = "default";
27 pinctrl-0 = <&jtag_disable_pins &led_wan_pin>;
30 label = "cf-e5:blue:wan";
31 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
35 label = "cf-e5:blue:lan";
36 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
40 label = "cf-e5:blue:wlan";
41 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
42 linux,default-trigger = "phy0tpt";
46 label = "cf-e5:blue:rssi0";
47 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
51 label = "cf-e5:blue:rssi1";
52 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
56 label = "cf-e5:blue:rssi2";
57 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
73 #trigger-source-cells = <0>;
86 compatible = "jedec,spi-nor";
88 spi-max-frequency = <25000000>;
91 compatible = "fixed-partitions";
97 reg = <0x000000 0x010000>;
101 art: partition@10000 {
103 reg = <0x010000 0x010000>;
108 compatible = "denx,uimage";
110 reg = <0x020000 0xfd0000>;
114 label = "art-backup";
115 reg = <0xff0000 0x010000>;
124 mtd-mac-address = <&art 0x0>;
125 phy-handle = <&swphy4>;
129 mtd-mac-address = <&art 0x6>;
134 mtd-cal-data = <&art 0x1000>;
138 led_wan_pin: pinmux_led_wan_pin {
139 pinctrl-single,bits = <0x4 0x0 0xff>;