mirror of https://gitee.com/openkylin/linux.git
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:
parent
35ff4c0edf
commit
a4604f4d24
|
@ -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 @@ lbsc {
|
|||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
};
|
||||
|
||||
leds {
|
||||
status = "okay";
|
||||
compatible = "gpio-leds";
|
||||
|
||||
led0 {
|
||||
gpios = <&port7 1 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&extal_clk {
|
||||
|
|
Loading…
Reference in New Issue