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 bootargs = "console=ttyS0,115200n8";
14 label-mac-device = &wmac;
18 compatible = "gpio-leds";
21 label = "tp-link:green:wlan";
22 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
23 linux,default-trigger = "phy0tpt";
27 label = "tp-link:green:qss";
28 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
32 label = "tp-link:green:wan";
33 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
37 label = "tp-link:green:lan1";
38 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
42 label = "tp-link:green:lan2";
43 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
47 label = "tp-link:green:lan3";
48 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
52 label = "tp-link:green:lan4";
53 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
58 compatible = "gpio-keys";
61 label = "Reset button";
62 linux,code = <KEY_RESTART>;
63 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
64 debounce-interval = <60>;
68 label = "RFKILL button";
69 linux,code = <KEY_RFKILL>;
70 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
71 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>;
123 phy-handle = <&swphy4>;
125 mtd-mac-address = <&uboot 0x1fc00>;
126 mtd-mac-address-increment = <1>;
132 mtd-cal-data = <&art 0x1000>;
133 mtd-mac-address = <&uboot 0x1fc00>;