* [PATCH 1/3] Fix fphysical addresses or I2C and GPIO controllers for Yucca board
@ 2005-09-30 15:49 Ruslan V. Sushko
0 siblings, 0 replies; only message in thread
From: Ruslan V. Sushko @ 2005-09-30 15:49 UTC (permalink / raw)
To: linuxppc-dev
[-- Attachment #1: Type: text/plain, Size: 316 bytes --]
This patch fixes physical address for I2C and GPIO controllers on Yucca
PPC440SPe board. The fixes above 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.
Signed-off-by: Ruslan V. Sushko <rsushko@ru.mvista.com>
[-- 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-09-30 15:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-30 15:49 [PATCH 1/3] Fix fphysical addresses or I2C and GPIO controllers for 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