[PATCH v2] arm64: dts: imx8mn-var-som: add SOM EEPROM

Hugo Villeneuve posted 1 patch 2 years, 7 months ago
arch/arm64/boot/dts/freescale/imx8mn-var-som.dtsi | 6 ++++++
1 file changed, 6 insertions(+)
[PATCH v2] arm64: dts: imx8mn-var-som: add SOM EEPROM
Posted by Hugo Villeneuve 2 years, 7 months ago
From: Hugo Villeneuve <hvilleneuve@dimonoff.com>

The 4Kbit EEPROM located on the SOM contains hardware configuration
options, manufacturing infos and ethernet MAC address.

Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
---
 arch/arm64/boot/dts/freescale/imx8mn-var-som.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx8mn-var-som.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-var-som.dtsi
index cbd9d124c80d..900605421bf9 100644
--- a/arch/arm64/boot/dts/freescale/imx8mn-var-som.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mn-var-som.dtsi
@@ -228,6 +228,12 @@ ldo6_reg: LDO6 {
 			};
 		};
 	};
+
+	eeprom_som: eeprom@52 {
+		compatible = "atmel,24c04";
+		reg = <0x52>;
+		pagesize = <16>;
+	};
 };
 
 &i2c3 {
-- 
2.30.2
Re: [PATCH v2] arm64: dts: imx8mn-var-som: add SOM EEPROM
Posted by Shawn Guo 2 years, 7 months ago
On Mon, May 01, 2023 at 01:02:50PM -0400, Hugo Villeneuve wrote:
> From: Hugo Villeneuve <hvilleneuve@dimonoff.com>
> 
> The 4Kbit EEPROM located on the SOM contains hardware configuration
> options, manufacturing infos and ethernet MAC address.
> 
> Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>

Applied, thanks!