linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Manjunathappa, Prakash" <prakash.pm@ti.com>
To: <spi-devel-general@lists.sourceforge.net>,
	<davinci-linux-open-source@linux.davincidsp.com>
Cc: <grant.likely@secretlab.ca>, <rob.herring@calxeda.com>,
	<linux@arm.linux.org.uk>, <nsekhar@ti.com>, <hs@denx.de>,
	<devicetree-discuss@lists.ozlabs.org>,
	<linux-arm-kernel@lists.infradead.org>, <rob@landley.net>,
	<linux-doc@vger.kernel.org>,
	"Manjunathappa, Prakash" <prakash.pm@ti.com>
Subject: [PATCH v2 2/4] ARM: davinci: da850: add SPI1 DT node
Date: Mon, 4 Mar 2013 18:29:13 +0530	[thread overview]
Message-ID: <1362401955-9616-3-git-send-email-prakash.pm@ti.com> (raw)
In-Reply-To: <1362401955-9616-1-git-send-email-prakash.pm@ti.com>

Patch adds SPI1 DT node along with pinmux data.

Signed-off-by: Manjunathappa, Prakash <prakash.pm@ti.com>
---
 arch/arm/boot/dts/da850.dtsi |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/arch/arm/boot/dts/da850.dtsi b/arch/arm/boot/dts/da850.dtsi
index 3ec1bda..bfd6756 100644
--- a/arch/arm/boot/dts/da850.dtsi
+++ b/arch/arm/boot/dts/da850.dtsi
@@ -62,6 +62,14 @@
 					0x10 0x00002200 0x0000ff00
 				>;
 			};
+			spi1_pins: pinmux_spi_pins {
+				pinctrl-single,bits = <
+					/* SIMO, SOMI, ENA,
+					 * CLK, CS[0], CS[1]
+					 */
+					0x14 0x00111111 0x00ffffff
+				>;
+			};
 		};
 		serial0: serial@1c42000 {
 			compatible = "ns16550a";
@@ -107,6 +115,16 @@
 			reg = <0x21000 0x1000>;
 			status = "disabled";
 		};
+		spi1: spi@1f0e000 {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			compatible = "ti,da8xx-spi";
+			reg = <0x30e000 0x1000>;
+			num-cs = <4>;
+			ti,davinci-spi-intr-line = <1>;
+			interrupts = <56>;
+			status = "disabled";
+		};
 	};
 	nand_cs3@62000000 {
 		compatible = "ti,davinci-nand";
-- 
1.7.4.1


  reply	other threads:[~2013-03-04 12:59 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-04 12:59 [PATCH v2 0/4] Enable SPI flash support on da850-evm DT kernel Manjunathappa, Prakash
2013-03-04 12:59 ` Manjunathappa, Prakash [this message]
2013-03-04 12:59 ` [PATCH v2 3/4] ARM: davinci: da850: override SPI DT node device name Manjunathappa, Prakash
     [not found] ` <1362401955-9616-1-git-send-email-prakash.pm-l0cyMroinI0@public.gmane.org>
2013-03-04 12:59   ` [PATCH v2 1/4] spi/davinci: add DT binding documentation Manjunathappa, Prakash
2013-03-04 16:29     ` Arnd Bergmann
2013-03-05 12:56       ` Manjunathappa, Prakash
2013-03-05 13:28         ` Sekhar Nori
2013-03-05 13:45           ` Manjunathappa, Prakash
     [not found]         ` <A73F36158E33644199EB82C5EC81C7BC3EA4854E-Er742YJ7I/eIQmiDNMet8wC/G2K4zDHf@public.gmane.org>
2013-03-05 19:32           ` Arnd Bergmann
     [not found]             ` <201303051932.41327.arnd-r2nGTMty4D4@public.gmane.org>
2013-03-11  8:53               ` Manjunathappa, Prakash
2013-03-04 12:59   ` [PATCH v2 4/4] ARM: davinci: da850-evm: add SPI flash support Manjunathappa, Prakash
     [not found]     ` <1362401955-9616-5-git-send-email-prakash.pm-l0cyMroinI0@public.gmane.org>
2013-03-04 13:47       ` Manjunathappa, Prakash

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=1362401955-9616-3-git-send-email-prakash.pm@ti.com \
    --to=prakash.pm@ti.com \
    --cc=davinci-linux-open-source@linux.davincidsp.com \
    --cc=devicetree-discuss@lists.ozlabs.org \
    --cc=grant.likely@secretlab.ca \
    --cc=hs@denx.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=nsekhar@ti.com \
    --cc=rob.herring@calxeda.com \
    --cc=rob@landley.net \
    --cc=spi-devel-general@lists.sourceforge.net \
    /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).