diff options
author | Fabrizio Castro <fabrizio.castro@bp.renesas.com> | 2019-03-01 14:03:32 +0300 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2019-03-18 12:33:20 +0300 |
commit | dc0b439471323521a20314934080f51e8589fd19 (patch) | |
tree | 492fca54c83054ce475225bceec29b146c9c70fe /arch/arm64/boot/dts/renesas | |
parent | 07e72397f722d3a522991dcba82ce2ddb8c3c6e1 (diff) | |
download | linux-dc0b439471323521a20314934080f51e8589fd19.tar.xz |
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')
-rw-r--r-- | arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts | 24 |
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. */ |