ARM: dts: stm32: Add configuration EEPROM on AV96
authorMarek Vasut <marex@denx.de>
Tue, 31 Mar 2020 17:51:30 +0000 (19:51 +0200)
committerPatrick Delaunay <patrick.delaunay@st.com>
Wed, 1 Apr 2020 09:58:00 +0000 (11:58 +0200)
The board has an EEPROM on the same I2C bus as PMIC, at address 0x53.
The EEPROM contains the board MAC address.

Reviewed-by: Patrice Chotard <patrice.chotard@st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@st.com>
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Cc: Patrick Delaunay <patrick.delaunay@st.com>
Cc: Patrice Chotard <patrice.chotard@st.com>
Change-Id: I340a0675c11e4599968b2e3ef0515fb8da8d7b42

arch/arm/dts/stm32mp157a-avenger96.dts

index 023390a66225da59b2f4f11b756d8c6a014d747f..4dbabb3a0d8a36616fdb4c10d3114a420decf18c 100644 (file)
@@ -16,6 +16,7 @@
        compatible = "arrow,stm32mp157a-avenger96", "st,stm32mp157";
 
        aliases {
+               eeprom0 = &eeprom0;
                ethernet0 = &ethernet0;
                mmc0 = &sdmmc1;
                serial0 = &uart4;
                        status = "disabled";
                };
        };
+
+       eeprom0: eeprom@53 {
+               compatible = "atmel,24c02";
+               reg = <0x53>;
+               pagesize = <16>;
+       };
 };
 
 &iwdg2 {