From: Hugo Villeneuve <[email protected]>

The som-eeprom alias is specific to U-Boot, and not present in upstream
linux imx8mn-var-som device tree.

Add it to the SOM U-Boot specific device tree file in preparation
for migration to OF_UPSTREAM.

Signed-off-by: Hugo Villeneuve <[email protected]>
---
 arch/arm/dts/imx8mn-var-som-u-boot.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/dts/imx8mn-var-som-u-boot.dtsi 
b/arch/arm/dts/imx8mn-var-som-u-boot.dtsi
index c27ad08377e..8f4e4efd8d9 100644
--- a/arch/arm/dts/imx8mn-var-som-u-boot.dtsi
+++ b/arch/arm/dts/imx8mn-var-som-u-boot.dtsi
@@ -5,6 +5,12 @@
 
 #include "imx8mn-u-boot.dtsi"
 
+/ {
+       aliases {
+               eeprom-som = &eeprom_som;
+       };
+};
+
 &{/soc@0/bus@30800000/i2c@30a20000/pmic@4b} {
        bootph-pre-ram;
 };
-- 
2.47.3

Reply via email to