]> git.ipfire.org Git - thirdparty/u-boot.git/blobdiff - src/arm64/qcom/sdm845-oneplus-common.dtsi
Squashed 'dts/upstream/' changes from aaba2d45dc2a..b35b9bd1d4ee
[thirdparty/u-boot.git] / src / arm64 / qcom / sdm845-oneplus-common.dtsi
index b523b5fff70228061ca935cc0e90b5a82c9c595a..e821103d49c0ad38d17f69c1be1bd624e1c82918 100644 (file)
@@ -8,6 +8,7 @@
 /dts-v1/;
 
 #include <dt-bindings/input/linux-event-codes.h>
+#include <dt-bindings/leds/common.h>
 #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
 #include <dt-bindings/sound/qcom,q6afe.h>
 #include <dt-bindings/sound/qcom,q6asm.h>
        status = "okay";
 };
 
+&pmi8998_flash {
+       status = "okay";
+
+       led-0 {
+               function = LED_FUNCTION_FLASH;
+               color = <LED_COLOR_ID_WHITE>;
+               led-sources = <1>;
+               led-max-microamp = <500000>;
+               flash-max-microamp = <1500000>;
+               flash-max-timeout-us = <1280000>;
+       };
+
+       led-1 {
+               function = LED_FUNCTION_FLASH;
+               color = <LED_COLOR_ID_YELLOW>;
+               led-sources = <2>;
+               led-max-microamp = <500000>;
+               flash-max-microamp = <1500000>;
+               flash-max-timeout-us = <1280000>;
+       };
+};
+
 &q6afedai {
        qi2s@22 {
                reg = <22>;