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 "qca9533.dtsi"
11 bootargs = "console=ttyS0,115200n8";
19 compatible = "gpio-leds";
22 label = "tp-link:green:wlan";
23 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
24 default-state = "off";
25 linux,default-trigger = "phy0tpt";
29 label = "tp-link:green:qss";
30 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
31 default-state = "off";
35 label = "tp-link:green:wan";
36 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
37 default-state = "off";
41 label = "tp-link:green:lan1";
42 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
43 default-state = "off";
47 label = "tp-link:green:lan2";
48 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
49 default-state = "off";
53 label = "tp-link:green:lan3";
54 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
55 default-state = "off";
59 label = "tp-link:green:lan4";
60 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
61 default-state = "off";
66 compatible = "gpio-keys";
69 label = "Reset button";
70 linux,code = <KEY_RESTART>;
71 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
72 debounce-interval = <60>;
76 label = "RFKILL button";
77 linux,code = <KEY_RFKILL>;
78 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
79 debounce-interval = <60>;
93 compatible = "jedec,spi-nor";
95 spi-max-frequency = <25000000>;
98 compatible = "fixed-partitions";
104 reg = <0x000000 0x020000>;
110 reg = <0x020000 0x3d0000>;
113 art: partition@3f0000 {
115 reg = <0x3f0000 0x010000>;
123 mtd-mac-address = <&uboot 0x1fc00>;
128 phy-handle = <&swphy4>;
130 mtd-mac-address = <&uboot 0x1fc00>;
131 mtd-mac-address-increment = <1>;
136 mtd-cal-data = <&art 0x1000>;
137 mtd-mac-address = <&uboot 0x1fc00>;