arm64: dts: qcom: pms405: add gpios
authorVinod Koul <vkoul@kernel.org>
Fri, 9 Nov 2018 09:44:11 +0000 (15:14 +0530)
committerAndy Gross <andy.gross@linaro.org>
Sun, 18 Nov 2018 07:08:36 +0000 (01:08 -0600)
Add the GPIOs present on PMS405 chip.

Signed-off-by: Vinod Koul <vkoul@kernel.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
arch/arm64/boot/dts/qcom/pms405.dtsi

index 2b275bb..8e5a857 100644 (file)
                #address-cells = <1>;
                #size-cells = <0>;
 
+               pms405_gpios: gpio@c000 {
+                       compatible = "qcom,pms405-gpio";
+                       reg = <0xc000>;
+                       gpio-controller;
+                       #gpio-cells = <2>;
+                       interrupts = <0 0xc0 0 IRQ_TYPE_NONE>,
+                               <0 0xc1 0 IRQ_TYPE_NONE>,
+                               <0 0xc2 0 IRQ_TYPE_NONE>,
+                               <0 0xc3 0 IRQ_TYPE_NONE>,
+                               <0 0xc4 0 IRQ_TYPE_NONE>,
+                               <0 0xc5 0 IRQ_TYPE_NONE>,
+                               <0 0xc6 0 IRQ_TYPE_NONE>,
+                               <0 0xc7 0 IRQ_TYPE_NONE>,
+                               <0 0xc8 0 IRQ_TYPE_NONE>,
+                               <0 0xc9 0 IRQ_TYPE_NONE>,
+                               <0 0xca 0 IRQ_TYPE_NONE>,
+                               <0 0xcb 0 IRQ_TYPE_NONE>;
+               };
+
                rtc@6000 {
                        compatible = "qcom,pm8941-rtc";
                        reg = <0x6000>;