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;
22 compatible = "gpio-leds";
25 label = "tp-link:blue:system";
26 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
31 compatible = "gpio-keys";
34 label = "Reset button";
35 linux,code = <KEY_RESTART>;
36 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
37 debounce-interval = <60>;
42 linux,input-type = <EV_SW>;
44 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
45 debounce-interval = <60>;
50 linux,input-type = <EV_SW>;
52 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
53 debounce-interval = <60>;
67 compatible = "jedec,spi-nor";
69 spi-max-frequency = <25000000>;
72 compatible = "fixed-partitions";
78 reg = <0x000000 0x020000>;
83 compatible = "tplink,firmware";
85 reg = <0x020000 0x7d0000>;
88 art: partition@7f0000 {
90 reg = <0x7f0000 0x010000>;
98 mtd-mac-address = <&uboot 0x1fc00>;
103 phy-handle = <&swphy4>;
105 mtd-mac-address = <&uboot 0x1fc00>;
106 mtd-mac-address-increment = <1>;
111 mtd-cal-data = <&art 0x1000>;
112 mtd-mac-address = <&uboot 0x1fc00>;