1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
6 #include "qca953x.dtsi"
10 bootargs = "console=ttyS0,115200n8";
14 led-boot = &led_system;
15 led-failsafe = &led_system;
16 led-running = &led_system;
17 led-upgrade = &led_system;
18 label-mac-device = ð1;
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>;
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>;
105 phy-handle = <&swphy4>;
107 mtd-mac-address = <&uboot 0x1fc00>;
108 mtd-mac-address-increment = <1>;
114 mtd-cal-data = <&art 0x1000>;
115 mtd-mac-address = <&uboot 0x1fc00>;