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 led-boot = &led_link4;
16 led-failsafe = &led_link4;
17 led-running = &led_link4;
18 led-upgrade = &led_link4;
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-polled";
47 poll-interval = <100>;
50 label = "Reset button";
51 linux,code = <KEY_RESTART>;
52 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
69 compatible = "jedec,spi-nor";
71 spi-max-frequency = <25000000>;
74 compatible = "fixed-partitions";
80 reg = <0x000000 0x020000>;
85 label = "partition-table";
86 reg = <0x020000 0x010000>;
90 info: partition@30000 {
92 reg = <0x030000 0x010000>;
98 reg = <0x040000 0x780000>;
99 compatible = "tplink,firmware";
102 config: partition@7c0000 {
104 reg = <0x7c0000 0x030000>;
108 art: partition@7f0000 {
110 reg = <0x7f0000 0x010000>;
120 mtd-cal-data = <&art 0x1000>;
121 mtd-mac-address = <&info 0x8>;
127 phy-handle = <&swphy4>;
129 mtd-mac-address = <&info 0x8>;