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";
16 led-failsafe = &system;
17 led-running = &system;
18 led-upgrade = &system;
19 label-mac-device = ð0;
23 compatible = "gpio-leds";
26 label = "tp-link:green:lan";
27 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
31 label = "tp-link:green:link1";
32 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
36 label = "tp-link:green:link2";
37 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
41 label = "tp-link:green:link3";
42 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
46 label = "tp-link:green:link4";
47 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
52 compatible = "gpio-keys-polled";
53 poll-interval = <100>;
56 label = "Reset button";
57 linux,code = <KEY_RESTART>;
58 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
74 compatible = "jedec,spi-nor";
76 spi-max-frequency = <25000000>;
79 compatible = "fixed-partitions";
85 reg = <0x000000 0x020000>;
90 label = "partition-table";
91 reg = <0x020000 0x10000>;
95 info: partition@30000 {
97 reg = <0x030000 0x10000>;
103 reg = <0x040000 0x780000>;
104 compatible = "tplink,firmware";
107 config: partition@7c0000 {
109 reg = <0x7c0000 0x30000>;
113 art: partition@7f0000 {
115 reg = <0x7f0000 0x10000>;
124 phy-handle = <&swphy4>;
125 mtd-mac-address = <&info 0x8>;
129 compatible = "syscon", "simple-mfd";
134 mtd-cal-data = <&art 0x1000>;
135 mtd-mac-address = <&info 0x8>;