diff options
author | Ivan T. Ivanov <iivanov@mm-sol.com> | 2014-02-06 16:28:49 +0100 |
---|---|---|
committer | Kumar Gala <galak@codeaurora.org> | 2014-05-22 19:04:53 +0200 |
commit | 7d7db8db67003e4837bbc3f0402b76a225f4eed5 (patch) | |
tree | dec53ebce4ebd537468586170d4dfe342f87c4e7 /arch/arm/boot/dts/qcom-msm8974.dtsi | |
parent | Linux 3.15-rc1 (diff) | |
download | linux-7d7db8db67003e4837bbc3f0402b76a225f4eed5.tar.xz linux-7d7db8db67003e4837bbc3f0402b76a225f4eed5.zip |
ARM: dts: MSM8974: Add pinctrl node
Add the pin control node and pin definitions of SPI8.
Signed-off-by: Ivan T. Ivanov <iivanov@mm-sol.com>
Reviewed-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Kumar Gala <galak@codeaurora.org>
Diffstat (limited to 'arch/arm/boot/dts/qcom-msm8974.dtsi')
-rw-r--r-- | arch/arm/boot/dts/qcom-msm8974.dtsi | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi index f68723918b3f..23aa38745037 100644 --- a/arch/arm/boot/dts/qcom-msm8974.dtsi +++ b/arch/arm/boot/dts/qcom-msm8974.dtsi @@ -198,5 +198,34 @@ clocks = <&gcc GCC_PRNG_AHB_CLK>; clock-names = "core"; }; + + msmgpio: pinctrl@fd510000 { + compatible = "qcom,msm8974-pinctrl"; + reg = <0xfd510000 0x4000>; + gpio-controller; + #gpio-cells = <2>; + interrupt-controller; + #interrupt-cells = <2>; + interrupts = <0 208 0>; + + spi8_default: spi8_default { + mosi { + pins = "gpio45"; + function = "blsp_spi8"; + }; + miso { + pins = "gpio46"; + function = "blsp_spi8"; + }; + cs { + pins = "gpio47"; + function = "blsp_spi8"; + }; + clk { + pins = "gpio48"; + function = "blsp_spi8"; + }; + }; + }; }; }; |