aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts
diff options
context:
space:
mode:
authorFabrizio Castro <fabrizio.castro@bp.renesas.com>2019-03-01 11:03:32 +0000
committerSimon Horman <horms+renesas@verge.net.au>2019-03-18 10:33:20 +0100
commitdc0b439471323521a20314934080f51e8589fd19 (patch)
tree492fca54c83054ce475225bceec29b146c9c70fe /arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts
parentarm64: dts: renesas: r8a774c0-cat874: add RTC support (diff)
downloadlinux-dev-dc0b439471323521a20314934080f51e8589fd19.tar.xz
linux-dev-dc0b439471323521a20314934080f51e8589fd19.zip
arm64: dts: renesas: r8a774c0-cat874: Add LEDs support
This patch adds LEDs support to the CAT874 board specific device tree. Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts')
-rw-r--r--arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts24
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts b/arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts
index 18ff79c37561..959919af5628 100644
--- a/arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts
+++ b/arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts
@@ -22,6 +22,30 @@
stdout-path = "serial0:115200n8";
};
+ leds {
+ compatible = "gpio-leds";
+
+ led0 {
+ gpios = <&gpio5 19 GPIO_ACTIVE_HIGH>;
+ label = "LED0";
+ };
+
+ led1 {
+ gpios = <&gpio3 14 GPIO_ACTIVE_HIGH>;
+ label = "LED1";
+ };
+
+ led2 {
+ gpios = <&gpio4 10 GPIO_ACTIVE_HIGH>;
+ label = "LED2";
+ };
+
+ led3 {
+ gpios = <&gpio6 4 GPIO_ACTIVE_HIGH>;
+ label = "LED3";
+ };
+ };
+
memory@48000000 {
device_type = "memory";
/* first 128MB is reserved for secure area. */