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-e314n-v2", "qca,qca9531";
10 model = "COMFAST CF-E314N 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:signal1";
37 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
41 label = "red:signal2";
42 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
46 label = "green:signal3";
47 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
50 led_rssihigh: rssihigh {
51 label = "green:signal4";
52 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
57 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
58 linux,default-trigger = "phy0tpt";
63 compatible = "gpio-keys";
67 linux,code = <KEY_RESTART>;
68 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
69 debounce-interval = <60>;
75 led_rssilow_pin: pinmux_rssilow_pin {
76 pinctrl-single,bits = <0x8 0x0 0xff000000>;
79 led_rssimediumhigh_pin: pinmux_rssimediumhigh_pin {
80 pinctrl-single,bits = <0xc 0x0 0x00ff0000>;
83 led_rssihigh_pin: pinmux_rssihigh_pin {
84 pinctrl-single,bits = <0x10 0x0 0x000000ff>;
92 compatible = "jedec,spi-nor";
94 spi-max-frequency = <25000000>;
97 compatible = "fixed-partitions";
103 reg = <0x000000 0x010000>;
107 art: partition@10000 {
109 reg = <0x010000 0x010000>;
114 compatible = "denx,uimage";
116 reg = <0x020000 0x7c0000>;
121 reg = <0x7e0000 0x010000>;
127 reg = <0x7f0000 0x010000>;
137 phy-handle = <&swphy4>;
139 mtd-mac-address = <&art 0x0>;
143 mtd-mac-address = <&art 0x6>;
148 mtd-cal-data = <&art 0x1000>;