From: Lad Prabhakar Date: Mon, 7 Sep 2020 15:55:41 +0000 (+0100) Subject: ARM: dts: r8a7742-iwg21d-q7: Enable SD2 LED indication X-Git-Tag: Ubuntu-5.13.0-19.19~4749^2~36^2~17 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=8feb348406115e2cc5508efd6f94173a112b8c7c;p=mirror_ubuntu-jammy-kernel.git ARM: dts: r8a7742-iwg21d-q7: Enable SD2 LED indication Add support for LED trigger on SD2 interface. Signed-off-by: Lad Prabhakar Reviewed-by: Chris Paterson Link: https://lore.kernel.org/r/20200907155541.2011-4-prabhakar.mahadev-lad.rj@bp.renesas.com Signed-off-by: Geert Uytterhoeven --- diff --git a/arch/arm/boot/dts/r8a7742-iwg21d-q7.dts b/arch/arm/boot/dts/r8a7742-iwg21d-q7.dts index 7291c9799c5b..c2c05c9685d1 100644 --- a/arch/arm/boot/dts/r8a7742-iwg21d-q7.dts +++ b/arch/arm/boot/dts/r8a7742-iwg21d-q7.dts @@ -52,6 +52,16 @@ clock-frequency = <26000000>; }; + leds { + compatible = "gpio-leds"; + + sdhi2_led { + label = "sdio-led"; + gpios = <&gpio5 22 GPIO_ACTIVE_HIGH>; + linux,default-trigger = "mmc1"; + }; + }; + reg_1p5v: 1p5v { compatible = "regulator-fixed"; regulator-name = "1P5V";