1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
7 #include "qca953x.dtsi"
10 compatible = "tplink,archer-d50-v1", "qca,qca9531";
11 model = "TP-Link Archer D50 v1";
14 bootargs = "console=ttyS0,115200n8";
18 compatible = "gpio-leds";
21 label = "tp-link:white:wlan2g";
22 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
23 linux,default-trigger = "phy0tpt";
27 label = "tp-link:white:wlan5g";
28 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
29 linux,default-trigger = "phy1tpt";
33 label = "tp-link:white:qss";
34 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
38 label = "tp-link:white:wan";
39 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
43 label = "tp-link:white:lan";
44 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
48 label = "tp-link:white:usb";
49 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
50 trigger-sources = <&hub_port0>;
51 linux,default-trigger = "usbport";
55 label = "tp-link:white:internet";
56 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
60 label = "tp-link:white:system";
61 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
67 compatible = "gpio-keys";
70 label = "Reset button";
71 linux,code = <KEY_RESTART>;
72 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
76 label = "RFKILL button";
77 linux,code = <KEY_RFKILL>;
78 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
83 linux,code = <KEY_WPS_BUTTON>;
84 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
97 compatible = "jedec,spi-nor";
99 spi-max-frequency = <10000000>;
102 compatible = "fixed-partitions";
103 #address-cells = <1>;
108 reg = <0x000000 0x020000>;
113 compatible = "tplink,firmware";
115 reg = <0x020000 0x7a0000>;
120 reg = <0x7c0000 0x010000>;
124 romfile: partition@7d0000 {
126 reg = <0x7d0000 0x010000>;
132 reg = <0x7e0000 0x010000>;
136 art: partition@7f0000 {
138 reg = <0x7f0000 0x010000>;
146 mtd-mac-address = <&romfile 0xf100>;
151 phy-handle = <&swphy4>;
153 mtd-mac-address = <&romfile 0xf100>;
154 mtd-mac-address-increment = <1>;
159 mtd-cal-data = <&art 0x1000>;
160 mtd-mac-address = <&romfile 0xf100>;
167 compatible = "pci168c,003c";
168 reg = <0x0000 0 0 0 0>;
177 #address-cells = <1>;
183 #trigger-source-cells = <0>;