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>
9 compatible = "comfast,cf-wr752ac-v1", "qca,qca9531";
10 model = "COMFAST CF-WR752AC v1";
15 led-failsafe = &led_lan;
16 led-upgrade = &led_lan;
20 compatible = "gpio-leds";
22 pinctrl-names = "default";
23 pinctrl-0 = <&jtag_disable_pins &pinmux_led_rssihigh &pinmux_led_rssilow>;
27 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
31 label = "green:rssihigh";
32 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
36 label = "red:rssilow";
37 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
42 compatible = "gpio-keys";
46 linux,code = <KEY_RESTART>;
47 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
48 debounce-interval = <60>;
54 pinmux_led_rssihigh: pinmux_led_rssihigh {
55 pinctrl-single,bits = <0xc 0x0 0xff000000>;
58 pinmux_led_rssilow: pinmux_led_rssilow {
59 pinctrl-single,bits = <0x8 0x0 0xff000000>;
67 compatible = "qcom,ath10k";
68 reg = <0x0000 0 0 0 0>;
69 nvmem-cells = <&precal_art_5000>, <&macaddr_art_0 2>;
70 nvmem-cell-names = "pre-calibration", "mac-address";
78 compatible = "jedec,spi-nor";
80 spi-max-frequency = <25000000>;
83 compatible = "fixed-partitions";
89 reg = <0x000000 0x010000>;
93 art: partition@10000 {
95 reg = <0x010000 0x010000>;
99 compatible = "fixed-layout";
100 #address-cells = <1>;
103 macaddr_art_0: macaddr@0 {
104 compatible = "mac-base";
106 #nvmem-cell-cells = <1>;
109 precal_art_5000: pre-calibration@5000 {
110 reg = <0x5000 0x2f20>;
116 compatible = "denx,uimage";
118 reg = <0x020000 0xfd0000>;
123 reg = <0xff0000 0x010000>;
133 phy-handle = <&swphy4>;
135 nvmem-cells = <&macaddr_art_0 0>;
136 nvmem-cell-names = "mac-address";
140 compatible = "syscon", "simple-mfd";
146 mtd-cal-data = <&art 0x1000>;
148 nvmem-cells = <&macaddr_art_0 10>;
149 nvmem-cell-names = "mac-address";