public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Anton Vorontsov <avorontsov@ru.mvista.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 5/7] mpc85xx: Setup QE pinmux for SPI Flash on MPC8569E-MDS boards
Date: Thu, 15 Oct 2009 17:47:11 +0400	[thread overview]
Message-ID: <20091015134711.GE32478@oksana.dev.rtsoft.ru> (raw)
In-Reply-To: <20091015134644.GA31541@oksana.dev.rtsoft.ru>

SPI Flash (M25P40) is connected to the SPI1 bus, we need a few
qe_iop entries to actually enable SPI1 on these boards.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
---
 board/freescale/mpc8569mds/mpc8569mds.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/board/freescale/mpc8569mds/mpc8569mds.c b/board/freescale/mpc8569mds/mpc8569mds.c
index 2d07922..7d1d02e 100644
--- a/board/freescale/mpc8569mds/mpc8569mds.c
+++ b/board/freescale/mpc8569mds/mpc8569mds.c
@@ -154,6 +154,12 @@ const qe_iop_conf_t qe_iop_conf_tab[] = {
 	{5, 10, 2, 0, 3}, /* UART1_CTS_B */
 	{5, 11, 1, 0, 2}, /* UART1_RTS_B */
 
+	/* SPI Flash, M25P40                           */
+	{4, 27, 3, 0, 1}, /* SPI_MOSI                  */
+	{4, 28, 3, 0, 1}, /* SPI_MISO                  */
+	{4, 29, 3, 0, 1}, /* SPI_CLK                   */
+	{4, 30, 1, 0, 0}, /* SPI_SEL, GPIO             */
+
 	{0,  0, 0, 0, QE_IOP_TAB_END} /* END of table */
 };
 
-- 
1.6.3.3

  parent reply	other threads:[~2009-10-15 13:47 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-15 13:46 [U-Boot] [PATCH 0/7] Some patches for MPC8569E-MDS Anton Vorontsov
2009-10-15 13:47 ` [U-Boot] [PATCH 1/7] fdt_support: Add multi-serial support for stdout fixup Anton Vorontsov
2009-10-22 14:24   ` Kumar Gala
2009-10-22 14:47     ` Jerry Van Baren
2009-10-27  2:39   ` Kumar Gala
2009-10-15 13:47 ` [U-Boot] [PATCH 2/7] mpc85xx: Add eSDHC support for MPC8569E-MDS boards Anton Vorontsov
2009-10-27 14:37   ` Kumar Gala
2009-10-15 13:47 ` [U-Boot] [PATCH 3/7] mpc85xx: Add eLBC NAND " Anton Vorontsov
2009-10-27 15:10   ` Kumar Gala
2009-10-15 13:47 ` [U-Boot] [PATCH 4/7] mpc85xx: Setup SRIO memory region LAW " Anton Vorontsov
2009-10-27 15:10   ` Kumar Gala
2009-10-15 13:47 ` Anton Vorontsov [this message]
2009-10-27 15:10   ` [U-Boot] [PATCH 5/7] mpc85xx: Setup QE pinmux for SPI Flash on " Kumar Gala
2009-10-15 13:47 ` [U-Boot] [PATCH 6/7] mpc85xx: Configure QE UART for " Anton Vorontsov
2009-10-27 15:10   ` Kumar Gala
2009-10-15 13:47 ` [U-Boot] [PATCH 7/7] mpc85xx: Configure QE USB " Anton Vorontsov
2009-10-27 15:10   ` Kumar Gala
  -- strict thread matches above, loose matches on Subject: below --
2009-08-19 18:37 [U-Boot] [PATCH 5/7] mpc85xx: Setup QE pinmux for SPI Flash on " Anton Vorontsov

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=20091015134711.GE32478@oksana.dev.rtsoft.ru \
    --to=avorontsov@ru.mvista.com \
    --cc=u-boot@lists.denx.de \
    /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