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 led-boot = &led_system;
11 led-failsafe = &led_system;
12 led-running = &led_system;
13 led-upgrade = &led_system;
14 label-mac-device = ð1;
18 compatible = "gpio-leds";
21 label = "tp-link:blue:system";
22 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
27 compatible = "gpio-keys";
30 label = "Reset button";
31 linux,code = <KEY_RESTART>;
32 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
33 debounce-interval = <60>;
38 linux,input-type = <EV_SW>;
40 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
41 debounce-interval = <60>;
46 linux,input-type = <EV_SW>;
48 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
49 debounce-interval = <60>;
64 compatible = "jedec,spi-nor";
66 spi-max-frequency = <25000000>;
69 compatible = "fixed-partitions";
75 reg = <0x000000 0x020000>;
80 compatible = "tplink,firmware";
82 reg = <0x020000 0x7d0000>;
85 art: partition@7f0000 {
87 reg = <0x7f0000 0x010000>;
95 mtd-mac-address = <&uboot 0x1fc00>;
101 phy-handle = <&swphy4>;
103 mtd-mac-address = <&uboot 0x1fc00>;
104 mtd-mac-address-increment = <1>;
110 mtd-cal-data = <&art 0x1000>;
111 mtd-mac-address = <&uboot 0x1fc00>;