diff options
author | Pramod Gurav <[email protected]> | 2014-08-29 20:00:56 +0530 |
---|---|---|
committer | Kumar Gala <[email protected]> | 2014-09-11 11:47:52 -0500 |
commit | 8b8936fc358f830e514bafdebe109e06a4a7aabd (patch) | |
tree | 5d1e1bec879ba0a669a2872af7db6cb19cb675fb | |
parent | 44980b284d389121161a4d8cad5b08d4c0b78abd (diff) |
ARM: DT: APQ8064: Add pinctrl support
This patch adds device tree nodes to support pinctrl for apq8064 SOC
CC: Rob Herring <[email protected]>
CC: Pawel Moll <[email protected]>
CC: Mark Rutland <[email protected]>
CC: Ian Campbell <[email protected]>
CC: Kumar Gala <[email protected]>
CC: [email protected]
CC: [email protected]
Signed-off-by: Pramod Gurav <[email protected]>
Signed-off-by: Kumar Gala <[email protected]>
-rw-r--r-- | arch/arm/boot/dts/qcom-apq8064.dtsi | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi index 92bf793622c3..23745f264212 100644 --- a/arch/arm/boot/dts/qcom-apq8064.dtsi +++ b/arch/arm/boot/dts/qcom-apq8064.dtsi @@ -3,6 +3,7 @@ #include "skeleton.dtsi" #include <dt-bindings/clock/qcom,gcc-msm8960.h> #include <dt-bindings/soc/qcom,gsbi.h> +#include <dt-bindings/interrupt-controller/arm-gic.h> / { model = "Qualcomm APQ8064"; @@ -70,6 +71,17 @@ ranges; compatible = "simple-bus"; + tlmm_pinmux: pinctrl@800000 { + compatible = "qcom,apq8064-pinctrl"; + reg = <0x800000 0x4000>; + + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + interrupts = <0 16 IRQ_TYPE_LEVEL_HIGH>; + }; + intc: interrupt-controller@2000000 { compatible = "qcom,msm-qgic2"; interrupt-controller; |