mpc85xx: use generic diag.sh
[openwrt/staging/mkresin.git] / target / linux / mpc85xx / files / arch / powerpc / boot / dts / hiveap-330.dts
index 5e732664aa736628e59dbabe6e7c7c4dd52a4394..c4abc905e9802d1080e6fdbbf2396f3f029933e2 100644 (file)
        model = "Aerohive HiveAP-330";
        compatible = "aerohive,hiveap-330";
 
+       aliases {
+               led-boot = &tricolor_green;
+               led-failsafe = &tricolor_red;
+               led-running = &tricolor_green;
+               led-upgrade = &tricolor_red;
+       };
+
        chosen {
                bootargs-override = "console=ttyS0,9600";
        };
                                compatible = "national,lp5521";
                                reg = <0x32>;
                                clock-mode = /bits/ 8 <2>;
-                               chan0 {
+                               tricolor_red: chan0 {
                                        chan-name = "hiveap-330:red:tricolor0";
                                        led-cur = /bits/ 8 <0x2f>;
                                        max-cur = /bits/ 8 <0x5f>;
                                };
-                               chan1 {
+                               tricolor_green:chan1 {
                                        chan-name = "hiveap-330:green:tricolor0";
                                        led-cur = /bits/ 8 <0x2f>;
                                        max-cur = /bits/ 8 <0x5f>;