stm32mp1: Add a node for the FWU metadata device

The FWU metadata structure is accessed through the driver model
interface. On the stm32mp157c dk2 and ev1 boards, the FWU metadata is
stored on the uSD card. Add the fwu-mdata node on the u-boot specifc
dtsi file for accessing the metadata structure.

Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
This commit is contained in:
Sughosh Ganu 2022-10-21 18:15:57 +05:30 committed by Tom Rini
parent 554b38f7a5
commit a402adc664
2 changed files with 12 additions and 0 deletions

View File

@ -4,3 +4,10 @@
*/ */
#include "stm32mp157a-dk1-u-boot.dtsi" #include "stm32mp157a-dk1-u-boot.dtsi"
/ {
fwu-mdata {
compatible = "u-boot,fwu-mdata-gpt";
fwu-mdata-store = <&sdmmc1>;
};
};

View File

@ -14,6 +14,11 @@
spi0 = &qspi; spi0 = &qspi;
usb0 = &usbotg_hs; usb0 = &usbotg_hs;
}; };
fwu-mdata {
compatible = "u-boot,fwu-mdata-gpt";
fwu-mdata-store = <&sdmmc1>;
};
}; };
&flash0 { &flash0 {