diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2014-06-24 14:03:53 -0700 |
---|---|---|
committer | Kumar Gala <galak@codeaurora.org> | 2014-09-11 11:12:55 -0500 |
commit | fa410c099d9688ca06a9e46df8b2edf183487935 (patch) | |
tree | 114e6b2cb7f7618041d82d1fdcab26d592ab7bf2 /arch/arm/boot/dts/qcom-msm8960.dtsi | |
parent | 68de308b1c02f3b11705406b07e84790eb1a37e9 (diff) | |
download | talos-obmc-linux-fa410c099d9688ca06a9e46df8b2edf183487935.tar.gz talos-obmc-linux-fa410c099d9688ca06a9e46df8b2edf183487935.zip |
ARM: dts: msm: Add 8921 PMIC to ssbi bus
Add the PMIC and the sub-devices that are currently supported in
the kernel to the DT.
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Kumar Gala <galak@codeaurora.org>
Diffstat (limited to 'arch/arm/boot/dts/qcom-msm8960.dtsi')
-rw-r--r-- | arch/arm/boot/dts/qcom-msm8960.dtsi | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/qcom-msm8960.dtsi b/arch/arm/boot/dts/qcom-msm8960.dtsi index 5303e53e34dc..2f677247744d 100644 --- a/arch/arm/boot/dts/qcom-msm8960.dtsi +++ b/arch/arm/boot/dts/qcom-msm8960.dtsi @@ -143,6 +143,43 @@ compatible = "qcom,ssbi"; reg = <0x500000 0x1000>; qcom,controller-type = "pmic-arbiter"; + + pmicintc: pmic@0 { + compatible = "qcom,pm8921"; + interrupt-parent = <&msmgpio>; + interrupts = <104 8>; + #interrupt-cells = <2>; + interrupt-controller; + #address-cells = <1>; + #size-cells = <0>; + + pwrkey@1c { + compatible = "qcom,pm8921-pwrkey"; + reg = <0x1c>; + interrupt-parent = <&pmicintc>; + interrupts = <50 1>, <51 1>; + debounce = <15625>; + pull-up; + }; + + keypad@148 { + compatible = "qcom,pm8921-keypad"; + reg = <0x148>; + interrupt-parent = <&pmicintc>; + interrupts = <74 1>, <75 1>; + debounce = <15>; + scan-delay = <32>; + row-hold = <91500>; + }; + + rtc@11d { + compatible = "qcom,pm8921-rtc"; + interrupt-parent = <&pmicintc>; + interrupts = <39 1>; + reg = <0x11d>; + allow-set-time; + }; + }; }; rng@1a500000 { |