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 led-boot = &led_link4;
15 led-failsafe = &led_link4;
16 led-running = &led_link4;
17 led-upgrade = &led_link4;
18 label-mac-device = &wmac;
22 compatible = "gpio-leds";
25 label = "tp-link:green:link1";
26 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
30 label = "tp-link:green:link2";
31 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
35 label = "tp-link:green:link3";
36 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
40 label = "tp-link:green:link4";
41 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
46 compatible = "gpio-keys";
49 label = "Reset button";
50 linux,code = <KEY_RESTART>;
51 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
68 compatible = "jedec,spi-nor";
70 spi-max-frequency = <25000000>;
73 compatible = "fixed-partitions";
79 reg = <0x000000 0x020000>;
84 label = "partition-table";
85 reg = <0x020000 0x010000>;
89 info: partition@30000 {
91 reg = <0x030000 0x010000>;
97 reg = <0x040000 0x780000>;
98 compatible = "tplink,firmware";
101 config: partition@7c0000 {
103 reg = <0x7c0000 0x030000>;
107 art: partition@7f0000 {
109 reg = <0x7f0000 0x010000>;
119 mtd-cal-data = <&art 0x1000>;
120 mtd-mac-address = <&info 0x8>;
126 phy-handle = <&swphy4>;
128 mtd-mac-address = <&info 0x8>;