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>
---
 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 070fc9729b39..6d31d2401481 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_LOW>;
+                       linux,default-trigger = "mmc1";
+               };
+       };
+
        lvds-receiver {
                compatible = "ti,ds90cf384a", "lvds-decoder";
                vcc-supply = <&vcc_3v3_tft1>;
-- 
2.17.1

Reply via email to