Message ID | 20200331175136.205020-9-marex@denx.de |
---|---|
State | Accepted |
Delegated to: | Patrick Delaunay |
Headers | show |
Series | ARM: stm32: Fix Avenger96 | expand |
Hi, > From: Marek Vasut <marex@denx.de> > Sent: mardi 31 mars 2020 19:52 > > 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> > --- Applied to u-boot-stm/master, with one minor modification I also add the alias eeprom0 = &eeprom0 (with eeprom0: eeprom@53) to be compatible with previous patch "ARM: dts: stm32: Use DT alias for the configuration EEPROM" Regards Patrick
On 4/1/20 12:02 PM, Patrick DELAUNAY wrote: > Hi, Hi, >> From: Marek Vasut <marex@denx.de> >> Sent: mardi 31 mars 2020 19:52 >> >> 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> >> --- > > Applied to u-boot-stm/master, with one minor modification > > I also add the alias eeprom0 = &eeprom0 (with eeprom0: eeprom@53) to be compatible > with previous patch "ARM: dts: stm32: Use DT alias for the configuration EEPROM" Thanks, this was in 14/14, but got omitted here.
diff --git a/arch/arm/dts/stm32mp157a-avenger96.dts b/arch/arm/dts/stm32mp157a-avenger96.dts index 023390a662..5c7a326c12 100644 --- a/arch/arm/dts/stm32mp157a-avenger96.dts +++ b/arch/arm/dts/stm32mp157a-avenger96.dts @@ -289,6 +289,12 @@ status = "disabled"; }; }; + + eeprom@53 { + compatible = "atmel,24c02"; + reg = <0x53>; + pagesize = <16>; + }; }; &iwdg2 {