Skip to contentSkip to conversation

ARM: dts: aspeed: rainier: Add i2c eeproms

PATCH In review Jinu Thomas 2 participants 2 messages Oct 16, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: aspeed: rainier: Add i2c eeproms

Added eeproms for the below VPD devices
- BMC
- TPM
- System Planar
- DCM 0 VRM
- DCM 1 VRM
- Base Op panel
- Lcd Op panel
- DASD (All)
- PCIe Cards (All)

---
 arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts | 105 +++++++++++++++++++
 1 file changed, 105 insertions(+)
arch/arm/boot/dts/aspeed-bmc-ibm-rainier.dts +105 -0
index cdc65eb28d20..8ced62911155 100644
@@ -53,6 +53,11 @@
 
 &i2c0 {
 	status = "okay";
+
+	eeprom@51 {
+		compatible = "atmel,24c64";
+		reg = <0x51>;
+	};
 };
 
 &i2c1 {
@@ -104,6 +109,21 @@
 		compatible = "ti,tmp275";
 		reg = <0x4a>;
 	};
+
+	eeprom@50 {
+		compatible = "atmel,24c64";
+		reg = <0x50>;
+	};
+
+	eeprom@51 {
+		compatible = "atmel,24c64";
+		reg = <0x51>;
+	};
+
+	eeprom@52 {
+		compatible = "atmel,24c64";
+		reg = <0x52>;
+	};
 };
 
 &i2c5 {
@@ -118,6 +138,16 @@
 		compatible = "ti,tmp275";
 		reg = <0x49>;
 	};
+
+	eeprom@50 {
+		compatible = "atmel,24c64";
+		reg = <0x50>;
+	};
+
+	eeprom@51 {
+		compatible = "atmel,24c64";
+		reg = <0x51>;
+	};
 };
 
 &i2c6 {
@@ -137,6 +167,26 @@
 		compatible = "ti,tmp275";
 		reg = <0x4b>;
 	};
+
+	eeprom@50 {
+		compatible = "atmel,24c64";
+		reg = <0x50>;
+	};
+
+	eeprom@51 {
+		compatible = "atmel,24c64";
+		reg = <0x51>;
+	};
+
+	eeprom@52 {
+		compatible = "atmel,24c64";
+		reg = <0x52>;
+	};
+
+	eeprom@53 {
+		compatible = "atmel,24c64";
+		reg = <0x53>;
+	};
 };
 
 &i2c7 {
@@ -262,6 +312,16 @@
 		reg = <0x76>;
 		#io-channel-cells = <0>;
 	};
+
+	eeprom@50 {
+		compatible = "atmel,24c64";
+		reg = <0x50>;
+	};
+
+	eeprom@51 {
+		compatible = "atmel,24c64";
+		reg = <0x51>;
+	};
 };
 
 &i2c8 {
@@ -296,6 +356,16 @@
 		compatible = "ti,tmp275";
 		reg = <0x4a>;
 	};
+
+	eeprom@50 {
+		compatible = "atmel,24c64";
+		reg = <0x50>;
+	};
+
+	eeprom@51 {
+		compatible = "atmel,24c64";
+		reg = <0x51>;
+	};
 };
 
 &i2c9 {
@@ -340,6 +410,11 @@
 		compatible = "infineon,ir35221";
 		reg = <0x74>;
 	};
+
+	eeprom@50 {
+		compatible = "atmel,24c64";
+		reg = <0x50>;
+	};
 };
 
 &i2c10 {
@@ -384,6 +459,11 @@
 		compatible = "infineon,ir35221";
 		reg = <0x74>;
 	};
+
+	eeprom@50 {
+		compatible = "atmel,24c64";
+		reg = <0x50>;
+	};
 };
 
 &i2c11 {
@@ -398,6 +478,16 @@
 		compatible = "ti,tmp275";
 		reg = <0x49>;
 	};
+
+	eeprom@50 {
+		compatible = "atmel,24c64";
+		reg = <0x50>;
+	};
+
+	eeprom@51 {
+		compatible = "atmel,24c64";
+		reg = <0x51>;
+	};
 };
 
 &i2c12 {
@@ -406,14 +496,29 @@
 
 &i2c13 {
 	status = "okay";
+
+	eeprom@50 {
+		compatible = "atmel,24c64";
+		reg = <0x50>;
+	};
 };
 
 &i2c14 {
 	status = "okay";
+
+	eeprom@50 {
+		compatible = "atmel,24c64";
+		reg = <0x50>;
+	};
 };
 
 &i2c15 {
 	status = "okay";
+
+	eeprom@50 {
+		compatible = "atmel,24c64";
+		reg = <0x50>;
+	};
 };
 
 &lpc_ctrl {
Signature · 1 line
2.21.0 (Apple Git-122)
Reviewed-by on v1 1/1
#1 lore raw
Quoted 10 lines · Jinu Thomas

Added eeproms for the below VPD devices
- BMC
- TPM
- System Planar
- DCM 0 VRM
- DCM 1 VRM
- Base Op panel
- Lcd Op panel
- DASD (All)
- PCIe Cards (All)

Looks good to me.