LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] [PPC32] I2C and GPIO controlers addresses fix on Yucca board
@ 2005-10-03  8:30 Ruslan V. Sushko
  0 siblings, 0 replies; only message in thread
From: Ruslan V. Sushko @ 2005-10-03  8:30 UTC (permalink / raw)
  To: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 259 bytes --]

This patch fixes physical address for I2C and GPIO controllers on Yucca
PPC440SPe board. The fixes below allows to enable ibm ocp i2c driver to
access to Yucca peripheral devices. The patch is implemented for Roland
Dreier git tree for Yucca PPC440SPe board.

[-- Attachment #2: yucca_i2c.patch --]
[-- Type: text/x-patch, Size: 972 bytes --]

diff --git a/arch/ppc/platforms/4xx/ppc440spe.c b/arch/ppc/platforms/4xx/ppc440spe.c
--- a/arch/ppc/platforms/4xx/ppc440spe.c
+++ b/arch/ppc/platforms/4xx/ppc440spe.c
@@ -90,7 +90,7 @@ struct ocp_def core_ocp[] = {
 	{ .vendor	= OCP_VENDOR_IBM,
 	  .function	= OCP_FUNC_IIC,
 	  .index	= 0,
-	  .paddr	= 0x00000001f0000400ULL,
+	  .paddr	= 0x00000004f0000400ULL,
 	  .irq		= 2,
 	  .pm		= IBM_CPM_IIC0,
 	  .additions	= &ppc440spe_iic0_def,
@@ -99,7 +99,7 @@ struct ocp_def core_ocp[] = {
 	{ .vendor	= OCP_VENDOR_IBM,
 	  .function	= OCP_FUNC_IIC,
 	  .index	= 1,
-	  .paddr	= 0x00000001f0000500ULL,
+	  .paddr	= 0x00000004f0000500ULL,
 	  .irq		= 3,
 	  .pm		= IBM_CPM_IIC1,
 	  .additions	= &ppc440spe_iic1_def,
@@ -108,7 +108,7 @@ struct ocp_def core_ocp[] = {
 	{ .vendor	= OCP_VENDOR_IBM,
 	  .function	= OCP_FUNC_GPIO,
 	  .index	= 0,
-	  .paddr	= 0x00000001f0000700ULL,
+	  .paddr	= 0x00000004f0000700ULL,
 	  .irq		= OCP_IRQ_NA,
 	  .pm		= IBM_CPM_GPIO0,
 	},




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-10-03  8:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-03  8:30 [PATCH 1/3] [PPC32] I2C and GPIO controlers addresses fix on Yucca board Ruslan V. Sushko

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