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>
7 #include <dt-bindings/leds/common.h>
10 compatible = "comfast,cf-e5", "qca,qca9531";
11 model = "COMFAST CF-E5/E7";
14 label-mac-device = ð0;
18 compatible = "gpio-keys";
22 linux,code = <KEY_RESTART>;
23 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
28 compatible = "gpio-leds";
29 pinctrl-names = "default";
30 pinctrl-0 = <&jtag_disable_pins &led_wan_pin>;
33 function = LED_FUNCTION_WAN;
34 color = <LED_COLOR_ID_BLUE>;
35 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
39 function = LED_FUNCTION_LAN;
40 color = <LED_COLOR_ID_BLUE>;
41 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
45 function = LED_FUNCTION_WLAN;
46 color = <LED_COLOR_ID_BLUE>;
47 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
48 linux,default-trigger = "phy0tpt";
53 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
58 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
63 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
80 compatible = "jedec,spi-nor";
82 spi-max-frequency = <25000000>;
85 compatible = "fixed-partitions";
91 reg = <0x000000 0x010000>;
95 art: partition@10000 {
97 reg = <0x010000 0x010000>;
101 compatible = "fixed-layout";
102 #address-cells = <1>;
105 macaddr_art_0: macaddr@0 {
109 macaddr_art_6: macaddr@6 {
116 compatible = "denx,uimage";
118 reg = <0x020000 0xfd0000>;
122 label = "art-backup";
123 reg = <0xff0000 0x010000>;
133 phy-handle = <&swphy4>;
135 nvmem-cells = <&macaddr_art_0>;
136 nvmem-cell-names = "mac-address";
140 nvmem-cells = <&macaddr_art_6>;
141 nvmem-cell-names = "mac-address";
147 mtd-cal-data = <&art 0x1000>;
151 led_wan_pin: pinmux_led_wan_pin {
152 pinctrl-single,bits = <0x4 0x0 0xff>;