Merge tag 'timers-urgent-2020-12-27' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6-microblaze.git] / arch / arm / boot / dts / qcom-msm8974-lge-nexus5-hammerhead.dts
index 32b474b..e769f63 100644 (file)
 
                        usb_otg_vbus: usb-otg-vbus { };
                };
+
+               fuelgauge: max17048@36 {
+                       compatible = "maxim,max17048";
+                       reg = <0x36>;
+
+                       maxim,double-soc;
+                       maxim,rcomp = /bits/ 8 <0x4d>;
+
+                       interrupt-parent = <&msmgpio>;
+                       interrupts = <9 IRQ_TYPE_EDGE_FALLING>;
+
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&fuelgauge_pin>;
+
+                       maxim,alert-low-soc-level = <2>;
+               };
        };
 
        i2c@f9924000 {
                                power-source = <PM8941_GPIO_S3>;
                        };
 
+                       fuelgauge_pin: fuelgauge-int {
+                               pins = "gpio9";
+                               function = "normal";
+
+                               bias-disable;
+                               input-enable;
+                               power-source = <PM8941_GPIO_S3>;
+                       };
+
                        wlan_sleep_clk_pin: wl-sleep-clk {
                                pins = "gpio16";
                                function = "func2";