summaryrefslogtreecommitdiffstats
path: root/arch/arm/dts/imx7d-zii-rmu2.dts
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/dts/imx7d-zii-rmu2.dts')
-rw-r--r--arch/arm/dts/imx7d-zii-rmu2.dts39
1 files changed, 38 insertions, 1 deletions
diff --git a/arch/arm/dts/imx7d-zii-rmu2.dts b/arch/arm/dts/imx7d-zii-rmu2.dts
index 1d0d631de7..64da9cf55d 100644
--- a/arch/arm/dts/imx7d-zii-rmu2.dts
+++ b/arch/arm/dts/imx7d-zii-rmu2.dts
@@ -4,5 +4,42 @@
* Copyright (C) 2019 Zodiac Inflight Innovations
*/
-#include "imx7d-zii-rmu2.dtsi"
+#include <arm/nxp/imx/imx7d-zii-rmu2.dts>
#include "imx7d-ddrc.dtsi"
+
+/* FIXME: barebox serial is broken when barebox applies requested reparenting */
+&uart2 {
+ /delete-property/ assigned-clocks;
+ /delete-property/ assigned-clock-parents;
+};
+
+&uart4 {
+ /delete-property/ assigned-clocks;
+ /delete-property/ assigned-clock-parents;
+};
+
+nor_flash: &{ecspi1/flash@0} {
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ partition@0 {
+ label = "barebox";
+ reg = <0x0 0xc0000>;
+ };
+
+ partition@c0000 {
+ label = "barebox-environment";
+ reg = <0xc0000 0x40000>;
+ };
+};
+
+&{uart4/mcu/watchdog} {
+ nvmem-cells = <&boot_source>;
+ nvmem-cell-names = "boot-source";
+};
+
+&{uart4/mcu/eeprom@a3} {
+ boot_source: boot-source@83 {
+ reg = <0x83 1>;
+ };
+};