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-e130n-v2", "qca,qca9531";
10 model = "COMFAST CF-E130N v2";
14 led-boot = &led_rssihigh;
15 led-failsafe = &led_rssihigh;
16 led-upgrade = &led_rssihigh;
17 label-mac-device = ð1;
21 compatible = "gpio-leds";
23 pinctrl-names = "default";
27 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
28 linux,default-trigger = "phy0tpt";
33 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
37 label = "green:unused";
38 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
42 label = "red:rssilow";
43 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
47 label = "red:rssimediumlow";
48 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
52 label = "green:rssimediumhigh";
53 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
56 led_rssihigh: rssihigh {
57 label = "green:rssihigh";
58 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
63 compatible = "gpio-keys";
67 linux,code = <KEY_RESTART>;
68 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
69 debounce-interval = <60>;
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>;
100 compatible = "denx,uimage";
102 reg = <0x020000 0x7c0000>;
107 reg = <0x7e0000 0x010000>;
113 reg = <0x7f0000 0x010000>;
121 nvmem-cells = <&macaddr_art_0>;
122 nvmem-cell-names = "mac-address";
126 switch-phy-swap = <1>;
133 nvmem-cells = <&macaddr_art_0>;
134 nvmem-cell-names = "mac-address";
135 mtd-cal-data = <&art 0x1000>;
139 compatible = "nvmem-cells";
140 #address-cells = <1>;
143 macaddr_art_0: macaddr@0 {