1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qca955x.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-e380ac-v2", "qca,qca9558";
11 model = "COMFAST CF-E380AC";
14 label-mac-device = ð1;
16 led-failsafe = &led_lan;
17 led-upgrade = &led_lan;
21 compatible = "gpio-keys";
25 linux,code = <KEY_RESTART>;
26 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
27 debounce-interval = <60>;
32 compatible = "gpio-leds";
34 pinctrl-names = "default";
35 pinctrl-0 = <&jtag_disable_pins>;
38 function = LED_FUNCTION_LAN;
39 color = <LED_COLOR_ID_GREEN>;
40 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
44 label = "blue:wlan2g";
45 gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
46 linux,default-trigger = "phy1tpt";
51 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
52 linux,default-trigger = "phy0tpt";
57 compatible = "linux,wdt-gpio";
59 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
61 hw_margin_ms = <1200>;
68 mtd-mac-address = <&art 0x0>;
76 compatible = "jedec,spi-nor";
78 spi-max-frequency = <50000000>;
81 compatible = "fixed-partitions";
87 reg = <0x000000 0x040000>;
91 art: partition@40000 {
93 reg = <0x040000 0x010000>;
97 compatible = "fixed-layout";
101 macaddr_art_0: macaddr@0 {
102 compatible = "mac-base";
104 #nvmem-cell-cells = <1>;
107 cal_art_5000: calibration@5000 {
108 reg = <0x5000 0x844>;
114 compatible = "denx,uimage";
116 reg = <0x050000 0x0fa0000>;
120 label = "art-backup";
121 reg = <0xff0000 0x010000>;
131 nvmem-cells = <&macaddr_art_0 0>;
132 nvmem-cell-names = "mac-address";
134 pll-data = <0xbe000000 0xb0000101 0xb0001313>;
146 compatible = "qcom,ath10k";
147 reg = <0x0000 0 0 0 0>;
148 nvmem-cells = <&cal_art_5000>, <&macaddr_art_0 2>;
149 nvmem-cell-names = "calibration", "mac-address";
160 mtd-cal-data = <&art 0x1000>;
161 nvmem-cells = <&macaddr_art_0 10>;
162 nvmem-cell-names = "mac-address";