1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
6 #include "qca953x.dtsi"
10 label-mac-device = &wmac;
14 compatible = "gpio-leds";
17 label = "tp-link:green:wlan";
18 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
19 linux,default-trigger = "phy0tpt";
23 label = "tp-link:green:qss";
24 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
28 label = "tp-link:green:wan";
29 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
33 label = "tp-link:green:lan1";
34 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
38 label = "tp-link:green:lan2";
39 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
43 label = "tp-link:green:lan3";
44 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
48 label = "tp-link:green:lan4";
49 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
54 compatible = "gpio-keys";
57 label = "Reset button";
58 linux,code = <KEY_RESTART>;
59 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
60 debounce-interval = <60>;
64 label = "RFKILL button";
65 linux,code = <KEY_RFKILL>;
66 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
67 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>;
115 phy-handle = <&swphy4>;
117 mtd-mac-address = <&uboot 0x1fc00>;
118 mtd-mac-address-increment = <1>;
122 mtd-mac-address = <&uboot 0x1fc00>;
128 mtd-cal-data = <&art 0x1000>;
129 mtd-mac-address = <&uboot 0x1fc00>;