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_system;
16 led-failsafe = &led_system;
17 led-running = &led_system;
18 led-upgrade = &led_system;
19 label-mac-device = ð1;
23 compatible = "gpio-leds";
26 label = "tp-link:blue:system";
27 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
32 compatible = "gpio-keys";
35 label = "Reset button";
36 linux,code = <KEY_RESTART>;
37 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
38 debounce-interval = <60>;
43 linux,input-type = <EV_SW>;
45 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
46 debounce-interval = <60>;
51 linux,input-type = <EV_SW>;
53 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
54 debounce-interval = <60>;
68 compatible = "jedec,spi-nor";
70 spi-max-frequency = <25000000>;
73 compatible = "fixed-partitions";
79 reg = <0x000000 0x020000>;
84 compatible = "tplink,firmware";
86 reg = <0x020000 0x7d0000>;
89 art: partition@7f0000 {
91 reg = <0x7f0000 0x010000>;
99 mtd-mac-address = <&uboot 0x1fc00>;
104 phy-handle = <&swphy4>;
106 mtd-mac-address = <&uboot 0x1fc00>;
107 mtd-mac-address-increment = <1>;
112 mtd-cal-data = <&art 0x1000>;
113 mtd-mac-address = <&uboot 0x1fc00>;