ARM: dts: apq8064: add support to pm8821
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Tue, 15 Nov 2016 12:01:52 +0000 (12:01 +0000)
committerAndy Gross <andy.gross@linaro.org>
Fri, 13 Jan 2017 18:38:17 +0000 (12:38 -0600)
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
arch/arm/boot/dts/qcom-apq8064.dtsi

index 268bd470c865e6022d907ca495b6913acfd7c1ef..f725e316fa561027ca4c6144e19f83b2ec12d9cd 100644 (file)
                        clock-names = "core";
                };
 
+               ssbi@c00000 {
+                       compatible = "qcom,ssbi";
+                       reg = <0x00c00000 0x1000>;
+                       qcom,controller-type = "pmic-arbiter";
+
+                       pm8821: pmic@1 {
+                               compatible = "qcom,pm8821";
+                               interrupt-parent = <&tlmm_pinmux>;
+                               interrupts = <76 IRQ_TYPE_LEVEL_LOW>;
+                               #interrupt-cells = <2>;
+                               interrupt-controller;
+                               #address-cells = <1>;
+                               #size-cells = <0>;
+
+                               pm8821_mpps: mpps@50 {
+                                       compatible = "qcom,pm8821-mpp", "qcom,ssbi-mpp";
+                                       reg = <0x50>;
+                                       interrupts = <24 IRQ_TYPE_NONE>,
+                                                    <25 IRQ_TYPE_NONE>,
+                                                    <26 IRQ_TYPE_NONE>,
+                                                    <27 IRQ_TYPE_NONE>;
+                                       gpio-controller;
+                                       #gpio-cells = <2>;
+                               };
+                       };
+               };
+
                qcom,ssbi@500000 {
                        compatible = "qcom,ssbi";
                        reg = <0x00500000 0x1000>;