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 linux,default-trigger = "phy0tpt";
24 label = "tp-link:green:qss";
25 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
29 label = "tp-link:green:wan";
30 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
34 label = "tp-link:green:lan1";
35 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
39 label = "tp-link:green:lan2";
40 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
44 label = "tp-link:green:lan3";
45 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
49 label = "tp-link:green:lan4";
50 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
55 compatible = "gpio-keys";
58 label = "Reset button";
59 linux,code = <KEY_RESTART>;
60 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
61 debounce-interval = <60>;
65 label = "RFKILL button";
66 linux,code = <KEY_RFKILL>;
67 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
68 debounce-interval = <60>;
82 compatible = "jedec,spi-nor";
84 spi-max-frequency = <25000000>;
87 compatible = "fixed-partitions";
93 reg = <0x000000 0x020000>;
98 compatible = "tplink,firmware";
100 reg = <0x020000 0x3d0000>;
103 art: partition@3f0000 {
105 reg = <0x3f0000 0x010000>;
113 mtd-mac-address = <&uboot 0x1fc00>;
118 phy-handle = <&swphy4>;
120 mtd-mac-address = <&uboot 0x1fc00>;
121 mtd-mac-address-increment = <1>;
126 mtd-cal-data = <&art 0x1000>;
127 mtd-mac-address = <&uboot 0x1fc00>;