ARM: dts: rskrza1: Add LED0 pin support

Add pin configuration for LED0 which is connected to a GPIO.

Signed-off-by: Chris Brandt <chris.brandt@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
This commit is contained in:
Chris Brandt 2017-07-20 13:20:19 -05:00 committed by Simon Horman
parent 35ff4c0edf
commit a4604f4d24
1 changed files with 10 additions and 0 deletions

View File

@ -10,6 +10,7 @@
/dts-v1/;
#include "r7s72100.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/pinctrl/r7s72100-pinctrl.h>
/ {
@ -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 {