linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 3/6] PowerPC 440EPx: 440EPx/440EP dcr defines
@ 2007-07-30 15:12 Valentine Barshak
  2007-08-01  2:09 ` David Gibson
  0 siblings, 1 reply; 3+ messages in thread
From: Valentine Barshak @ 2007-07-30 15:12 UTC (permalink / raw)
  To: linuxppc-dev

This patch adds DCR defines needed for 440EP/440EPx clock initialization.
These defines have been introduced in the Bamboo support by Josh Boyer
and are needed for Sequoia as well.

Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Signed-off-by: Valentine Barshak <vbarshak@ru.mvista.com>
---
 arch/powerpc/boot/dcr.h |   11 +++++++++++
 1 files changed, 11 insertions(+)

diff -ruN linux.orig/arch/powerpc/boot/dcr.h linux/arch/powerpc/boot/dcr.h
--- linux.orig/arch/powerpc/boot/dcr.h	2007-07-27 20:37:10.000000000 +0400
+++ linux/arch/powerpc/boot/dcr.h	2007-07-27 21:06:11.000000000 +0400
@@ -121,4 +121,15 @@
 #define DCRN_CPC0_MIRQ1					0x0ed
 #define DCRN_CPC0_JTAGID				0x0ef
 
+/* 440EP/440EPx  Clock/Power-on Reset regs */
+#define DCRN_CPR0_ADDR	0xc
+#define DCRN_CPR0_DATA	0xd
+#define CPR0_PLLD0	0x60
+#define CPR0_OPBD0	0xc0
+#define CPR0_PERD0	0xe0
+#define CPR0_PRIMBD0	0xa0
+#define CPR0_SCPID	0x120
+#define CPR0_PLLC0	0x40
+
+
 #endif	/* _PPC_BOOT_DCR_H_ */

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-08-02 20:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-30 15:12 [PATCH 3/6] PowerPC 440EPx: 440EPx/440EP dcr defines Valentine Barshak
2007-08-01  2:09 ` David Gibson
2007-08-02 20:21   ` Josh Boyer

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).