From: matthias.fuchs at esd-electronics.com <matthias.fuchs@esd-electronics.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/4] ppc4xx: Fix DU440 GPIO configuration
Date: Tue, 7 Oct 2008 13:13:08 +0200 [thread overview]
Message-ID: <12233779903360-git-send-email-matthias.fuchs@esd-electronics.com> (raw)
In-Reply-To: <12233779901719-git-send-email-matthias.fuchs@esd-electronics.com>
From: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
---
board/esd/du440/du440.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/board/esd/du440/du440.c b/board/esd/du440/du440.c
index 8765cc1..5cff9f5 100644
--- a/board/esd/du440/du440.c
+++ b/board/esd/du440/du440.c
@@ -52,15 +52,15 @@ int board_early_init_f(void)
* Setup the GPIO pins
*/
out_be32((void*)GPIO0_OR, 0x00000000 | CFG_GPIO0_EP_EEP);
- out_be32((void*)GPIO0_TCR, 0x0000000f | CFG_GPIO0_EP_EEP);
+ out_be32((void*)GPIO0_TCR, 0x0000001f | CFG_GPIO0_EP_EEP);
out_be32((void*)GPIO0_OSRL, 0x50055400);
- out_be32((void*)GPIO0_OSRH, 0x550050aa);
+ out_be32((void*)GPIO0_OSRH, 0x55005000);
out_be32((void*)GPIO0_TSRL, 0x50055400);
out_be32((void*)GPIO0_TSRH, 0x55005000);
out_be32((void*)GPIO0_ISR1L, 0x50000000);
out_be32((void*)GPIO0_ISR1H, 0x00000000);
out_be32((void*)GPIO0_ISR2L, 0x00000000);
- out_be32((void*)GPIO0_ISR2H, 0x00000100);
+ out_be32((void*)GPIO0_ISR2H, 0x00000000);
out_be32((void*)GPIO0_ISR3L, 0x00000000);
out_be32((void*)GPIO0_ISR3H, 0x00000000);
@@ -73,9 +73,9 @@ int board_early_init_f(void)
CFG_GPIO1_LEDPOST |
CFG_GPIO1_LEDDU);
out_be32((void*)GPIO1_ODR, CFG_GPIO1_LEDDU);
- out_be32((void*)GPIO1_OSRL, 0x5c280000);
+ out_be32((void*)GPIO1_OSRL, 0x0c280000);
out_be32((void*)GPIO1_OSRH, 0x00000000);
- out_be32((void*)GPIO1_TSRL, 0x0c000000);
+ out_be32((void*)GPIO1_TSRL, 0xcc000000);
out_be32((void*)GPIO1_TSRH, 0x00000000);
out_be32((void*)GPIO1_ISR1L, 0x00005550);
out_be32((void*)GPIO1_ISR1H, 0x00000000);
--
1.5.3
next prev parent reply other threads:[~2008-10-07 11:13 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-07 11:13 [U-Boot] [PATCH 1/4] ppc4xx: Update DU440 config matthias.fuchs at esd-electronics.com
2008-10-07 11:13 ` matthias.fuchs at esd-electronics.com [this message]
2008-10-07 11:13 ` [U-Boot] [PATCH 3/4] ppc4xx: Add strapping mode for 667MHz CPU frequency on DU440 board matthias.fuchs at esd-electronics.com
2008-10-07 11:13 ` [U-Boot] [PATCH 4/4] ppc4xx: Fix USB 2.0 phy reset sequence matthias.fuchs at esd-electronics.com
2008-10-08 9:51 ` Stefan Roese
2008-10-08 10:34 ` Matthias Fuchs
2008-10-08 11:14 ` Stefan Roese
2008-10-10 7:44 ` Stefan Roese
2008-10-10 7:44 ` [U-Boot] [PATCH 3/4] ppc4xx: Add strapping mode for 667MHz CPU frequency on DU440 board Stefan Roese
2008-10-08 9:50 ` [U-Boot] [PATCH 2/4] ppc4xx: Fix DU440 GPIO configuration Stefan Roese
2008-10-08 10:31 ` Matthias Fuchs
2008-10-08 11:14 ` Stefan Roese
2008-10-10 7:44 ` Stefan Roese
2008-10-10 7:44 ` [U-Boot] [PATCH 1/4] ppc4xx: Update DU440 config Stefan Roese
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=12233779903360-git-send-email-matthias.fuchs@esd-electronics.com \
--to=matthias.fuchs@esd-electronics.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