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-e110n-v2", "qca,qca9533";
10 model = "COMFAST CF-E110N v2";
14 led-boot = &led_rssihigh;
15 led-failsafe = &led_rssihigh;
16 led-upgrade = &led_rssihigh;
20 compatible = "gpio-leds";
22 pinctrl-names = "default";
23 pinctrl-0 = <&jtag_disable_pins &led_rssilow_pin &led_rssimediumhigh_pin &led_rssihigh_pin>;
27 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
32 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
36 label = "red:rssilow";
37 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
41 label = "red:rssimediumlow";
42 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
46 label = "green:rssimediumhigh";
47 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
50 led_rssihigh: rssihigh {
51 label = "green:rssihigh";
52 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
57 compatible = "gpio-leds";
61 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
62 linux,default-trigger = "phy0tpt";
67 compatible = "gpio-keys";
71 linux,code = <KEY_RESTART>;
72 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
73 debounce-interval = <60>;
79 led_rssilow_pin: pinmux_rssilow_pin {
80 pinctrl-single,bits = <0x8 0x0 0xff000000>;
83 led_rssimediumhigh_pin: pinmux_rssimediumhigh_pin {
84 pinctrl-single,bits = <0xc 0x0 0x00ff0000>;
87 led_rssihigh_pin: pinmux_rssihigh_pin {
88 pinctrl-single,bits = <0x10 0x0 0x000000ff>;
96 compatible = "winbond,w25q128", "jedec,spi-nor";
98 spi-max-frequency = <25000000>;
101 compatible = "fixed-partitions";
102 #address-cells = <1>;
107 reg = <0x000000 0x010000>;
111 art: partition@10000 {
113 reg = <0x010000 0x010000>;
117 compatible = "fixed-layout";
118 #address-cells = <1>;
121 macaddr_art_0: macaddr@0 {
125 macaddr_art_6: macaddr@6 {
129 macaddr_art_1002: macaddr@1002 {
136 compatible = "denx,uimage";
138 reg = <0x020000 0xfd0000>;
143 reg = <0xff0000 0x010000>;
153 phy-handle = <&swphy4>;
155 nvmem-cells = <&macaddr_art_0>;
156 nvmem-cell-names = "mac-address";
160 nvmem-cells = <&macaddr_art_1002>;
161 nvmem-cell-names = "mac-address";
171 mtd-cal-data = <&art 0x1000>;
172 nvmem-cells = <&macaddr_art_6>;
173 nvmem-cell-names = "mac-address";