aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2022-06-20 19:57:09 +0200
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2022-06-22 13:58:00 +0200
commitf64bbfca314663886575b6fde16a5ba9afcda0fb (patch)
treeb91bd5fcb27f646159f21db82705018c265a850c
parentARM: dts: exynos: add function and color to aat1290 flash LED node in Galaxy S3 (diff)
downloadlinux-dev-f64bbfca314663886575b6fde16a5ba9afcda0fb.tar.xz
linux-dev-f64bbfca314663886575b6fde16a5ba9afcda0fb.zip
ARM: dts: exynos: add function to LED node in Origen 4210
Add common LED property - the function - to LED node in Origen 4210. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20220620175716.132143-2-krzysztof.kozlowski@linaro.org
Diffstat (limited to '')
-rw-r--r--arch/arm/boot/dts/exynos4210-origen.dts2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/exynos4210-origen.dts b/arch/arm/boot/dts/exynos4210-origen.dts
index bfdc21854914..5f37b751f700 100644
--- a/arch/arm/boot/dts/exynos4210-origen.dts
+++ b/arch/arm/boot/dts/exynos4210-origen.dts
@@ -15,6 +15,7 @@
#include "exynos4210.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
#include "exynos-mfc-reserved-memory.dtsi"
/ {
@@ -86,6 +87,7 @@
compatible = "gpio-leds";
status {
gpios = <&gpx1 3 GPIO_ACTIVE_LOW>;
+ function = LED_FUNCTION_HEARTBEAT;
linux,default-trigger = "heartbeat";
};
};