Add support for LED trigger on SD2 interface.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad...@bp.renesas.com>
Reviewed-by: Chris Paterson <chris.paters...@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+rene...@glider.be>
---
 arch/arm/boot/dts/r8a7742-iwg21d-q7.dts | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7742-iwg21d-q7.dts 
b/arch/arm/boot/dts/r8a7742-iwg21d-q7.dts
index 66881a473d6c..e45b502d61cb 100644
--- a/arch/arm/boot/dts/r8a7742-iwg21d-q7.dts
+++ b/arch/arm/boot/dts/r8a7742-iwg21d-q7.dts
@@ -63,6 +63,16 @@
                enable-gpios = <&gpio3 11 GPIO_ACTIVE_HIGH>;
        };
 
+       leds {
+               compatible = "gpio-leds";
+
+               sdhi2_led {
+                       label = "sdio-led";
+                       gpios = <&gpio5 22 GPIO_ACTIVE_HIGH>;
+                       linux,default-trigger = "mmc1";
+               };
+       };
+
        lvds-receiver {
                compatible = "ti,ds90cf384a", "lvds-decoder";
                vcc-supply = <&vcc_3v3_tft1>;
-- 
2.17.1

Reply via email to