aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSughosh Ganu <sughosh.ganu@linaro.org>2022-02-11 16:51:56 +0530
committerSughosh Ganu <sughosh.ganu@linaro.org>2022-02-13 17:23:05 +0530
commitc1f45a39aa588d0c2000d40119584cf7dd6147de (patch)
tree8cb01c79faacb92c3d06056d004bc1e8d82053a7
parent7fa86fbbebbd66184a38bcd3d0878a6e0427e7e5 (diff)
stm32mp1: dk2: Add a node for the FWU metadata device
The FWU metadata structure is accessed through the driver model interface. On the stm32mp157c-dk2 board, 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>
-rw-r--r--arch/arm/dts/stm32mp157c-dk2-u-boot.dtsi7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/dts/stm32mp157c-dk2-u-boot.dtsi b/arch/arm/dts/stm32mp157c-dk2-u-boot.dtsi
index 06ef3a4095f1..24f86209db66 100644
--- a/arch/arm/dts/stm32mp157c-dk2-u-boot.dtsi
+++ b/arch/arm/dts/stm32mp157c-dk2-u-boot.dtsi
@@ -4,3 +4,10 @@
*/
#include "stm32mp157a-dk1-u-boot.dtsi"
+
+/ {
+ fwu-mdata {
+ compatible = "u-boot,fwu-mdata-gpt";
+ fwu-mdata-store = <&sdmmc1>;
+ };
+};