summaryrefslogtreecommitdiffstats
path: root/include/ppc405.h
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2007-12-08 14:47:34 +0100
committerStefan Roese <sr@denx.de>2007-12-08 14:47:34 +0100
commit7cfc12a7dcfdb350e2ab76db4dafcc30f7e77c2b (patch)
tree608d58485e7588f6bd3a1361cf4860f2bbcbbabd /include/ppc405.h
parenta27044b14a9e93678a82d7b35f202b93e7687abc (diff)
downloadtalos-obmc-uboot-7cfc12a7dcfdb350e2ab76db4dafcc30f7e77c2b.tar.gz
talos-obmc-uboot-7cfc12a7dcfdb350e2ab76db4dafcc30f7e77c2b.zip
ppc4xx: 405EX: Correctly enable USB pins
This patch selects the USB data pins in the 405EX GPIO and MFC (multi function control) registers. This is done for the AMCC Kilauea and Makalu eval boards. Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include/ppc405.h')
-rw-r--r--include/ppc405.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/ppc405.h b/include/ppc405.h
index e5051d4595..b5ad38fc52 100644
--- a/include/ppc405.h
+++ b/include/ppc405.h
@@ -1574,6 +1574,19 @@
#define SDR0_CUST0_CHIPSELGAT_EN1 0x00000004 /* Chip Select1 Gating Enable */
#define SDR0_CUST0_CHIPSELGAT_EN2 0x00000002 /* Chip Select2 Gating Enable */
#define SDR0_CUST0_CHIPSELGAT_EN3 0x00000001 /* Chip Select3 Gating Enable */
+
+#define SDR0_PFC0 0x4100
+#define SDR0_PFC1 0x4101
+#define SDR0_PFC1_U1ME 0x02000000
+#define SDR0_PFC1_U0ME 0x00080000
+#define SDR0_PFC1_U0IM 0x00040000
+#define SDR0_PFC1_SIS 0x00020000
+#define SDR0_PFC1_DMAAEN 0x00010000
+#define SDR0_PFC1_DMADEN 0x00008000
+#define SDR0_PFC1_USBEN 0x00004000
+#define SDR0_PFC1_AHBSWAP 0x00000020
+#define SDR0_PFC1_USBBIGEN 0x00000010
+#define SDR0_PFC1_GPT_FREQ 0x0000000f
#endif
#endif /* __PPC405_H__ */
OpenPOWER on IntegriCloud