ARM: shmobile: Koelsch DT reference GPIO LED support
Subsystems (2)
PATCH 1/1 ARM: shmobile: Koelsch DT reference GPIO LED support
From: Magnus Damm <[email protected]>
Add led6, led7 and led8 to the Koelsch DT reference board support.
Signed-off-by Magnus Damm <[email protected]>
---
arch/arm/boot/dts/r8a7791-koelsch-reference.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+)
arch/arm/boot/dts/r8a7791-koelsch-reference.dts +14 -0
@@ -11,6 +11,7 @@ /dts-v1/; #include "r8a7791.dtsi" +#include <dt-bindings/gpio/gpio.h> / { model = "Koelsch";
@@ -29,6 +30,19 @@ #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 {
PATCH 1/1 ARM: shmobile: Koelsch DT reference GPIO LED support
Quoted 5 lines · Magnus Damm
From: Magnus Damm <[email protected]>
Add led6, led7 and led8 to the Koelsch DT reference board support.
Signed-off-by Magnus Damm <[email protected]>
Thanks, I have queued this up.
Quoted 36 lines
---
arch/arm/boot/dts/r8a7791-koelsch-reference.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+)arch/arm/boot/dts/r8a7791-koelsch-reference.dts +14
-0@@ -11,6 +11,7 @@ /dts-v1/; #include "r8a7791.dtsi" +#include <dt-bindings/gpio/gpio.h> / { model = "Koelsch";@@ -29,6 +30,19 @@ #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 {