[PATCH linux] Add motherboard eeprom located at i2c4 address 0xA8

OpenBMC Patches openbmc-patches at stwcx.xyz
Wed May 18 05:21:01 AEST 2016


From: Adriana Kobylak <anoo at us.ibm.com>

The motherbaord eeprom in Barreleye is accessible through i2c4
address 0xA8 (54). Adding it to the device tree since its vpd
contains the system UUID which is needed to be added to the
inventory.

Signed-off-by: Adriana Kobylak <anoo at us.ibm.com>
---
 arch/arm/boot/dts/aspeed-bmc-opp-barreleye.dts | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-barreleye.dts b/arch/arm/boot/dts/aspeed-bmc-opp-barreleye.dts
index a06252a..0e567e8 100644
--- a/arch/arm/boot/dts/aspeed-bmc-opp-barreleye.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-barreleye.dts
@@ -82,6 +82,11 @@
 						reg = <0x10>;
 						sense-resistor = <500>;
 					};
+					eeprom at 54 {
+						compatible = "atmel,24c256";
+						reg = <0x54>;
+						pagesize = <64>;
+					};
 				};
 				i2c5: i2c-bus at 180 {
 					adm1278 at 10 {
-- 
2.8.2




More information about the openbmc mailing list