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 label-mac-device = &wmac;
11 led-boot = &led_system;
12 led-failsafe = &led_system;
13 led-running = &led_system;
14 led-upgrade = &led_system;
18 compatible = "gpio-leds";
22 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
26 label = "red:security";
27 gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
32 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
33 linux,default-trigger = "phy0tpt";
37 label = "green:system";
38 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
42 label = "green:security";
43 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
48 compatible = "gpio-keys";
51 label = "Reset button";
52 linux,code = <KEY_RESTART>;
53 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
54 debounce-interval = <60>;
59 linux,code = <KEY_WPS_BUTTON>;
60 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
61 debounce-interval = <60>;
70 compatible = "jedec,spi-nor";
72 spi-max-frequency = <25000000>;
75 compatible = "fixed-partitions";
81 reg = <0x000000 0x020000>;
86 compatible = "tplink,firmware";
88 reg = <0x020000 0x3d0000>;
91 art: partition@3f0000 {
93 reg = <0x3f0000 0x010000>;
103 phy-handle = <&swphy4>;
105 nvmem-cells = <&macaddr_uboot_1fc00>;
106 nvmem-cell-names = "mac-address";
110 compatible = "syscon", "simple-mfd";
116 mtd-cal-data = <&art 0x1000>;
117 nvmem-cells = <&macaddr_uboot_1fc00>;
118 nvmem-cell-names = "mac-address";
122 compatible = "nvmem-cells";
123 #address-cells = <1>;
126 macaddr_uboot_1fc00: macaddr@1fc00 {