ramips: set usb led trigger via devicetree
[oweals/openwrt.git] / target / linux / ramips / dts / W2914NSV2.dts
1 /dts-v1/;
2
3 #include "W2914NSV2.dtsi"
4
5 / {
6         model = "WeVO W2914NS v2";
7
8         memory@0 {
9                 device_type = "memory";
10                 reg = <0x0 0x8000000>;
11         };
12
13         gpio-leds {
14                 compatible = "gpio-leds";
15
16                 usb {
17                         label = "w2914nsv2:green:usb";
18                         gpios = <&gpio0 27 GPIO_ACTIVE_LOW>;
19                         trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
20                         linux,default-trigger = "usbport";
21                 };
22         };
23 };