Message ID | 20200326213938.464061-1-marex@denx.de |
---|---|
State | Superseded |
Headers | show |
Series | ARM: dts: stm32: Add configuration EEPROM on AV96 | expand |
Hi Marek On 3/26/20 10:39 PM, Marek Vasut wrote: > The board has an EEPROM on the same I2C bus as PMIC, at address 0x53. > The EEPROM contains the board MAC address. > > Signed-off-by: Marek Vasut <marex at denx.de> > Cc: Patrick Delaunay <patrick.delaunay at st.com> > Cc: Patrice Chotard <patrice.chotard at st.com> > --- > arch/arm/dts/stm32mp157a-avenger96.dts | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/arch/arm/dts/stm32mp157a-avenger96.dts b/arch/arm/dts/stm32mp157a-avenger96.dts > index c8846e4180..43ffbe9f9a 100644 > --- a/arch/arm/dts/stm32mp157a-avenger96.dts > +++ b/arch/arm/dts/stm32mp157a-avenger96.dts > @@ -275,6 +275,12 @@ > status = "disabled"; > }; > }; > + > + eeprom at 53 { > + compatible = "atmel,24c02"; > + reg = <0x53>; > + pagesize = <16>; > + }; > }; > > &iwdg2 { Reviewed-by: Patrice Chotard <patrice.chotard at st.com> Thanks
diff --git a/arch/arm/dts/stm32mp157a-avenger96.dts b/arch/arm/dts/stm32mp157a-avenger96.dts index c8846e4180..43ffbe9f9a 100644 --- a/arch/arm/dts/stm32mp157a-avenger96.dts +++ b/arch/arm/dts/stm32mp157a-avenger96.dts @@ -275,6 +275,12 @@ status = "disabled"; }; }; + + eeprom at 53 { + compatible = "atmel,24c02"; + reg = <0x53>; + pagesize = <16>; + }; }; &iwdg2 {
The board has an EEPROM on the same I2C bus as PMIC, at address 0x53. The EEPROM contains the board MAC address. Signed-off-by: Marek Vasut <marex at denx.de> Cc: Patrick Delaunay <patrick.delaunay at st.com> Cc: Patrice Chotard <patrice.chotard at st.com> --- arch/arm/dts/stm32mp157a-avenger96.dts | 6 ++++++ 1 file changed, 6 insertions(+)