From: Marek Vasut Date: Tue, 31 Mar 2020 17:51:30 +0000 (+0200) Subject: ARM: dts: stm32: Add configuration EEPROM on AV96 X-Git-Tag: v2020.04-rc5~12^2~4 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e182dcaa1ba8ff3e81a185d194b0f59b5a256072;p=oweals%2Fu-boot.git ARM: dts: stm32: Add configuration EEPROM on AV96 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 Reviewed-by: Patrick Delaunay Signed-off-by: Marek Vasut Cc: Manivannan Sadhasivam Cc: Patrick Delaunay Cc: Patrice Chotard Change-Id: I340a0675c11e4599968b2e3ef0515fb8da8d7b42 --- diff --git a/arch/arm/dts/stm32mp157a-avenger96.dts b/arch/arm/dts/stm32mp157a-avenger96.dts index 023390a662..4dbabb3a0d 100644 --- a/arch/arm/dts/stm32mp157a-avenger96.dts +++ b/arch/arm/dts/stm32mp157a-avenger96.dts @@ -16,6 +16,7 @@ compatible = "arrow,stm32mp157a-avenger96", "st,stm32mp157"; aliases { + eeprom0 = &eeprom0; ethernet0 = ðernet0; mmc0 = &sdmmc1; serial0 = &uart4; @@ -289,6 +290,12 @@ status = "disabled"; }; }; + + eeprom0: eeprom@53 { + compatible = "atmel,24c02"; + reg = <0x53>; + pagesize = <16>; + }; }; &iwdg2 {