035-v6.2-0002-arm64-dts-broadcom-bcmbca-bcm6858-add-TWD-block.patch 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. From 4f9fb09175e87a233787a2dee1e5dabb14deb022 Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <[email protected]>
  3. Date: Thu, 3 Nov 2022 12:00:15 +0100
  4. Subject: [PATCH] arm64: dts: broadcom: bcmbca: bcm6858: add TWD block
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. BCM6858 contains TWD block with timers, watchdog, and reset subblocks.
  9. Describe it.
  10. Signed-off-by: Rafał Miłecki <[email protected]>
  11. Link: https://lore.kernel.org/r/[email protected]
  12. Signed-off-by: Florian Fainelli <[email protected]>
  13. ---
  14. .../boot/dts/broadcom/bcmbca/bcm6858.dtsi | 19 +++++++++++++++++++
  15. 1 file changed, 19 insertions(+)
  16. --- a/arch/arm64/boot/dts/broadcom/bcmbca/bcm6858.dtsi
  17. +++ b/arch/arm64/boot/dts/broadcom/bcmbca/bcm6858.dtsi
  18. @@ -109,6 +109,25 @@
  19. #size-cells = <1>;
  20. ranges = <0x0 0x0 0xff800000 0x62000>;
  21. + twd: timer-mfd@400 {
  22. + compatible = "brcm,bcm4908-twd", "simple-mfd", "syscon";
  23. + reg = <0x400 0x4c>;
  24. + ranges = <0x0 0x400 0x4c>;
  25. +
  26. + #address-cells = <1>;
  27. + #size-cells = <1>;
  28. +
  29. + timer@0 {
  30. + compatible = "brcm,bcm63138-timer";
  31. + reg = <0x0 0x28>;
  32. + };
  33. +
  34. + watchdog@28 {
  35. + compatible = "brcm,bcm6345-wdt";
  36. + reg = <0x28 0x8>;
  37. + };
  38. + };
  39. +
  40. uart0: serial@640 {
  41. compatible = "brcm,bcm6345-uart";
  42. reg = <0x640 0x18>;