Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

+3
+3
arch/arm/boot/dts/exynos4412-tiny4412.dts
··· 11 11 /dts-v1/; 12 12 #include "exynos4412.dtsi" 13 13 #include <dt-bindings/gpio/gpio.h> 14 + #include <dt-bindings/leds/common.h> 14 15 15 16 / { 16 17 model = "FriendlyARM TINY4412 board based on Exynos4412"; ··· 31 30 32 31 led1 { 33 32 label = "led1"; 33 + function = LED_FUNCTION_HEARTBEAT; 34 34 gpios = <&gpm4 0 GPIO_ACTIVE_LOW>; 35 35 default-state = "off"; 36 36 linux,default-trigger = "heartbeat"; ··· 51 49 52 50 led4 { 53 51 label = "led4"; 52 + function = LED_FUNCTION_DISK_ACTIVITY; 54 53 gpios = <&gpm4 3 GPIO_ACTIVE_LOW>; 55 54 default-state = "off"; 56 55 linux,default-trigger = "mmc0";