aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorJan Kiszka2021-09-18 08:17:56 +0200
committerTom Rini2021-10-03 14:40:56 -0400
commit26fa063c6e6c12ff111c9ccadd41b84e3f66ad1d (patch)
tree6c7cd744ac55da0f0a782a40b6c165b405bcd7e8 /arch
parentf3efb1d10646548583aa24425fd4a499d185a739 (diff)
iot2050: Enable watchdog support, but do not auto-start it
This allows to use the watchdog in custom scripts but does not enforce that the OS has to support it as well. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/dts/k3-am65-iot2050-boot-image.dtsi25
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/arm/dts/k3-am65-iot2050-boot-image.dtsi b/arch/arm/dts/k3-am65-iot2050-boot-image.dtsi
index 1e02cece6c7..69479d7b18e 100644
--- a/arch/arm/dts/k3-am65-iot2050-boot-image.dtsi
+++ b/arch/arm/dts/k3-am65-iot2050-boot-image.dtsi
@@ -80,6 +80,19 @@
filename = "arch/arm/dts/k3-am6548-iot2050-advanced-pg2.dtb";
};
};
+
+#ifdef CONFIG_WDT_K3_RTI_FW_FILE
+ k3-rti-wdt-firmware {
+ type = "firmware";
+ load = <0x82000000>;
+ arch = "arm";
+ compression = "none";
+ blob-ext {
+ filename = CONFIG_WDT_K3_RTI_FW_FILE;
+ missing-msg = "k3-rti-wdt-firmware";
+ };
+ };
+#endif
};
configurations {
@@ -89,24 +102,36 @@
description = "iot2050-basic";
firmware = "u-boot";
fdt = "fdt-iot2050-basic";
+#ifdef CONFIG_WDT_K3_RTI_FW_FILE
+ loadables = "k3-rti-wdt-firmware";
+#endif
};
conf-iot2050-basic-pg2 {
description = "iot2050-basic-pg2";
firmware = "u-boot";
fdt = "fdt-iot2050-basic-pg2";
+#ifdef CONFIG_WDT_K3_RTI_FW_FILE
+ loadables = "k3-rti-wdt-firmware";
+#endif
};
conf-iot2050-advanced {
description = "iot2050-advanced";
firmware = "u-boot";
fdt = "fdt-iot2050-advanced";
+#ifdef CONFIG_WDT_K3_RTI_FW_FILE
+ loadables = "k3-rti-wdt-firmware";
+#endif
};
conf-iot2050-advanced-pg2 {
description = "iot2050-advanced-pg2";
firmware = "u-boot";
fdt = "fdt-iot2050-advanced-pg2";
+#ifdef CONFIG_WDT_K3_RTI_FW_FILE
+ loadables = "k3-rti-wdt-firmware";
+#endif
};
};
};