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-wr752ac-v1", "qca,qca9531";
11 model = "COMFAST CF-WR752AC v1";
16 led-failsafe = &led_lan;
17 led-upgrade = &led_lan;
21 compatible = "gpio-leds";
23 pinctrl-names = "default";
24 pinctrl-0 = <&jtag_disable_pins &pinmux_led_rssihigh &pinmux_led_rssilow>;
27 function = LED_FUNCTION_LAN;
28 color = <LED_COLOR_ID_BLUE>;
29 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
33 label = "green:rssihigh";
34 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
38 label = "red:rssilow";
39 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
44 compatible = "gpio-keys";
48 linux,code = <KEY_RESTART>;
49 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
50 debounce-interval = <60>;
56 pinmux_led_rssihigh: pinmux_led_rssihigh {
57 pinctrl-single,bits = <0xc 0x0 0xff000000>;
60 pinmux_led_rssilow: pinmux_led_rssilow {
61 pinctrl-single,bits = <0x8 0x0 0xff000000>;
69 compatible = "qcom,ath10k";
70 reg = <0x0000 0 0 0 0>;
71 nvmem-cells = <&precal_art_5000>, <&macaddr_art_0 2>;
72 nvmem-cell-names = "pre-calibration", "mac-address";
80 compatible = "jedec,spi-nor";
82 spi-max-frequency = <25000000>;
85 compatible = "fixed-partitions";
91 reg = <0x000000 0x010000>;
95 art: partition@10000 {
97 reg = <0x010000 0x010000>;
101 compatible = "fixed-layout";
102 #address-cells = <1>;
105 macaddr_art_0: macaddr@0 {
106 compatible = "mac-base";
108 #nvmem-cell-cells = <1>;
111 precal_art_5000: pre-calibration@5000 {
112 reg = <0x5000 0x2f20>;
118 compatible = "denx,uimage";
120 reg = <0x020000 0xfd0000>;
125 reg = <0xff0000 0x010000>;
135 phy-handle = <&swphy4>;
137 nvmem-cells = <&macaddr_art_0 0>;
138 nvmem-cell-names = "mac-address";
142 compatible = "syscon", "simple-mfd";
148 mtd-cal-data = <&art 0x1000>;
150 nvmem-cells = <&macaddr_art_0 10>;
151 nvmem-cell-names = "mac-address";