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 compatible = "gpio-leds";
18 label = "tp-link:green:wlan";
19 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
20 default-state = "off";
21 linux,default-trigger = "phy0tpt";
25 label = "tp-link:green:qss";
26 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
27 default-state = "off";
31 label = "tp-link:green:wan";
32 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
33 default-state = "off";
37 label = "tp-link:green:lan1";
38 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
39 default-state = "off";
43 label = "tp-link:green:lan2";
44 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
45 default-state = "off";
49 label = "tp-link:green:lan3";
50 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
51 default-state = "off";
55 label = "tp-link:green:lan4";
56 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
57 default-state = "off";
62 compatible = "gpio-keys";
65 label = "Reset button";
66 linux,code = <KEY_RESTART>;
67 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
68 debounce-interval = <60>;
72 label = "RFKILL button";
73 linux,code = <KEY_RFKILL>;
74 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
75 debounce-interval = <60>;
89 compatible = "jedec,spi-nor";
91 spi-max-frequency = <25000000>;
94 compatible = "fixed-partitions";
100 reg = <0x000000 0x020000>;
105 compatible = "tplink,firmware";
107 reg = <0x020000 0x3d0000>;
110 art: partition@3f0000 {
112 reg = <0x3f0000 0x010000>;
120 mtd-mac-address = <&uboot 0x1fc00>;
125 phy-handle = <&swphy4>;
127 mtd-mac-address = <&uboot 0x1fc00>;
128 mtd-mac-address-increment = <1>;
133 mtd-cal-data = <&art 0x1000>;
134 mtd-mac-address = <&uboot 0x1fc00>;