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>
This commit is contained in:
Fabrizio Castro 2019-06-14 14:14:35 +01:00 committed by Simon Horman
parent 3ba27637d8
commit 1485b6353a

View File

@ -17,6 +17,30 @@ chosen {
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";