Skip to content

Commit 01ba47f

Browse files
setotauminlexx
authored andcommitted
arm64: dts: qcom: sdm660-xiaomi-clover: add RGB-LED indicator
Signed-off-by: Nickolay Goppen <killubuntoid@yandex.ru>
1 parent 21b96da commit 01ba47f

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

arch/arm64/boot/dts/qcom/sdm660-xiaomi-clover-common.dtsi

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#include <dt-bindings/input/input.h>
1111
#include <dt-bindings/input/gpio-keys.h>
1212
#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
13+
#include <dt-bindings/leds/common.h>
1314

1415
/delete-node/ &adsp_region;
1516
/delete-node/ &buffer_mem;
@@ -151,6 +152,25 @@
151152
};
152153
};
153154

155+
&pm660l_lpg {
156+
qcom,power-source = <1>;
157+
158+
status = "okay";
159+
160+
multi-led {
161+
color = <LED_COLOR_ID_RGB>;
162+
function = LED_FUNCTION_STATUS;
163+
164+
#address-cells = <1>;
165+
#size-cells = <0>;
166+
167+
led@3 {
168+
reg = <3>;
169+
color = <LED_COLOR_ID_RED>;
170+
};
171+
};
172+
};
173+
154174
&blsp1_uart2 {
155175
status = "disabled";
156176
};

0 commit comments

Comments
 (0)