public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/3] mpc85xx: Add support for the supplement configuration unit register
@ 2014-01-26  6:00 Tang Yuantian
  2014-01-26  6:00 ` [U-Boot] [PATCH 2/3] mpc85xx: Add deep sleep framework support Tang Yuantian
  2014-01-26  6:00 ` [U-Boot] [PATCH 3/3] mpc85xx: Add deep sleep support on T1040QDS Tang Yuantian
  0 siblings, 2 replies; 21+ messages in thread
From: Tang Yuantian @ 2014-01-26  6:00 UTC (permalink / raw)
  To: u-boot

From: Tang Yuantian <yuantian.tang@freescale.com>

The supplement configuration unit (SCFG) provides chip-specific
configuration and status registers for the device. It is the chip
defined module for extending the device configuration unit (DCFG)
module. It provides a set of CCSR registers in addition to those
available in the device configuration unit.
The base address for this unit is 0x0F_C000.

Signed-off-by: Tang Yuantian <Yuantian.Tang@freescale.com>
---
 arch/powerpc/include/asm/immap_85xx.h | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/arch/powerpc/include/asm/immap_85xx.h b/arch/powerpc/include/asm/immap_85xx.h
index 68c3c82..71d803b 100644
--- a/arch/powerpc/include/asm/immap_85xx.h
+++ b/arch/powerpc/include/asm/immap_85xx.h
@@ -3113,4 +3113,26 @@ struct dcsr_dcfg_regs {
 #define	DCSR_DCFG_ECC_DISABLE_USB2	0x00004000
 	u8  res_524[0x1000 - 0x524]; /* 0x524 - 0x1000 */
 };
+
+#define CONFIG_SYS_MPC85xx_SCFG \
+	(CONFIG_SYS_IMMR + CONFIG_SYS_MPC85xx_SCFG_OFFSET)
+#define CONFIG_SYS_MPC85xx_SCFG_OFFSET	0xfc000
+/* The supplement configuration unit register */
+struct ccsr_scfg {
+	u32 dpslpcr;		/* 0x000 Deep Sleep Control register */
+	u32 usb1dpslpcsr;	/* 0x004 USB1 Deep Sleep Control Status register */
+	u32 usb2dpslpcsr;	/* 0x008 USB2 Deep Sleep Control Status register */
+	u32 fmclkdpslpcr;	/* 0x00c FM Clock Deep Sleep Control register */
+	u32 res1[4];
+	u32 esgmiiselcr;	/* 0x020 Ethernet Switch SGMII Select Control register */
+	u32 res2;
+	u32 pixclkcr;		/* 0x028 Pixel Clock Control register */
+	u32 res3[245];
+	u32 qeioclkcr;		/* 0x400 QUICC Engine IO Clock Control register */
+	u32 emiiocr;		/* 0x404 EMI MDIO Control Register */
+	u32 sdhciovselcr;	/* 0x408 SDHC IO VSEL Control register */
+	u32 qmifrstcr;		/* 0x40c QMAN Interface Reset Control register */
+	u32 res4[60];
+	u32 sparecr[8];		/* 0x500 Spare Control register(0-7) */
+};
 #endif /*__IMMAP_85xx__*/
-- 
1.8.0

^ permalink raw reply related	[flat|nested] 21+ messages in thread
* [U-Boot] Test
@ 2015-04-24 14:39 Hannes Petermaier
  2015-04-25 10:03 ` Nable
  0 siblings, 1 reply; 21+ messages in thread
From: Hannes Petermaier @ 2015-04-24 14:39 UTC (permalink / raw)
  To: u-boot

Hi all,

since midnight i didn't receive anything from the mailinglist ... is 
there something wrong with it ?
or is my mail-provider defective?

best regards,
HAnnes

^ permalink raw reply	[flat|nested] 21+ messages in thread
* [U-Boot] test
@ 2014-02-24  7:26 Yuantian Tang
  0 siblings, 0 replies; 21+ messages in thread
From: Yuantian Tang @ 2014-02-24  7:26 UTC (permalink / raw)
  To: u-boot

have a test. please ignore.



Regards,

yuantian

^ permalink raw reply	[flat|nested] 21+ messages in thread
* [U-Boot] test
@ 2013-11-07  9:21 Igor Grinberg
  0 siblings, 0 replies; 21+ messages in thread
From: Igor Grinberg @ 2013-11-07  9:21 UTC (permalink / raw)
  To: u-boot

test

-- 
Regards,
Igor.

^ permalink raw reply	[flat|nested] 21+ messages in thread
* [U-Boot] TEST
@ 2009-09-03 21:51 Wolfgang Denk
  0 siblings, 0 replies; 21+ messages in thread
From: Wolfgang Denk @ 2009-09-03 21:51 UTC (permalink / raw)
  To: u-boot

Please ignore.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The flow chart is a most thoroughly oversold piece of  program  docu-
mentation.              -- Frederick Brooks, "The Mythical Man Month"

^ permalink raw reply	[flat|nested] 21+ messages in thread
* [U-Boot] Test
@ 2009-07-30 11:43 Tuma
  0 siblings, 0 replies; 21+ messages in thread
From: Tuma @ 2009-07-30 11:43 UTC (permalink / raw)
  To: u-boot

Test Message.


-- 
Software Developer
General Satellite Corp.

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

end of thread, other threads:[~2015-04-25 10:03 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-26  6:00 [U-Boot] [PATCH 1/3] mpc85xx: Add support for the supplement configuration unit register Tang Yuantian
2014-01-26  6:00 ` [U-Boot] [PATCH 2/3] mpc85xx: Add deep sleep framework support Tang Yuantian
2014-02-13  0:44   ` [U-Boot] [U-Boot, " Scott Wood
     [not found]     ` <07dc877206434a4ea634d912c02da3a5@BL2PR03MB115.namprd03.prod.outlook.com>
2014-02-14 22:21       ` Scott Wood
2014-02-24  7:47         ` Tang Yuantian-B29983
2014-02-24 19:11           ` Scott Wood
2014-02-26  7:49             ` Tang Yuantian-B29983
2014-02-26  8:13             ` Tang Yuantian-B29983
     [not found]     ` <c321feb926884bca922904aec215fdff@BL2PR03MB115.namprd03.prod.outlook.com>
2014-02-14 22:59       ` Scott Wood
2014-02-17  9:18         ` [U-Boot] test Tang Yuantian
     [not found]         ` <95751c79b09a4a15a7b4d577fd86ff3e@BL2PR03MB115.namprd03.prod.outlook.com>
2014-02-17 19:18           ` [U-Boot] [U-Boot, 2/3] mpc85xx: Add deep sleep framework support Scott Wood
2014-02-24  6:44             ` Tang Yuantian-B29983
2014-02-24 19:11               ` Scott Wood
2014-02-26  5:52                 ` Tang Yuantian-B29983
2014-01-26  6:00 ` [U-Boot] [PATCH 3/3] mpc85xx: Add deep sleep support on T1040QDS Tang Yuantian
  -- strict thread matches above, loose matches on Subject: below --
2015-04-24 14:39 [U-Boot] Test Hannes Petermaier
2015-04-25 10:03 ` Nable
2014-02-24  7:26 [U-Boot] test Yuantian Tang
2013-11-07  9:21 Igor Grinberg
2009-09-03 21:51 [U-Boot] TEST Wolfgang Denk
2009-07-30 11:43 [U-Boot] Test Tuma

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox