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_link4;
11 led-failsafe = &led_link4;
12 led-running = &led_link4;
13 led-upgrade = &led_link4;
14 label-mac-device = &wmac;
18 compatible = "gpio-leds";
21 label = "green:link1";
22 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
26 label = "green:link2";
27 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
31 label = "green:link3";
32 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
36 label = "green:link4";
37 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
42 compatible = "gpio-keys";
45 label = "Reset button";
46 linux,code = <KEY_RESTART>;
47 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
56 compatible = "jedec,spi-nor";
58 spi-max-frequency = <25000000>;
61 compatible = "fixed-partitions";
67 reg = <0x000000 0x020000>;
72 label = "partition-table";
73 reg = <0x020000 0x010000>;
77 info: partition@30000 {
79 reg = <0x030000 0x010000>;
83 compatible = "fixed-layout";
87 macaddr_info_8: macaddr@8 {
95 reg = <0x040000 0x780000>;
96 compatible = "tplink,firmware";
99 config: partition@7c0000 {
101 reg = <0x7c0000 0x030000>;
105 art: partition@7f0000 {
107 reg = <0x7f0000 0x010000>;
117 phy-handle = <&swphy4>;
119 nvmem-cells = <&macaddr_info_8>;
120 nvmem-cell-names = "mac-address";
126 mtd-cal-data = <&art 0x1000>;
127 nvmem-cells = <&macaddr_info_8>;
128 nvmem-cell-names = "mac-address";