diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2022-06-20 19:57:15 +0200 |
---|---|---|
committer | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2022-06-22 13:58:01 +0200 |
commit | 99f6b77f74c88ac1bc4c81e089dd0cbbf882aea6 (patch) | |
tree | 733136fbc4c5556ffdc5d234a82d3b56d7e04758 /arch/arm/boot/dts/exynos5422-odroidxu4.dts | |
parent | f0945faa4a1a23d288ca8b92abab10d5145f33a1 (diff) | |
download | linux-next-99f6b77f74c88ac1bc4c81e089dd0cbbf882aea6.tar.gz |
ARM: dts: exynos: add function and color to LED node in Odroid XU4
Add common LED properties - the function and color - to LED node in
Exynos5422 Odroid XU4, so we can drop deprecated label property.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220620175716.132143-8-krzysztof.kozlowski@linaro.org
Diffstat (limited to 'arch/arm/boot/dts/exynos5422-odroidxu4.dts')
-rw-r--r-- | arch/arm/boot/dts/exynos5422-odroidxu4.dts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/exynos5422-odroidxu4.dts b/arch/arm/boot/dts/exynos5422-odroidxu4.dts index 1c24f9b35973..f5fb617f46bd 100644 --- a/arch/arm/boot/dts/exynos5422-odroidxu4.dts +++ b/arch/arm/boot/dts/exynos5422-odroidxu4.dts @@ -9,6 +9,7 @@ */ /dts-v1/; +#include <dt-bindings/leds/common.h> #include <dt-bindings/sound/samsung-i2s.h> #include "exynos5422-odroidxu3-common.dtsi" @@ -21,7 +22,8 @@ compatible = "pwm-leds"; led-1 { - label = "blue:heartbeat"; + function = LED_FUNCTION_HEARTBEAT; + color = <LED_COLOR_ID_BLUE>; pwms = <&pwm 2 2000000 0>; pwm-names = "pwm2"; max-brightness = <255>; |