ramips: fix multi colour led handling
[openwrt/staging/lynxis.git] / target / linux / ramips / dts / PSG1218A.dts
index f48ac1deb6351e5d0e7e95598fe762d6d596ab5a..5065b79462f541e3c4eccf8f46eb529fc4eb5acd 100644 (file)
                led_blue: blue {
                        label = "psg1218a:blue:status";
                        gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
+                       default-state = "on";
                };
 
                yellow {
                        label = "psg1218a:yellow:status";
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
+                       default-state = "off";
                };
 
                red {
                        label = "psg1218a:red:status";
-                               gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
+                       gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
+                       default-state = "off";
                };
        };
 };