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 = "telco,t1", "qca,qca9531";
14 label-mac-device = ð0;
15 led-boot = &led_rssi0;
16 led-failsafe = &led_rssi0;
17 led-running = &led_rssi0;
18 led-upgrade = &led_rssi0;
22 compatible = "gpio-keys";
26 linux,code = <KEY_RESTART>;
27 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
32 compatible = "gpio-leds";
33 pinctrl-names = "default";
34 pinctrl-0 = <&jtag_disable_pins &pinmux_led_wan_pin>;
37 function = LED_FUNCTION_WAN;
38 color = <LED_COLOR_ID_BLUE>;
39 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
43 function = LED_FUNCTION_LAN;
44 color = <LED_COLOR_ID_BLUE>;
45 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
49 function = LED_FUNCTION_WLAN;
50 color = <LED_COLOR_ID_BLUE>;
51 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
52 linux,default-trigger = "phy0tpt";
57 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
62 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
67 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
84 compatible = "jedec,spi-nor";
86 spi-max-frequency = <25000000>;
89 compatible = "fixed-partitions";
95 reg = <0x000000 0x010000>;
99 art: partition@10000 {
101 reg = <0x010000 0x010000>;
105 compatible = "fixed-layout";
106 #address-cells = <1>;
109 macaddr_art_0: macaddr@0 {
113 macaddr_art_6: macaddr@6 {
120 compatible = "denx,uimage";
122 reg = <0x020000 0xfd0000>;
126 label = "art-backup";
127 reg = <0xff0000 0x010000>;
137 phy-handle = <&swphy4>;
139 nvmem-cells = <&macaddr_art_0>;
140 nvmem-cell-names = "mac-address";
144 nvmem-cells = <&macaddr_art_6>;
145 nvmem-cell-names = "mac-address";
151 mtd-cal-data = <&art 0x1000>;
155 pinmux_led_wan_pin: led_wan_pin {
156 pinctrl-single,bits = <0x4 0x0 0xff>;