ramips: add support for TRENDnet TEW-810DR
[oweals/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 &leds {
19         led3g {
20                 label = "tp-link:green:3g";
21                 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
22                 trigger-sources = <&hub_port>;
23                 linux,default-trigger = "usbport";
24         };
25 };
26
27 &usb {
28         #address-cells = <1>;
29         #size-cells = <0>;
30         status = "okay";
31
32         hub_port: port@1 {
33                 reg = <1>;
34                 #trigger-source-cells = <0>;
35         };
36 };
37
38 &usb_phy {
39         status = "okay";
40 };