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;
22 compatible = "gpio-leds";
25 label = "tp-link:green:lan";
26 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
30 label = "tp-link:green:link1";
31 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
35 label = "tp-link:green:link2";
36 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
40 label = "tp-link:green:link3";
41 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
45 label = "tp-link:green:link4";
46 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
51 compatible = "gpio-keys-polled";
52 poll-interval = <100>;
55 label = "Reset button";
56 linux,code = <KEY_RESTART>;
57 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
73 compatible = "jedec,spi-nor";
75 spi-max-frequency = <25000000>;
78 compatible = "fixed-partitions";
84 reg = <0x000000 0x020000>;
89 label = "partition-table";
90 reg = <0x020000 0x10000>;
94 info: partition@30000 {
96 reg = <0x030000 0x10000>;
102 reg = <0x040000 0x780000>;
103 compatible = "tplink,firmware";
106 config: partition@7c0000 {
108 reg = <0x7c0000 0x30000>;
112 art: partition@7f0000 {
114 reg = <0x7f0000 0x10000>;
123 phy-handle = <&swphy4>;
124 mtd-mac-address = <&info 0x8>;
128 compatible = "syscon", "simple-mfd";
133 mtd-cal-data = <&art 0x1000>;
134 mtd-mac-address = <&info 0x8>;