ramips: set F5D8235 v1 usb led trigger via devicetree
[openwrt/openwrt.git] / target / linux / ramips / dts / VOCORE.dtsi
index 4c4522710edf9887c4a42cc20d9e3145f2bbdc2f..9b214dde891886de8f2e27ec8e2fd7dfb5bdd36e 100644 (file)
@@ -5,6 +5,10 @@
 / {
        compatible = "vocore,vocore", "ralink,rt5350-soc";
 
+       aliases {
+               led-status = &led_status;
+       };
+
        gpio-export {
                compatible = "gpio-export";
                #size-cells = <0>;
        gpio-leds {
                compatible = "gpio-leds";
 
-               status {
+               led_status: status {
                        /* UARTF_RXD */
                        label = "vocore:green:status";
                        gpios = <&gpio0 10 GPIO_ACTIVE_HIGH>;