0009-arm64-dts-ti-k3-am65-mcu-Add-RTI-watchdog-entry.patch 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. From 71ddd11e950e1b60a750cdf75c2c21148e7c9a8f Mon Sep 17 00:00:00 2001
  2. From: Jan Kiszka <jan.kiszka@siemens.com>
  3. Date: Sat, 20 Feb 2021 13:49:51 +0100
  4. Subject: [PATCH] arm64: dts: ti: k3-am65-mcu: Add RTI watchdog entry
  5. Add the DT entry for a watchdog based on RTI1.
  6. On SR1.0 silicon, it requires additional firmware on the MCU R5F cores
  7. to handle the expiry, e.g. https://github.com/siemens/k3-rti-wdt. As
  8. this firmware will also lock the power domain to protect it against
  9. premature shutdown, mark it shared.
  10. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
  11. Signed-off-by: Nishanth Menon <nm@ti.com>
  12. Acked-by: Praneeth Bajjuri <praneeth@ti.com>
  13. Link: https://lore.kernel.org/r/279c20fa-6e5e-4f88-9cd1-f76297a28a19@web.de
  14. ---
  15. arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi | 9 +++++++++
  16. 1 file changed, 9 insertions(+)
  17. diff --git a/arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi b/arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi
  18. index 7454c8cec0cc..0388c02c2203 100644
  19. --- a/arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi
  20. +++ b/arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi
  21. @@ -308,4 +308,13 @@ mcu_r5fss0_core1: r5f@41400000 {
  22. ti,loczrama = <1>;
  23. };
  24. };
  25. +
  26. + mcu_rti1: watchdog@40610000 {
  27. + compatible = "ti,j7-rti-wdt";
  28. + reg = <0x0 0x40610000 0x0 0x100>;
  29. + clocks = <&k3_clks 135 0>;
  30. + power-domains = <&k3_pds 135 TI_SCI_PD_SHARED>;
  31. + assigned-clocks = <&k3_clks 135 0>;
  32. + assigned-clock-parents = <&k3_clks 135 4>;
  33. + };
  34. };