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";
71 label = "Reset button";
72 linux,code = <KEY_RESTART>;
73 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
74 debounce-interval = <60>;
78 label = "RFKILL button";
79 linux,code = <KEY_RFKILL>;
80 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
81 debounce-interval = <60>;
97 compatible = "jedec,spi-nor";
99 spi-max-frequency = <25000000>;
102 compatible = "fixed-partitions";
103 #address-cells = <1>;
108 reg = <0x000000 0x020000>;
114 reg = <0x020000 0x3d0000>;
117 art: partition@3f0000 {
119 reg = <0x3f0000 0x010000>;
127 mtd-mac-address = <&uboot 0x1fc00>;
132 phy-handle = <&swphy4>;
134 mtd-mac-address = <&uboot 0x1fc00>;
135 mtd-mac-address-increment = <1>;
140 mtd-cal-data = <&art 0x1000>;
141 mtd-mac-address = <&uboot 0x1fc00>;