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
This commit is contained in:
parent
ebadc8a636
commit
f64bbfca31
@ -15,6 +15,7 @@
|
|||||||
#include "exynos4210.dtsi"
|
#include "exynos4210.dtsi"
|
||||||
#include <dt-bindings/gpio/gpio.h>
|
#include <dt-bindings/gpio/gpio.h>
|
||||||
#include <dt-bindings/input/input.h>
|
#include <dt-bindings/input/input.h>
|
||||||
|
#include <dt-bindings/leds/common.h>
|
||||||
#include "exynos-mfc-reserved-memory.dtsi"
|
#include "exynos-mfc-reserved-memory.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
@ -86,6 +87,7 @@
|
|||||||
compatible = "gpio-leds";
|
compatible = "gpio-leds";
|
||||||
status {
|
status {
|
||||||
gpios = <&gpx1 3 GPIO_ACTIVE_LOW>;
|
gpios = <&gpx1 3 GPIO_ACTIVE_LOW>;
|
||||||
|
function = LED_FUNCTION_HEARTBEAT;
|
||||||
linux,default-trigger = "heartbeat";
|
linux,default-trigger = "heartbeat";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user