[patch 3/5] xtensa: add at24hc02b to s6105 platform

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is particularly used to read the MAC address of the ethernet
controller from an EEPROM.

Signed-off-by: Daniel Glöckner <dg@xxxxxxxxx>
---
 arch/xtensa/platforms/s6105/device.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/arch/xtensa/platforms/s6105/device.c b/arch/xtensa/platforms/s6105/device.c
index 00f52ee..9394e6f 100644
--- a/arch/xtensa/platforms/s6105/device.c
+++ b/arch/xtensa/platforms/s6105/device.c
@@ -168,6 +168,9 @@ static struct resource s6_i2c_resource[] = {
 #define S6I2C_ADDR_PCA9543	0x73
 
 static struct i2c_board_info __initdata s6_i2c_devices[] = {
+	{
+		I2C_BOARD_INFO("24c02", S6I2C_ADDR_AT24HC02B),
+	},
 };
 
 static struct platform_device platform_devices[] = {
-- 
1.6.2.107.ge47ee

--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux