summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/msm8660-surf.dts
diff options
context:
space:
mode:
authorRohit Vaswani <rvaswani@codeaurora.org>2013-06-10 15:50:21 -0700
committerDavid Brown <davidb@codeaurora.org>2013-06-12 14:50:12 -0700
commit43f68444bce70e360ff6ce3653a54e511625f651 (patch)
tree31a695accad61e88f5f584acca4d9abc0d708eea /arch/arm/boot/dts/msm8660-surf.dts
parenteda9dcfa56f4864e0e4340f5af3f3e39f514b726 (diff)
gpio: msm: Add device tree and irqdomain support for gpio-msm-v2
This cleans up the gpio-msm-v2 driver of all the global define usage. The number of gpios are now defined in the device tree. This enables adding irqdomain support as well. Signed-off-by: Rohit Vaswani <rvaswani@codeaurora.org> Acked-by: Grant Likely <grant.likely@linaro.org> Signed-off-by: David Brown <davidb@codeaurora.org>
Diffstat (limited to 'arch/arm/boot/dts/msm8660-surf.dts')
-rw-r--r--arch/arm/boot/dts/msm8660-surf.dts11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/msm8660-surf.dts b/arch/arm/boot/dts/msm8660-surf.dts
index 9bf49b3826ea..8931906b9263 100644
--- a/arch/arm/boot/dts/msm8660-surf.dts
+++ b/arch/arm/boot/dts/msm8660-surf.dts
@@ -26,6 +26,17 @@
cpu-offset = <0x40000>;
};
+ msmgpio: gpio@800000 {
+ compatible = "qcom,msm-gpio";
+ reg = <0x00800000 0x1000>;
+ gpio-controller;
+ #gpio-cells = <2>;
+ ngpio = <173>;
+ interrupts = <0 32 0x4>;
+ interrupt-controller;
+ #interrupt-cells = <2>;
+ };
+
serial@19c400000 {
compatible = "qcom,msm-hsuart", "qcom,msm-uart";
reg = <0x19c40000 0x1000>,