summaryrefslogtreecommitdiffstats
path: root/arch/arm/dts/stm32mp157c-lxa-mc1.dts
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/dts/stm32mp157c-lxa-mc1.dts')
-rw-r--r--arch/arm/dts/stm32mp157c-lxa-mc1.dts16
1 files changed, 15 insertions, 1 deletions
diff --git a/arch/arm/dts/stm32mp157c-lxa-mc1.dts b/arch/arm/dts/stm32mp157c-lxa-mc1.dts
index f89c085280..29852ee9aa 100644
--- a/arch/arm/dts/stm32mp157c-lxa-mc1.dts
+++ b/arch/arm/dts/stm32mp157c-lxa-mc1.dts
@@ -3,10 +3,14 @@
* Copyright (C) 2020 Ahmad Fatoum, Pengutronix
*/
-#include <arm/stm32mp157c-lxa-mc1.dts>
+#include <arm/st/stm32mp157c-lxa-mc1.dts>
#include "stm32mp151.dtsi"
/ {
+ aliases {
+ state = &state;
+ };
+
chosen {
environment-sd {
compatible = "barebox,environment";
@@ -21,6 +25,16 @@
};
};
+ state: state {
+ compatible = "barebox,state";
+ magic = <0x778ec0f4>;
+ /* backend is fixed up by board code */
+ backend-type = "raw";
+ backend-storage-type = "direct";
+ backend-stridesize = <0x40>;
+
+ #include "bootstate.dtsi"
+ };
};
&panel {