032-v5.18-0003-arm64-dts-broadcom-bcm4908-add-watchdog-block.patch 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. From 47513f6dd93b5b7d91143219c2c1fb883664ed13 Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <[email protected]>
  3. Date: Wed, 9 Feb 2022 21:14:17 +0100
  4. Subject: [PATCH] arm64: dts: broadcom: bcm4908: add watchdog block
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. BCM4908 has the same watchdog as BCM63xx devices. Use "brcm,bcm6345-wdt"
  9. binding which matches the first SoC with that block.
  10. Signed-off-by: Rafał Miłecki <[email protected]>
  11. Signed-off-by: Florian Fainelli <[email protected]>
  12. ---
  13. arch/arm64/boot/dts/broadcom/bcmbca/bcm4908.dtsi | 9 +++++++++
  14. 1 file changed, 9 insertions(+)
  15. --- a/arch/arm64/boot/dts/broadcom/bcmbca/bcm4908.dtsi
  16. +++ b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4908.dtsi
  17. @@ -275,6 +275,15 @@
  18. twd: timer-mfd@400 {
  19. compatible = "brcm,bcm4908-twd", "simple-mfd", "syscon";
  20. reg = <0x400 0x4c>;
  21. + ranges = <0x0 0x400 0x4c>;
  22. +
  23. + #address-cells = <1>;
  24. + #size-cells = <1>;
  25. +
  26. + watchdog@28 {
  27. + compatible = "brcm,bcm6345-wdt";
  28. + reg = <0x28 0x8>;
  29. + };
  30. };
  31. gpio0: gpio-controller@500 {