arm64: dts: allwinner: h6: orangepi: Add device nodes for LEDs
[linux-2.6-microblaze.git] / arch / arm64 / boot / dts / allwinner / sun50i-h6-orangepi.dtsi
index f16b7ff..b2526da 100644 (file)
                stdout-path = "serial0:115200n8";
        };
 
+       leds {
+               compatible = "gpio-leds";
+
+               power {
+                       label = "orangepi:red:power";
+                       gpios = <&r_pio 0 4 GPIO_ACTIVE_HIGH>; /* PL4 */
+                       default-state = "on";
+               };
+
+               status {
+                       label = "orangepi:green:status";
+                       gpios = <&r_pio 0 7 GPIO_ACTIVE_HIGH>; /* PL7 */
+               };
+       };
+
        reg_vcc5v: vcc5v {
                /* board wide 5V supply directly from the DC jack */
                compatible = "regulator-fixed";