From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from buildserver.ru.mvista.com (unknown [85.21.88.6]) by ozlabs.org (Postfix) with ESMTP id 238AD6842A for ; Sat, 1 Oct 2005 01:52:12 +1000 (EST) Received: from mephisto.spb.rtsoft.ru ([10.149.0.1]) by buildserver.ru.mvista.com (8.11.6/8.11.6) with ESMTP id j8UFUpt11766 for ; Fri, 30 Sep 2005 20:30:51 +0500 From: "Ruslan V. Sushko" To: linuxppc-dev@ozlabs.org Content-Type: multipart/mixed; boundary="=-BuXdzjmcHB+ZETdT1heq" Date: Fri, 30 Sep 2005 19:30:47 +0400 Message-Id: <1128094247.15236.4.camel@mephisto.spb.rtsoft.ru> Mime-Version: 1.0 Subject: [PATCH 1/3] I2C and GPIO controlers address fix on Yucca board List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , --=-BuXdzjmcHB+ZETdT1heq Content-Type: text/plain Content-Transfer-Encoding: 7bit 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. --=-BuXdzjmcHB+ZETdT1heq Content-Disposition: attachment; filename=yucca_i2c.patch Content-Type: text/x-patch; name=yucca_i2c.patch; charset=UTF-8 Content-Transfer-Encoding: 7bit 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, }, --=-BuXdzjmcHB+ZETdT1heq--