]> git.ipfire.org Git - thirdparty/u-boot.git/blobdiff - src/arm64/qcom/msm8939-longcheer-l9100.dts
Squashed 'dts/upstream/' changes from aaba2d45dc2a..b35b9bd1d4ee
[thirdparty/u-boot.git] / src / arm64 / qcom / msm8939-longcheer-l9100.dts
index 6802714fda3f57a2841d3f69d05a45e64ad9e025..e3404c4455cf8d08d559cd4554c7898d10c68024 100644 (file)
@@ -8,6 +8,7 @@
 #include <dt-bindings/input/input.h>
 #include <dt-bindings/interrupt-controller/irq.h>
 #include <dt-bindings/leds/common.h>
+#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
 #include <dt-bindings/pinctrl/qcom,pmic-mpp.h>
 
 / {
 
 };
 
+&blsp_i2c2 {
+       status = "okay";
+
+       led-controller@30 {
+               compatible = "kinetic,ktd2026";
+               reg = <0x30>;
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               vin-supply = <&pm8916_l17>;
+               vio-supply = <&pm8916_l6>;
+
+               pinctrl-0 = <&status_led_default>;
+               pinctrl-names = "default";
+
+               multi-led {
+                       color = <LED_COLOR_ID_RGB>;
+                       function = LED_FUNCTION_STATUS;
+
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+
+                       led@0 {
+                               reg = <0>;
+                               color = <LED_COLOR_ID_RED>;
+                       };
+
+                       led@1 {
+                               reg = <1>;
+                               color = <LED_COLOR_ID_GREEN>;
+                       };
+
+                       led@2 {
+                               reg = <2>;
+                               color = <LED_COLOR_ID_BLUE>;
+                       };
+               };
+       };
+};
+
 &blsp_i2c3 {
        status = "okay";
 
        light-sensor@23 {
                compatible = "liteon,ltr559";
                reg = <0x23>;
+               proximity-near-level = <75>;
 
                vdd-supply = <&pm8916_l17>;
                vddio-supply = <&pm8916_l5>;
        status = "okay";
 };
 
+&pm8916_gpios {
+       status_led_default: status-led-default-state {
+               pins = "gpio3";
+               function = PMIC_GPIO_FUNC_NORMAL;
+               power-source = <PM8916_GPIO_VPH>;
+               bias-disable;
+               output-high;
+       };
+};
+
 &pm8916_mpps {
        pwm_out: mpp4-state {
                pins = "mpp4";
        compatible = "qcom,wcn3620";
 };
 
+&wcnss_mem {
+       status = "okay";
+};
+
 &tlmm {
        button_backlight_default: button-backlight-default-state {
                pins = "gpio17";