linux-mips
[Top] [All Lists]

[PATCH V2] MIPS: Octeon: Register EEPROM device on the I2C bus

To: ddaney@caviumnetworks.com, ben-linux@fluff.org, khali@linux-fr.org, ralf@linux-mips.org
Subject: [PATCH V2] MIPS: Octeon: Register EEPROM device on the I2C bus
From: Yang Shi <yang.shi@windriver.com>
Date: Mon, 8 Mar 2010 13:29:50 +0800
Cc: linux-mips@linux-mips.org, linux-i2c@vger.kernel.org
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
An SPD resides on 0x50 of the I2C bus on CN56xx/57xx board,
register this device.

Signed-off-by: Yang Shi <yang.shi@windriver.com>
---
 arch/mips/cavium-octeon/octeon-platform.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/arch/mips/cavium-octeon/octeon-platform.c 
b/arch/mips/cavium-octeon/octeon-platform.c
index 62ac30e..3138982 100644
--- a/arch/mips/cavium-octeon/octeon-platform.c
+++ b/arch/mips/cavium-octeon/octeon-platform.c
@@ -164,6 +164,9 @@ static struct i2c_board_info __initdata 
octeon_i2c_devices[] = {
        {
                I2C_BOARD_INFO("ds1337", 0x68),
        },
+       {
+               I2C_BOARD_INFO("spd", 0x50),
+       },
 };
 
 static int __init octeon_i2c_devices_init(void)
-- 
1.6.3.3


<Prev in Thread] Current Thread [Next in Thread>