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 "qca953x.dtsi"
11 bootargs = "console=ttyS0,115200n8";
15 label-mac-device = &wmac;
19 compatible = "gpio-leds";
22 label = "tp-link:green:wlan";
23 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
24 linux,default-trigger = "phy0tpt";
28 label = "tp-link:green:qss";
29 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
33 label = "tp-link:green:wan";
34 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
38 label = "tp-link:green:lan1";
39 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
43 label = "tp-link:green:lan2";
44 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
48 label = "tp-link:green:lan3";
49 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
53 label = "tp-link:green:lan4";
54 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
59 compatible = "gpio-keys";
62 label = "Reset button";
63 linux,code = <KEY_RESTART>;
64 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
65 debounce-interval = <60>;
69 label = "RFKILL button";
70 linux,code = <KEY_RFKILL>;
71 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
72 debounce-interval = <60>;
86 compatible = "jedec,spi-nor";
88 spi-max-frequency = <25000000>;
91 compatible = "fixed-partitions";
97 reg = <0x000000 0x020000>;
102 compatible = "tplink,firmware";
104 reg = <0x020000 0x3d0000>;
107 art: partition@3f0000 {
109 reg = <0x3f0000 0x010000>;
117 mtd-mac-address = <&uboot 0x1fc00>;
122 phy-handle = <&swphy4>;
124 mtd-mac-address = <&uboot 0x1fc00>;
125 mtd-mac-address-increment = <1>;
130 mtd-cal-data = <&art 0x1000>;
131 mtd-mac-address = <&uboot 0x1fc00>;