1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qca953x.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
10 led-boot = &led_system;
11 led-failsafe = &led_system;
12 led-running = &led_system;
13 led-upgrade = &led_system;
14 label-mac-device = &wmac;
18 compatible = "gpio-leds";
21 label = "green: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>;
45 compatible = "jedec,spi-nor";
47 spi-max-frequency = <50000000>;
50 compatible = "fixed-partitions";
56 reg = <0x000000 0x020000>;
62 reg = <0x020000 0x3d0000>;
63 compatible = "tplink,firmware";
66 art: partition@3f0000 {
68 reg = <0x3f0000 0x010000>;
78 phy-handle = <&swphy4>;
80 mtd-mac-address = <&uboot 0x1fc00>;
81 mtd-mac-address-increment = <1>;
85 compatible = "syscon", "simple-mfd";
91 mtd-cal-data = <&art 0x1000>;
92 mtd-mac-address = <&uboot 0x1fc00>;