diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2022-06-20 20:57:10 +0300 |
---|---|---|
committer | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2022-06-22 14:58:00 +0300 |
commit | ff4275fa0737f2312880d6fb0a4f582a73342465 (patch) | |
tree | f65db3ee823a53abeb658d9fe54bef9aa3f33723 /arch/arm/boot/dts/exynos4412-tiny4412.dts | |
parent | f64bbfca314663886575b6fde16a5ba9afcda0fb (diff) | |
download | linux-ff4275fa0737f2312880d6fb0a4f582a73342465.tar.xz |
ARM: dts: exynos: add function to LED nodes in Tiny4412
Add common LED property - the function - to LED nodes in Tiny4412.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220620175716.132143-3-krzysztof.kozlowski@linaro.org
Diffstat (limited to 'arch/arm/boot/dts/exynos4412-tiny4412.dts')
-rw-r--r-- | arch/arm/boot/dts/exynos4412-tiny4412.dts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/exynos4412-tiny4412.dts b/arch/arm/boot/dts/exynos4412-tiny4412.dts index 017b26108bb0..04388c575efe 100644 --- a/arch/arm/boot/dts/exynos4412-tiny4412.dts +++ b/arch/arm/boot/dts/exynos4412-tiny4412.dts @@ -11,6 +11,7 @@ /dts-v1/; #include "exynos4412.dtsi" #include <dt-bindings/gpio/gpio.h> +#include <dt-bindings/leds/common.h> / { model = "FriendlyARM TINY4412 board based on Exynos4412"; @@ -30,6 +31,7 @@ led1 { label = "led1"; + function = LED_FUNCTION_HEARTBEAT; gpios = <&gpm4 0 GPIO_ACTIVE_LOW>; default-state = "off"; linux,default-trigger = "heartbeat"; @@ -49,6 +51,7 @@ led4 { label = "led4"; + function = LED_FUNCTION_DISK_ACTIVITY; gpios = <&gpm4 3 GPIO_ACTIVE_LOW>; default-state = "off"; linux,default-trigger = "mmc0"; |