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-e130n-v2", "qca,qca9531";
11 model = "COMFAST CF-E130N v2";
15 led-boot = &led_rssihigh;
16 led-failsafe = &led_rssihigh;
17 led-upgrade = &led_rssihigh;
18 label-mac-device = ð1;
22 compatible = "gpio-leds";
24 pinctrl-names = "default";
27 label = "cf-e130n-v2:green:wlan";
28 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
29 linux,default-trigger = "phy0tpt";
33 label = "cf-e130n-v2:green:lan";
34 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
38 label = "cf-e130n-v2:green:unused";
39 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
43 label = "cf-e130n-v2:red:rssilow";
44 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
48 label = "cf-e130n-v2:red:rssimediumlow";
49 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
53 label = "cf-e130n-v2:green:rssimediumhigh";
54 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
57 led_rssihigh: rssihigh {
58 label = "cf-e130n-v2:green:rssihigh";
59 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
64 compatible = "gpio-keys";
68 linux,code = <KEY_RESTART>;
69 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
70 debounce-interval = <60>;
81 compatible = "jedec,spi-nor";
83 spi-max-frequency = <25000000>;
86 compatible = "fixed-partitions";
92 reg = <0x000000 0x010000>;
96 art: partition@10000 {
98 reg = <0x010000 0x010000>;
103 compatible = "denx,uimage";
105 reg = <0x020000 0x7c0000>;
110 reg = <0x7e0000 0x010000>;
116 reg = <0x7f0000 0x010000>;
129 compatible = "syscon", "simple-mfd";
135 phy-handle = <&swphy0>;
137 mtd-mac-address = <&art 0x0>;
141 switch-phy-swap = <1>;
148 mtd-mac-address = <&art 0x0>;
149 mtd-cal-data = <&art 0x1000>;