Commit 9d68a386 authored by Kieran Bingham's avatar Kieran Bingham Committed by Geert Uytterhoeven
Browse files

arm64: dts: renesas: falcon-cpu: Add GP LEDs



Three general purpose LEDs are provided on the Falcon CPU board.

Connect GP_LED1, GP_LED2, and GP_LED3 to the gpio-leds frameworks as
indicator LEDs.

These LEDs are arranged in a block of four LEDs on the board itself, but
the fourth LED is as yet unidentified.

Signed-off-by: default avatarKieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Link: https://lore.kernel.org/r/20210322172013.1152121-1-kieran.bingham+renesas@ideasonboard.com


Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
parent c7b22b50
Loading
Loading
Loading
Loading
+25 −0
Original line number Diff line number Diff line
@@ -6,6 +6,8 @@
 */

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/leds/common.h>

#include "r8a779a0.dtsi"

/ {
@@ -20,6 +22,29 @@ chosen {
		stdout-path = "serial0:115200n8";
	};

	leds {
		compatible = "gpio-leds";

		led-1 {
			gpios = <&gpio4 18 GPIO_ACTIVE_HIGH>;
			color = <LED_COLOR_ID_GREEN>;
			function = LED_FUNCTION_INDICATOR;
			function-enumerator = <1>;
		};
		led-2 {
			gpios = <&gpio4 19 GPIO_ACTIVE_HIGH>;
			color = <LED_COLOR_ID_GREEN>;
			function = LED_FUNCTION_INDICATOR;
			function-enumerator = <2>;
		};
		led-3 {
			gpios = <&gpio4 20 GPIO_ACTIVE_HIGH>;
			color = <LED_COLOR_ID_GREEN>;
			function = LED_FUNCTION_INDICATOR;
			function-enumerator = <3>;
		};
	};

	memory@48000000 {
		device_type = "memory";
		/* first 128MB is reserved for secure area. */