summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/exynos5422-odroidhc1.dts
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2022-06-20 20:57:14 +0300
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2022-06-22 14:58:01 +0300
commitf0945faa4a1a23d288ca8b92abab10d5145f33a1 (patch)
treea5d2e22da4a500f6e607969d136b014af3bea916 /arch/arm/boot/dts/exynos5422-odroidhc1.dts
parentbcad13fca717a56cddb334eb131edba92c6b5494 (diff)
downloadlinux-f0945faa4a1a23d288ca8b92abab10d5145f33a1.tar.xz
ARM: dts: exynos: add function and color to LED node in Odroid HC1
Add common LED properties - the function and color - to LED node in Exynos5422 Odroid HC1, so we can drop deprecated label property. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20220620175716.132143-7-krzysztof.kozlowski@linaro.org
Diffstat (limited to 'arch/arm/boot/dts/exynos5422-odroidhc1.dts')
-rw-r--r--arch/arm/boot/dts/exynos5422-odroidhc1.dts4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/exynos5422-odroidhc1.dts b/arch/arm/boot/dts/exynos5422-odroidhc1.dts
index d91f7fa2cf80..3de7019572a2 100644
--- a/arch/arm/boot/dts/exynos5422-odroidhc1.dts
+++ b/arch/arm/boot/dts/exynos5422-odroidhc1.dts
@@ -8,6 +8,7 @@
*/
/dts-v1/;
+#include <dt-bindings/leds/common.h>
#include "exynos5422-odroid-core.dtsi"
/ {
@@ -19,7 +20,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>;