Commit 6714f281 authored by Christian Hewitt's avatar Christian Hewitt Committed by Kevin Hilman
Browse files

arm64: dts: meson: update the Khadas VIM3/3L LED bindings



Update the VIM3/3L common dtsi to use the new function/color bindings.

Suggested-by: default avatarArtem Lapkin <art@khadas.com>
Signed-off-by: default avatarChristian Hewitt <christianshewitt@gmail.com>
Reviewed-by: default avatarNeil Armstrong <narmstrong@baylibre.com>
Signed-off-by: default avatarKevin Hilman <khilman@baylibre.com>
Link: https://lore.kernel.org/r/20201125052914.4092-1-christianshewitt@gmail.com
parent b6c605e0
Loading
Loading
Loading
Loading
+7 −4
Original line number Diff line number Diff line
@@ -6,6 +6,7 @@
 */

#include <dt-bindings/input/input.h>
#include <dt-bindings/leds/common.h>
#include <dt-bindings/gpio/meson-g12a-gpio.h>
#include <dt-bindings/sound/meson-g12a-tohdmitx.h>

@@ -42,14 +43,16 @@
	leds {
		compatible = "gpio-leds";

		led-white {
			label = "vim3:white:sys";
		white {
			color = <LED_COLOR_ID_WHITE>;
			function = LED_FUNCTION_STATUS;
			gpios = <&gpio_ao GPIOAO_4 GPIO_ACTIVE_HIGH>;
			linux,default-trigger = "heartbeat";
		};

		led-red {
			label = "vim3:red";
		red {
			color = <LED_COLOR_ID_RED>;
			function = LED_FUNCTION_STATUS;
			gpios = <&gpio_expander 5 GPIO_ACTIVE_HIGH>;
		};
	};