lantiq: define default leds in dts files
[openwrt/openwrt.git] / target / linux / lantiq / dts / ARV4518PWR01.dtsi
index 0699707..41d17de 100644 (file)
@@ -3,6 +3,14 @@
 / {
        chosen {
                bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
+
+               leds {
+                       dsl = &dsl;
+                       internet = &online;
+                       power = &power;
+                       usb = &usb;
+                       wifi = &wifi;
+               };
        };
 
        memory@0 {
 
        gpio-leds {
                compatible = "gpio-leds";
-               power {
+               power: power {
                        label = "power";
                        gpios = <&gpio 3 0>;
                };
-               dsl {
+               dsl: dsl {
                        label = "dsl";
                        gpios = <&gpio 4 1>;
                };
-               online {
+               online: online {
                        label = "online";
                        gpios = <&gpio 5 1>;
                };
-               wifi {
+               wifi: wifi {
                        label = "wifi";
                        gpios = <&gpio 6 1>;
                };
                        label = "dsl2";
                        gpios = <&gpio 8 1>;
                };
-               usb {
+               usb: usb {
                        label = "usb";
                        gpios = <&gpio 19 1>;
                };