linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sourav Poddar <sourav.poddar@ti.com>
To: bcousson@baylibre.com
Cc: balbi@ti.com, devicetree@vger.kernel.org, tony@atomide.com,
	linux-omap@vger.kernel.org, mark.rutland@arm.com, afzal@ti.com,
	lokeshvutla@ti.com, Sourav Poddar <sourav.poddar@ti.com>
Subject: [PATCHv2 5/9] arm: dts: am43x-epos-evm: Add SPI data.
Date: Thu, 19 Dec 2013 18:03:37 +0530	[thread overview]
Message-ID: <1387456421-21379-6-git-send-email-sourav.poddar@ti.com> (raw)
In-Reply-To: <1387456421-21379-1-git-send-email-sourav.poddar@ti.com>

Add SPI dts data.

Signed-off-by: Sourav Poddar <sourav.poddar@ti.com>
---
 arch/arm/boot/dts/am43x-epos-evm.dts |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/arch/arm/boot/dts/am43x-epos-evm.dts b/arch/arm/boot/dts/am43x-epos-evm.dts
index d781a69..a7d0db1 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";
+};
-- 
1.7.9.5


  parent reply	other threads:[~2013-12-19 12:34 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-19 12:33 [PATCHv2 0/9] Add device nodes for am43x epos and gp evm Sourav Poddar
     [not found] ` <1387456421-21379-1-git-send-email-sourav.poddar-l0cyMroinI0@public.gmane.org>
2013-12-19 12:33   ` [PATCHv2 1/9] arm: dts: am4372: Add pwm-cells property for ecap device Sourav Poddar
2013-12-19 12:33   ` [PATCHv2 6/9] arm: dts: am437x-gp-evm: Add gp dts Sourav Poddar
2013-12-19 12:33 ` [PATCHv2 2/9] ARM: dts: am43x-epos-evm: Add pwm backlight support Sourav Poddar
2013-12-19 12:33 ` [PATCHv2 3/9] pinctrl: am43xx: dt-bindings: add MUX_MODE8 Sourav Poddar
2013-12-19 12:33 ` [PATCHv2 4/9] arm: dts: am43x-epos-evm: Add I2C2 data Sourav Poddar
2013-12-19 12:33 ` Sourav Poddar [this message]
2013-12-19 12:33 ` [PATCHv2 7/9] arm: dts: am437x-gp-evm: Add pwm backlight support Sourav Poddar
2013-12-19 12:33 ` [PATCHv2 8/9] arm: dts: am437x-gp-evm: Enable gpio Sourav Poddar
2013-12-19 12:33 ` [PATCHv2 9/9] arm: dts: am43x-gp-evm: Add matrix gpio keys Sourav Poddar
2014-01-13 16:43   ` sourav
2014-01-14 13:14     ` Felipe Balbi
2014-01-14 14:21       ` Benoit Cousson
2014-01-14 17:54         ` Felipe Balbi
2014-02-21 14:28         ` Sourav Poddar
2014-03-02 17:30           ` Benoit Cousson
2014-03-03  5:57             ` Sourav Poddar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1387456421-21379-6-git-send-email-sourav.poddar@ti.com \
    --to=sourav.poddar@ti.com \
    --cc=afzal@ti.com \
    --cc=balbi@ti.com \
    --cc=bcousson@baylibre.com \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=lokeshvutla@ti.com \
    --cc=mark.rutland@arm.com \
    --cc=tony@atomide.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).