ARM: dts: stm32: Use DT alias for the configuration EEPROM
authorMarek Vasut <marex@denx.de>
Tue, 31 Mar 2020 17:51:29 +0000 (19:51 +0200)
committerPatrick Delaunay <patrick.delaunay@st.com>
Wed, 1 Apr 2020 09:58:00 +0000 (11:58 +0200)
commitf19312e5f400b1eb23252fa6d9e49a1e5512b448
tree8d1615dd239fd8d8460fa069a1b9db7ae081f55b
parent2f0b5d930d3b2100917077ef7217e77c3c9ae956
ARM: dts: stm32: Use DT alias for the configuration EEPROM

Use DT /aliases node to establish a stable phandle to the configuration
EEPROM. This permits the configuration EEPROM to be moved e.g. to a
different address or a different bus. Adjust the board code to handle
new phandle lookup.

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>
arch/arm/dts/stm32mp15xx-dhcom.dtsi
board/dhelectronics/dh_stm32mp1/board.c