mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-15 06:55:13 +08:00
arm64: dts: qcom: msm8916-longcheer-l8150: Add notification LED
L8150 uses aw2013 LED contriller for notification LED on the front of the device. Add it to the device tree Reviewed-by: Stephan Gerhold <stephan@gerhold.net> Signed-off-by: Nikita Travkin <nikitos.tr@gmail.com> Link: https://lore.kernel.org/r/20201113175917.189123-5-nikitos.tr@gmail.com Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
This commit is contained in:
parent
6b4ad4be64
commit
38260b9e63
@ -83,6 +83,40 @@
|
||||
};
|
||||
};
|
||||
|
||||
&blsp_i2c1 {
|
||||
status = "okay";
|
||||
|
||||
led-controller@45 {
|
||||
compatible = "awinic,aw2013";
|
||||
reg = <0x45>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
vcc-supply = <&pm8916_l17>;
|
||||
|
||||
led@0 {
|
||||
reg = <0>;
|
||||
led-max-microamp = <5000>;
|
||||
function = LED_FUNCTION_INDICATOR;
|
||||
color = <LED_COLOR_ID_RED>;
|
||||
};
|
||||
|
||||
led@1 {
|
||||
reg = <1>;
|
||||
led-max-microamp = <5000>;
|
||||
function = LED_FUNCTION_INDICATOR;
|
||||
color = <LED_COLOR_ID_GREEN>;
|
||||
};
|
||||
|
||||
led@2 {
|
||||
reg = <2>;
|
||||
led-max-microamp = <5000>;
|
||||
function = LED_FUNCTION_INDICATOR;
|
||||
color = <LED_COLOR_ID_BLUE>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&blsp_i2c2 {
|
||||
status = "okay";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user