oxnas: drop target
[openwrt/openwrt.git] / target / linux / ath79 / dts / qca9563_tplink_tl-wr1043nd-v4.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2 /dts-v1/;
3
4 #include "qca9563_tplink_tl-wr1043n.dtsi"
5
6 / {
7 compatible = "tplink,tl-wr1043nd-v4", "qca,qca9563";
8 model = "TP-Link TL-WR1043ND v4";
9
10 gpio-export {
11 compatible = "gpio-export";
12 #size-cells = <0>;
13
14 gpio_usb_power {
15 gpio-export,name = "tp-link:power:usb";
16 gpio-export,output = <1>;
17 gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
18 };
19 };
20 };
21
22 &spi {
23 status = "okay";
24
25 num-cs = <1>;
26
27 flash@0 {
28 compatible = "jedec,spi-nor";
29 reg = <0>;
30 spi-max-frequency = <25000000>;
31
32 partitions {
33 compatible = "fixed-partitions";
34 #address-cells = <1>;
35 #size-cells = <1>;
36
37 partition@0 {
38 label = "u-boot";
39 reg = <0x000000 0x020000>;
40 read-only;
41 };
42
43 partition@20000 {
44 compatible = "tplink,firmware";
45 label = "firmware";
46 reg = <0x020000 0xf30000>;
47 };
48
49 info: partition@f50000 {
50 label = "info";
51 reg = <0xf50000 0x020000>;
52 read-only;
53 };
54
55 partition@f70000 {
56 label = "config";
57 reg = <0xf70000 0x050000>;
58 read-only;
59 };
60
61 partition@fc0000 {
62 label = "partition-table";
63 reg = <0xfc0000 0x010000>;
64 read-only;
65 };
66
67 partition@fd0000 {
68 label = "logs";
69 reg = <0xfd0000 0x020000>;
70 read-only;
71 };
72
73 art: partition@ff0000 {
74 label = "art";
75 reg = <0xff0000 0x010000>;
76 read-only;
77 };
78 };
79 };
80 };
81
82 &leds {
83 usb {
84 label = "tp-link:green:usb";
85 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
86 trigger-sources = <&hub_port0>;
87 linux,default-trigger = "usbport";
88 };
89 };
90
91 &usb_phy0 {
92 status = "okay";
93 };
94
95 &usb0 {
96 #address-cells = <1>;
97 #size-cells = <0>;
98 status = "okay";
99
100 hub_port0: port@1 {
101 reg = <1>;
102 #trigger-source-cells = <0>;
103 };
104 };