Hello!

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

From: Jacopo Mondi <[email protected]>

Add device nodes for user leds on gr-peach board.

Signed-off-by: Jacopo Mondi <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Simon Horman <[email protected]>
---
  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

Reply via email to