Commit 1485b635 authored by Fabrizio Castro's avatar Fabrizio Castro Committed by Simon Horman
Browse files

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: default avatarFabrizio Castro <fabrizio.castro@bp.renesas.com>
Reviewed-by: default avatarSimon Horman <horms+renesas@verge.net.au>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent 3ba27637
Loading
Loading
Loading
Loading
+24 −0
Original line number Diff line number Diff line
@@ -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";