diff options
author | Sourav Poddar <sourav.poddar@ti.com> | 2013-12-19 18:03:37 +0530 |
---|---|---|
committer | Benoit Cousson <bcousson@baylibre.com> | 2014-03-02 18:37:33 +0100 |
commit | 416f3d508e5bb23583f7a2c17fcc2efb5b1b9369 (patch) | |
tree | aed199da96d1fb216d92dd4928124110d09fd3ec | |
parent | 0aeaf1c65525441d057ae676d1b6b9dc75a625ef (diff) | |
download | talos-op-linux-416f3d508e5bb23583f7a2c17fcc2efb5b1b9369.tar.gz talos-op-linux-416f3d508e5bb23583f7a2c17fcc2efb5b1b9369.zip |
ARM: dts: am43x-epos-evm: Add SPI data.
Add SPI dts data.
Signed-off-by: Sourav Poddar <sourav.poddar@ti.com>
Signed-off-by: Benoit Cousson <bcousson@baylibre.com>
-rw-r--r-- | arch/arm/boot/dts/am43x-epos-evm.dts | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am43x-epos-evm.dts b/arch/arm/boot/dts/am43x-epos-evm.dts index d781a6996825..a7d0db10a4f4 100644 --- a/arch/arm/boot/dts/am43x-epos-evm.dts +++ b/arch/arm/boot/dts/am43x-epos-evm.dts @@ -93,6 +93,24 @@ 0x1c4 (PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE8) /* i2c2_scl.i2c2_scl */ >; }; + + spi0_pins: pinmux_spi0_pins { + pinctrl-single,pins = < + 0x150 (PIN_INPUT | MUX_MODE0) /* spi0_clk.spi0_clk */ + 0x154 (PIN_OUTPUT | MUX_MODE0) /* spi0_d0.spi0_d0 */ + 0x158 (PIN_INPUT | MUX_MODE0) /* spi0_d1.spi0_d1 */ + 0x15c (PIN_OUTPUT | MUX_MODE0) /* spi0_cs0.spi0_cs0 */ + >; + }; + + spi1_pins: pinmux_spi1_pins { + pinctrl-single,pins = < + 0x190 (PIN_INPUT | MUX_MODE3) /* mcasp0_aclkx.spi1_clk */ + 0x194 (PIN_OUTPUT | MUX_MODE3) /* mcasp0_fsx.spi1_d0 */ + 0x198 (PIN_INPUT | MUX_MODE3) /* mcasp0_axr0.spi1_d1 */ + 0x19c (PIN_OUTPUT | MUX_MODE3) /* mcasp0_ahclkr.spi1_cs0 */ + >; + }; }; matrix_keypad: matrix_keypad@0 { @@ -221,3 +239,15 @@ pinctrl-names = "default"; pinctrl-0 = <&ecap0_pins>; }; + +&spi0 { + pinctrl-names = "default"; + pinctrl-0 = <&spi0_pins>; + status = "okay"; +}; + +&spi1 { + pinctrl-names = "default"; + pinctrl-0 = <&spi1_pins>; + status = "okay"; +}; |