提交 a4604f4d 编写于 作者: C Chris Brandt 提交者: Simon Horman

ARM: dts: rskrza1: Add LED0 pin support

Add pin configuration for LED0 which is connected to a GPIO.
Signed-off-by: NChris Brandt <chris.brandt@renesas.com>
Signed-off-by: NSimon Horman <horms+renesas@verge.net.au>
上级 35ff4c0e
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
/dts-v1/; /dts-v1/;
#include "r7s72100.dtsi" #include "r7s72100.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/pinctrl/r7s72100-pinctrl.h> #include <dt-bindings/pinctrl/r7s72100-pinctrl.h>
/ { / {
...@@ -34,6 +35,15 @@ ...@@ -34,6 +35,15 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
}; };
leds {
status = "okay";
compatible = "gpio-leds";
led0 {
gpios = <&port7 1 GPIO_ACTIVE_LOW>;
};
};
}; };
&extal_clk { &extal_clk {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册