ath79: add WNDR3700 and WNDR3700v2
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar7241_tplink_tl-mr3x20.dtsi
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "ar7241_tplink.dtsi"
4
5 / {
6 gpio-export {
7 compatible = "gpio-export";
8 #size-cells = <0>;
9
10 gpio_usb_power {
11 gpio-export,name = "tp-link:power:usb";
12 gpio-export,output = <1>;
13 gpios = <&gpio 6 GPIO_ACTIVE_HIGH>;
14 };
15 };
16 };
17
18 &gpio_leds {
19 led3g {
20 label = "tp-link:green:3g";
21 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
22 default-state = "off";
23 trigger-sources = <&hub_port>;
24 linux,default-trigger = "usbport";
25 };
26 };
27
28 &usb {
29 #address-cells = <1>;
30 #size-cells = <0>;
31 status = "okay";
32
33 hub_port: port@1 {
34 reg = <1>;
35 #trigger-source-cells = <0>;
36 };
37 };
38
39 &usb_phy {
40 status = "okay";
41 };