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;
14 compatible = "gpio-leds";
18 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
19 linux,default-trigger = "phy0tpt";
24 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
29 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
34 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
39 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
44 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
49 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
54 compatible = "gpio-keys";
57 label = "Reset button";
58 linux,code = <KEY_RESTART>;
59 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
60 debounce-interval = <60>;
64 label = "RFKILL button";
65 linux,code = <KEY_RFKILL>;
66 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
67 debounce-interval = <60>;
76 compatible = "jedec,spi-nor";
78 spi-max-frequency = <25000000>;
81 compatible = "fixed-partitions";
87 reg = <0x000000 0x020000>;
92 compatible = "tplink,firmware";
94 reg = <0x020000 0x3d0000>;
97 art: partition@3f0000 {
99 reg = <0x3f0000 0x010000>;
109 phy-handle = <&swphy4>;
111 nvmem-cells = <&macaddr_uboot_1fc00>;
112 nvmem-cell-names = "mac-address";
113 mac-address-increment = <1>;
117 nvmem-cells = <&macaddr_uboot_1fc00>;
118 nvmem-cell-names = "mac-address";
124 mtd-cal-data = <&art 0x1000>;
125 nvmem-cells = <&macaddr_uboot_1fc00>;
126 nvmem-cell-names = "mac-address";
130 compatible = "nvmem-cells";
131 #address-cells = <1>;
134 macaddr_uboot_1fc00: macaddr@1fc00 {