arm64: dts: pmi8994: Add device node for pmi8994 gpios
authorVivek Gautam <vivek.gautam@codeaurora.org>
Fri, 28 Jul 2017 13:18:13 +0000 (18:48 +0530)
committerAndy Gross <andy.gross@linaro.org>
Tue, 8 Aug 2017 21:29:49 +0000 (16:29 -0500)
Signed-off-by: Vivek Gautam <vivek.gautam@codeaurora.org>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
arch/arm64/boot/dts/qcom/pmi8994.dtsi

index d3879a4e8076d53a4bdcd9d2b81d343797c637a2..57673f92805d00346559dc65e2c4d01fc17bc5dd 100644 (file)
@@ -8,6 +8,23 @@
                reg = <0x2 SPMI_USID>;
                #address-cells = <1>;
                #size-cells = <0>;
+
+               pmi8994_gpios: gpios@c000 {
+                       compatible = "qcom,pmi8994-gpio", "qcom,spmi-gpio";
+                       reg = <0xc000>;
+                       gpio-controller;
+                       #gpio-cells = <2>;
+                       interrupts = <2 0xc0 0 IRQ_TYPE_NONE>,
+                                    <2 0xc1 0 IRQ_TYPE_NONE>,
+                                    <2 0xc2 0 IRQ_TYPE_NONE>,
+                                    <2 0xc3 0 IRQ_TYPE_NONE>,
+                                    <2 0xc4 0 IRQ_TYPE_NONE>,
+                                    <2 0xc5 0 IRQ_TYPE_NONE>,
+                                    <2 0xc6 0 IRQ_TYPE_NONE>,
+                                    <2 0xc7 0 IRQ_TYPE_NONE>,
+                                    <2 0xc8 0 IRQ_TYPE_NONE>,
+                                    <2 0xc9 0 IRQ_TYPE_NONE>;
+               };
        };
 
        pmic@3 {