mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
Merge "ARM: dts: msm: Add PMIC support for monaco"
This commit is contained in:
commit
b40f01d167
2 changed files with 75 additions and 0 deletions
|
|
@ -535,6 +535,25 @@
|
|||
#clock-cells = <1>;
|
||||
#reset-cells = <1>;
|
||||
};
|
||||
|
||||
spmi_bus: qcom,spmi@1c40000 {
|
||||
compatible = "qcom,spmi-pmic-arb";
|
||||
reg = <0x1c40000 0x1100>,
|
||||
<0x1e00000 0x2000000>,
|
||||
<0x3e00000 0x100000>,
|
||||
<0x3f00000 0xa0000>,
|
||||
<0x1c0a000 0x26000>;
|
||||
reg-names = "core", "chnls", "obsrvr", "intr", "cnfg";
|
||||
interrupt-names = "periph_irq";
|
||||
interrupts = <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>;
|
||||
qcom,ee = <0>;
|
||||
qcom,channel = <0>;
|
||||
#address-cells = <2>;
|
||||
#size-cells = <0>;
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <4>;
|
||||
cell-index = <0>;
|
||||
};
|
||||
};
|
||||
|
||||
#include "monaco-pinctrl.dtsi"
|
||||
|
|
|
|||
56
qcom/pm5100.dtsi
Normal file
56
qcom/pm5100.dtsi
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
#include <dt-bindings/input/input.h>
|
||||
#include <dt-bindings/input/qcom,qpnp-power-on.h>
|
||||
#include <dt-bindings/spmi/spmi.h>
|
||||
|
||||
&spmi_bus {
|
||||
#address-cells = <2>;
|
||||
#size-cells = <0>;
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <4>;
|
||||
|
||||
qcom,pm5100@0 {
|
||||
compatible = "qcom,spmi-pmic";
|
||||
reg = <0 SPMI_USID>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
pon_hlos@1300 {
|
||||
compatible = "qcom,qpnp-power-on";
|
||||
reg = <0x1300>;
|
||||
interrupts = <0x0 0x13 0x7 IRQ_TYPE_EDGE_BOTH>,
|
||||
<0x0 0x13 0x6 IRQ_TYPE_EDGE_BOTH>;
|
||||
interrupt-names = "kpdpwr", "resin";
|
||||
|
||||
qcom,pon_1 {
|
||||
qcom,pon-type = <PON_POWER_ON_TYPE_KPDPWR>;
|
||||
linux,code = <KEY_POWER>;
|
||||
};
|
||||
|
||||
qcom,pon_2 {
|
||||
qcom,pon-type = <PON_POWER_ON_TYPE_RESIN>;
|
||||
linux,code = <KEY_VOLUMEDOWN>;
|
||||
};
|
||||
};
|
||||
|
||||
pm5100_tz: qcom,temp-alarm@a00 {
|
||||
compatible = "qcom,spmi-temp-alarm";
|
||||
reg = <0xa00>;
|
||||
interrupts = <0x0 0xa 0x0 IRQ_TYPE_EDGE_BOTH>;
|
||||
#thermal-sensor-cells = <0>;
|
||||
};
|
||||
|
||||
pm5100_gpios: pinctrl@8800 {
|
||||
compatible = "qcom,pm5100-gpio";
|
||||
reg = <0x8800>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
};
|
||||
|
||||
pm5100_rtc: qcom,pm5100_rtc {
|
||||
compatible = "qcom,pm8941-rtc";
|
||||
interrupts = <0x0 0x65 0x1 IRQ_TYPE_NONE>;
|
||||
};
|
||||
};
|
||||
};
|
||||
Loading…
Reference in a new issue