Skip to contentSkip to conversation

ARM: dts: stm32: Add configuration EEPROM on AV96

PATCH New Marek Vasut 2 participants 2 messages Mar 26, 2020 – Mar 30, 2020

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

PATCH 1/1 ARM: dts: stm32: Add configuration EEPROM on AV96

The board has an EEPROM on the same I2C bus as PMIC, at address 0x53. The EEPROM contains the board MAC address.

Cc Patrick Delaunay <[email protected]>
Cc Patrice Chotard <[email protected]>
---
 arch/arm/dts/stm32mp157a-avenger96.dts | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm/dts/stm32mp157a-avenger96.dts +6 -0
index c8846e4180..43ffbe9f9a 100644
@@ -275,6 +275,12 @@
 			status = "disabled";
 		};
 	};
+
+	eeprom at 53 {
+		compatible = "atmel,24c02";
+		reg = <0x53>;
+		pagesize = <16>;
+	};
 };
 
 &iwdg2 {
Signature · 1 line
2.25.1
#1 lore raw

PATCH 1/1 ARM: dts: stm32: Add configuration EEPROM on AV96

Hi Marek

Quoted 17 lines · Marek Vasut

The board has an EEPROM on the same I2C bus as PMIC, at address 0x53. The EEPROM contains the board MAC address.

Cc Patrick Delaunay <[email protected]>
Cc Patrice Chotard <[email protected]>
---
 arch/arm/dts/stm32mp157a-avenger96.dts | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm/dts/stm32mp157a-avenger96.dts +0 -0
index c8846e4180..43ffbe9f9a 100644
@@ -275,6 +275,12 @@
 			status = "disabled";
 		};

arch/arm/dts/stm32mp157a-avenger96.dts line 286

Quoted 10 lines
arch/arm/dts/stm32mp157a-avenger96.dts +6 -0
 	};
+
+	eeprom at 53 {
+		compatible = "atmel,24c02";
+		reg = <0x53>;
+		pagesize = <16>;
+	};
 };
 
 &iwdg2 {

Thanks