diff --git a/arch/arm64/boot/dts/qcom/sm8250-pico4-phoenix.dts b/arch/arm64/boot/dts/qcom/sm8250-pico4-phoenix.dts index 7987a6ddae22..f36fec0a1b51 100644 --- a/arch/arm64/boot/dts/qcom/sm8250-pico4-phoenix.dts +++ b/arch/arm64/boot/dts/qcom/sm8250-pico4-phoenix.dts @@ -12,12 +12,15 @@ #include #include #include +#include #include #include #include "sm8250.dtsi" #include "pm8150.dtsi" /* PM8150B: the charger and fuel gauge's PMIC (its temperature alarm, ADC and GPIOs here). */ #include "pm8150b.dtsi" +/* PM8150L: the status LED on its LPG (and its temperature alarm, ADC and GPIOs). */ +#include "pm8150l.dtsi" / { model = "PICO 4 (phoenix)"; @@ -439,6 +442,38 @@ }; }; +/* + * The status LED: the tri-colour LED on the PM8150L's LPG channels 1 to 3 (red, green, blue), as the stock + * tree's pm8150l_rgb_led has it. A user-space service sets it as PICO OS does; until then it keeps what + * the bootloader left. + */ +&pm8150l_lpg { + status = "okay"; + + multi-led { + color = ; + function = LED_FUNCTION_STATUS; + default-state = "keep"; + #address-cells = <1>; + #size-cells = <0>; + + led@1 { + reg = <1>; + color = ; + }; + + led@2 { + reg = <2>; + color = ; + }; + + led@3 { + reg = <3>; + color = ; + }; + }; +}; + /* * The stock loader holds a bus vote from the compute DSP to its memory NoC while it starts * (master 154 to slave 10070, the path mainline names qnm_npu to qns_cdsp_mem_noc); without