diff options
author | Rohit Vaswani <rvaswani@codeaurora.org> | 2013-06-10 15:50:21 -0700 |
---|---|---|
committer | David Brown <davidb@codeaurora.org> | 2013-06-12 14:50:12 -0700 |
commit | 43f68444bce70e360ff6ce3653a54e511625f651 (patch) | |
tree | 31a695accad61e88f5f584acca4d9abc0d708eea /arch/arm/boot/dts/msm8960-cdp.dts | |
parent | eda9dcfa56f4864e0e4340f5af3f3e39f514b726 (diff) | |
download | blackbird-op-linux-43f68444bce70e360ff6ce3653a54e511625f651.tar.gz blackbird-op-linux-43f68444bce70e360ff6ce3653a54e511625f651.zip |
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/msm8960-cdp.dts')
-rw-r--r-- | arch/arm/boot/dts/msm8960-cdp.dts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/msm8960-cdp.dts b/arch/arm/boot/dts/msm8960-cdp.dts index 2e4d87a125d6..52fe25328883 100644 --- a/arch/arm/boot/dts/msm8960-cdp.dts +++ b/arch/arm/boot/dts/msm8960-cdp.dts @@ -26,6 +26,17 @@ cpu-offset = <0x80000>; }; + msmgpio: gpio@fd510000 { + compatible = "qcom,msm-gpio"; + gpio-controller; + #gpio-cells = <2>; + ngpio = <150>; + interrupts = <0 32 0x4>; + interrupt-controller; + #interrupt-cells = <2>; + reg = <0xfd510000 0x4000>; + }; + serial@19c400000 { compatible = "qcom,msm-hsuart", "qcom,msm-uart"; reg = <0x16440000 0x1000>, |