ARM: dts: genmai: Add user led device nodes

Add device nodes for user leds on Genmai board.

Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
This commit is contained in:
Jacopo Mondi 2017-06-22 16:54:35 +02:00 committed by Simon Horman
parent 2d164e690f
commit 55ec65552d
1 changed files with 14 additions and 0 deletions

View File

@ -11,6 +11,7 @@
/dts-v1/;
#include "r7s72100.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/pinctrl/r7s72100-pinctrl.h>
/ {
@ -35,6 +36,19 @@
#address-cells = <1>;
#size-cells = <1>;
};
leds {
status = "okay";
compatible = "gpio-leds";
led1 {
gpios = <&port4 10 GPIO_ACTIVE_LOW>;
};
led2 {
gpios = <&port4 11 GPIO_ACTIVE_LOW>;
};
};
};
&pinctrl {