summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/renesas/hihope-common.dtsi
diff options
context:
space:
mode:
authorFabrizio Castro <fabrizio.castro@bp.renesas.com>2019-06-14 16:14:35 +0300
committerSimon Horman <horms+renesas@verge.net.au>2019-06-18 13:39:58 +0300
commit1485b6353a9940c5ac5d3f90880207ac95b4e350 (patch)
tree1061ab17f4e27146a78e151c9985506b02a9f8b6 /arch/arm64/boot/dts/renesas/hihope-common.dtsi
parent3ba27637d8019d5bfea4ca25302b0d08bb6a1736 (diff)
downloadlinux-1485b6353a9940c5ac5d3f90880207ac95b4e350.tar.xz
arm64: dts: renesas: hihope-common: Add LEDs support
This patch adds LEDs support to the HiHope RZ/G2[MN] Main Board common device tree. Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com> Reviewed-by: Simon Horman <horms+renesas@verge.net.au> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm64/boot/dts/renesas/hihope-common.dtsi')
-rw-r--r--arch/arm64/boot/dts/renesas/hihope-common.dtsi24
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/renesas/hihope-common.dtsi b/arch/arm64/boot/dts/renesas/hihope-common.dtsi
index 6a45c49c24dc..625c3aaead14 100644
--- a/arch/arm64/boot/dts/renesas/hihope-common.dtsi
+++ b/arch/arm64/boot/dts/renesas/hihope-common.dtsi
@@ -17,6 +17,30 @@
stdout-path = "serial0:115200n8";
};
+ leds {
+ compatible = "gpio-leds";
+
+ led0 {
+ gpios = <&gpio6 11 GPIO_ACTIVE_HIGH>;
+ label = "LED0";
+ };
+
+ led1 {
+ gpios = <&gpio6 12 GPIO_ACTIVE_HIGH>;
+ label = "LED1";
+ };
+
+ led2 {
+ gpios = <&gpio6 13 GPIO_ACTIVE_HIGH>;
+ label = "LED2";
+ };
+
+ led3 {
+ gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
+ label = "LED3";
+ };
+ };
+
reg_1p8v: regulator0 {
compatible = "regulator-fixed";
regulator-name = "fixed-1.8V";