Commit 2630a52f authored by Srinivas Kandagatla's avatar Srinivas Kandagatla Committed by Andy Gross

ARM: dts: apq8064-ifc6410: add notify led support.

This patch adds notify led support on IFC6410, whose trigger can be
configured from userspace.
Signed-off-by: default avatarSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: default avatarAndy Gross <agross@codeaurora.org>
parent f0b6d950
......@@ -26,6 +26,18 @@ sdcc4_pwrseq: sdcc4_pwrseq {
};
};
leds {
compatible = "gpio-leds";
pinctrl-names = "default";
pinctrl-0 = <&notify_led>;
led@1 {
label = "apq8064:green:user1";
gpios = <&pm8921_gpio 18 GPIO_ACTIVE_HIGH>;
default-state = "on";
};
};
soc {
pinctrl@800000 {
card_detect: card_detect {
......@@ -230,6 +242,15 @@ pios {
power-source = <PM8921_GPIO_S4>;
};
};
notify_led: nled {
pios {
pins = "gpio18";
function = "normal";
bias-disable;
power-source = <PM8921_GPIO_S4>;
};
};
};
};
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment