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-e110n-v2", "qca,qca9533";
11 model = "COMFAST CF-E110N v2";
15 led-boot = &led_rssihigh;
16 led-failsafe = &led_rssihigh;
17 led-upgrade = &led_rssihigh;
21 compatible = "gpio-leds";
23 pinctrl-names = "default";
24 pinctrl-0 = <&jtag_disable_pins &led_rssilow_pin &led_rssimediumhigh_pin &led_rssihigh_pin>;
27 label = "cf-e110n-v2:green:wan";
28 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
32 label = "cf-e110n-v2:green:lan";
33 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
37 label = "cf-e110n-v2:red:rssilow";
38 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
42 label = "cf-e110n-v2:red:rssimediumlow";
43 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
47 label = "cf-e110n-v2:green:rssimediumhigh";
48 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
51 led_rssihigh: rssihigh {
52 label = "cf-e110n-v2:green:rssihigh";
53 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
58 compatible = "gpio-leds";
61 label = "cf-e110n-v2:green:wlan";
62 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
63 linux,default-trigger = "phy0tpt";
68 compatible = "gpio-keys";
72 linux,code = <KEY_RESTART>;
73 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
74 debounce-interval = <60>;
80 led_rssilow_pin: pinmux_rssilow_pin {
81 pinctrl-single,bits = <0x8 0x0 0xff000000>;
84 led_rssimediumhigh_pin: pinmux_rssimediumhigh_pin {
85 pinctrl-single,bits = <0xc 0x0 0x00ff0000>;
88 led_rssihigh_pin: pinmux_rssihigh_pin {
89 pinctrl-single,bits = <0x10 0x0 0x000000ff>;
99 compatible = "winbond,w25q128", "jedec,spi-nor";
101 spi-max-frequency = <25000000>;
104 compatible = "fixed-partitions";
105 #address-cells = <1>;
110 reg = <0x000000 0x010000>;
114 art: partition@10000 {
116 reg = <0x010000 0x010000>;
121 compatible = "denx,uimage";
123 reg = <0x020000 0xfd0000>;
128 reg = <0xff0000 0x010000>;
142 mtd-mac-address = <&art 0x0>;
143 phy-handle = <&swphy4>;
149 mtd-mac-address = <&art 0x1002>;
159 mtd-cal-data = <&art 0x1000>;
160 mtd-mac-address = <&art 0x6>;