From: Chris Brandt Date: Thu, 20 Jul 2017 18:20:19 +0000 (-0500) Subject: ARM: dts: rskrza1: Add LED0 pin support X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a4604f4d245fe58aac3bc792296ef2e9ec774e12;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git ARM: dts: rskrza1: Add LED0 pin support Add pin configuration for LED0 which is connected to a GPIO. Signed-off-by: Chris Brandt Signed-off-by: Simon Horman --- diff --git a/arch/arm/boot/dts/r7s72100-rskrza1.dts b/arch/arm/boot/dts/r7s72100-rskrza1.dts index f8285b951140..5dcaaf131d27 100644 --- a/arch/arm/boot/dts/r7s72100-rskrza1.dts +++ b/arch/arm/boot/dts/r7s72100-rskrza1.dts @@ -10,6 +10,7 @@ /dts-v1/; #include "r7s72100.dtsi" +#include #include / { @@ -34,6 +35,15 @@ #address-cells = <1>; #size-cells = <1>; }; + + leds { + status = "okay"; + compatible = "gpio-leds"; + + led0 { + gpios = <&port7 1 GPIO_ACTIVE_LOW>; + }; + }; }; &extal_clk {