1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include <dt-bindings/leds/common.h>
5 #include "qca9563_tplink_tl-wr1043n.dtsi"
8 compatible = "tplink,tl-wr1043nd-v4", "qca,qca9563";
9 model = "TP-Link TL-WR1043ND v4";
12 label-mac-device = &wmac;
16 compatible = "gpio-export";
20 gpio-export,name = "tp-link:power:usb";
21 gpio-export,output = <1>;
22 gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
31 compatible = "jedec,spi-nor";
33 spi-max-frequency = <25000000>;
36 compatible = "fixed-partitions";
42 reg = <0x000000 0x020000>;
47 compatible = "tplink,firmware";
49 reg = <0x020000 0xf30000>;
52 info: partition@f50000 {
54 reg = <0xf50000 0x020000>;
58 compatible = "fixed-layout";
62 macaddr_info_8: macaddr@8 {
70 reg = <0xf70000 0x050000>;
75 label = "partition-table";
76 reg = <0xfc0000 0x010000>;
82 reg = <0xfd0000 0x020000>;
86 art: partition@ff0000 {
88 reg = <0xff0000 0x010000>;
97 function = LED_FUNCTION_USB;
98 color = <LED_COLOR_ID_GREEN>;
99 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
100 trigger-sources = <&hub_port0>;
101 linux,default-trigger = "usbport";
114 nvmem-cells = <&macaddr_info_8>;
115 nvmem-cell-names = "mac-address";
119 mtd-cal-data = <&art 0x1000>;
121 nvmem-cells = <&macaddr_info_8>;
122 nvmem-cell-names = "mac-address";