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-e313ac", "qca,qca9531";
11 model = "COMFAST CF-E313AC";
16 led-failsafe = &rssihigh;
17 led-upgrade = &rssihigh;
18 label-mac-device = ð1;
22 compatible = "gpio-leds";
23 pinctrl-names = "default";
26 label = "cf-e313ac:green:wlan";
27 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
28 linux,default-trigger = "phy0tpt";
32 label = "cf-e313ac:green:lan";
33 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
37 label = "cf-e313ac:green:wan";
38 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
42 label = "cf-e313ac:red:rssilow";
43 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
47 label = "cf-e313ac:red:rssimediumlow";
48 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
52 label = "cf-e313ac:green:rssimediumhigh";
53 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
57 label = "cf-e313ac:green:rssihigh";
58 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
63 compatible = "gpio-keys";
67 linux,code = <KEY_RESTART>;
68 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
69 debounce-interval = <60>;
79 compatible = "jedec,spi-nor";
81 spi-max-frequency = <25000000>;
84 compatible = "fixed-partitions";
90 reg = <0x000000 0x010000>;
94 art: partition@10000 {
96 reg = <0x010000 0x010000>;
101 compatible = "denx,uimage";
103 reg = <0x020000 0x7c0000>;
108 reg = <0x7e0000 0x010000>;
114 reg = <0x7f0000 0x010000>;
127 phy-handle = <&swphy0>;
128 mtd-mac-address = <&art 0x1002>;
132 switch-phy-swap = <1>;
138 mtd-mac-address = <&art 0x0>;
145 compatible = "qcom,ath10k";