From: Jacopo Mondi Date: Thu, 24 Aug 2017 08:48:43 +0000 (+0200) Subject: ARM: dts: gr-peach: Add user led device nodes X-Git-Tag: Ubuntu-5.4-5.4.0-11.14~6514^2~47^2~26 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=cfce5ac1aaf08fc0920d6572779360f80e8f3489;p=mirror_ubuntu-focal-kernel.git ARM: dts: gr-peach: Add user led device nodes Add device nodes for user leds on gr-peach board. Signed-off-by: Jacopo Mondi Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- diff --git a/arch/arm/boot/dts/r7s72100-gr-peach.dts b/arch/arm/boot/dts/r7s72100-gr-peach.dts index bcfa6445bbaa..13d745bb56a5 100644 --- a/arch/arm/boot/dts/r7s72100-gr-peach.dts +++ b/arch/arm/boot/dts/r7s72100-gr-peach.dts @@ -11,6 +11,7 @@ /dts-v1/; #include "r7s72100.dtsi" +#include #include / { @@ -51,6 +52,15 @@ reg = <0x00600000 0x00200000>; }; }; + +leds { + status = "okay"; + compatible = "gpio-leds"; + + led1 { + gpios = <&port6 12 GPIO_ACTIVE_HIGH>; + }; + }; }; &pinctrl {