[PATCH 22/48] ARM: dts: gr-peach: Add user led device nodes

Sergei Shtylyov sergei.shtylyov at cogentembedded.com
Sat Sep 30 03:36:18 PDT 2017


Hello!

On 9/29/2017 2:53 PM, Simon Horman wrote:

> From: Jacopo Mondi <jacopo+renesas at jmondi.org>
> 
> Add device nodes for user leds on gr-peach board.
> 
> Signed-off-by: Jacopo Mondi <jacopo+renesas at jmondi.org>
> Reviewed-by: Geert Uytterhoeven <geert+renesas at glider.be>
> Signed-off-by: Simon Horman <horms+renesas at verge.net.au>
> ---
>   arch/arm/boot/dts/r7s72100-gr-peach.dts | 10 ++++++++++
>   1 file changed, 10 insertions(+)
> 
> 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
[...]
> @@ -51,6 +52,15 @@
>   			reg = <0x00600000 0x00200000>;
>   		};
>   	};
> +
> +leds {

    Not indented properly...

> +		status = "okay";
> +		compatible = "gpio-leds";
> +
> +		led1 {
> +			gpios = <&port6 12 GPIO_ACTIVE_HIGH>;
> +		};
> +	};
>   };
>   
>   &pinctrl {

MBR, Sergei



More information about the linux-arm-kernel mailing list