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>
7 #include <dt-bindings/leds/common.h>
10 compatible = "comfast,cf-e313ac", "qca,qca9531";
11 model = "COMFAST CF-E313AC";
15 led-boot = &led_rssihigh;
16 led-failsafe = &led_rssihigh;
17 led-upgrade = &led_rssihigh;
18 label-mac-device = ð1;
22 compatible = "gpio-leds";
23 pinctrl-names = "default";
26 function = LED_FUNCTION_WLAN;
27 color = <LED_COLOR_ID_GREEN>;
28 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
29 linux,default-trigger = "phy0tpt";
33 function = LED_FUNCTION_LAN;
34 color = <LED_COLOR_ID_GREEN>;
35 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
39 function = LED_FUNCTION_WAN;
40 color = <LED_COLOR_ID_GREEN>;
41 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
45 label = "red:rssilow";
46 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
50 label = "red:rssimediumlow";
51 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
55 label = "green:rssimediumhigh";
56 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
59 led_rssihigh: rssihigh {
60 label = "green:rssihigh";
61 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
66 compatible = "gpio-keys";
70 linux,code = <KEY_RESTART>;
71 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
72 debounce-interval = <60>;
81 compatible = "jedec,spi-nor";
83 spi-max-frequency = <25000000>;
86 compatible = "fixed-partitions";
92 reg = <0x000000 0x010000>;
98 reg = <0x010000 0x010000>;
102 compatible = "fixed-layout";
103 #address-cells = <1>;
106 macaddr_art_0: macaddr@0 {
110 macaddr_art_6: macaddr@6 {
114 macaddr_art_1002: macaddr@1002 {
118 precal_art_5000: pre-calibration@5000 {
119 reg = <0x5000 0x2f20>;
125 compatible = "denx,uimage";
127 reg = <0x020000 0x7c0000>;
132 reg = <0x7e0000 0x010000>;
138 reg = <0x7f0000 0x010000>;
148 phy-handle = <&swphy0>;
150 nvmem-cells = <&macaddr_art_1002>;
151 nvmem-cell-names = "mac-address";
155 switch-phy-swap = <1>;
160 nvmem-cells = <&macaddr_art_0>;
161 nvmem-cell-names = "mac-address";
168 compatible = "qcom,ath10k";
170 nvmem-cells = <&precal_art_5000>, <&macaddr_art_6>;
171 nvmem-cell-names = "pre-calibration", "mac-address";