]> Pileus Git - ~andy/linux/blobdiff - arch/arm/boot/dts/r8a7791-koelsch-reference.dts
ARM: shmobile: Koelsch DT reference GPIO LED support
[~andy/linux] / arch / arm / boot / dts / r8a7791-koelsch-reference.dts
index 8e7e917d66b6da2c409ec1bb70d37ccb1666fde1..19192731c24a60871d2d6370c830e2a2eb24bf5f 100644 (file)
@@ -11,6 +11,7 @@
 
 /dts-v1/;
 #include "r8a7791.dtsi"
+#include <dt-bindings/gpio/gpio.h>
 
 / {
        model = "Koelsch";
                #address-cells = <1>;
                #size-cells = <1>;
        };
+
+       leds {
+               compatible = "gpio-leds";
+               led6 {
+                       gpios = <&gpio2 19 GPIO_ACTIVE_HIGH>;
+               };
+               led7 {
+                       gpios = <&gpio2 20 GPIO_ACTIVE_HIGH>;
+               };
+               led8 {
+                       gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>;
+               };
+       };
 };
 
 &pfc {