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>;
91 compatible = "fixed-layout";
95 macaddr_uboot_1fc00: macaddr@1fc00 {
102 compatible = "tplink,firmware";
104 reg = <0x020000 0x3d0000>;
107 art: partition@3f0000 {
109 reg = <0x3f0000 0x010000>;
119 phy-handle = <&swphy4>;
121 nvmem-cells = <&macaddr_uboot_1fc00>;
122 nvmem-cell-names = "mac-address";
123 mac-address-increment = <1>;
127 nvmem-cells = <&macaddr_uboot_1fc00>;
128 nvmem-cell-names = "mac-address";
134 mtd-cal-data = <&art 0x1000>;
135 nvmem-cells = <&macaddr_uboot_1fc00>;
136 nvmem-cell-names = "mac-address";