1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "comfast,cf-e120a-v3", "qca,ar9344";
10 model = "COMFAST CF-E120A v3";
14 led-boot = &led_rssihigh;
15 led-failsafe = &led_rssihigh;
16 led-upgrade = &led_rssihigh;
17 label-mac-device = ð0;
21 compatible = "gpio-leds";
23 pinctrl-names = "default";
24 pinctrl-0 = <&led_rssimediumhigh_pin>;
28 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
33 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
38 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
39 linux,default-trigger = "phy0tpt";
43 label = "red:rssilow";
44 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
48 label = "red:rssimediumlow";
49 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
53 label = "green:rssimediumhigh";
54 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
57 led_rssihigh: rssihigh {
58 label = "green:rssihigh";
59 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
64 compatible = "gpio-keys";
68 linux,code = <KEY_RESTART>;
69 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
70 debounce-interval = <60>;
76 led_rssimediumhigh_pin: pinmux_rssimediumhigh_pin {
77 pinctrl-single,bits = <0x10 0x0 0xff>;
87 compatible = "jedec,spi-nor";
89 spi-max-frequency = <25000000>;
92 compatible = "fixed-partitions";
98 reg = <0x000000 0x010000>;
102 art: partition@10000 {
104 reg = <0x010000 0x010000>;
109 compatible = "denx,uimage";
111 reg = <0x020000 0x7d0000>;
116 reg = <0x7f0000 0x010000>;
129 phy-handle = <&swphy0>;
130 mtd-mac-address = <&art 0x0>;
134 switch-phy-swap = <1>;
140 mtd-mac-address = <&art 0x6>;
145 mtd-cal-data = <&art 0x1000>;