012-ARM-qcom-add-description-of-KPSS-WDT-for-IPQ8064.patch 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. From 297cf8136ecd6a56520888fd28948393766b8ee7 Mon Sep 17 00:00:00 2001
  2. From: Mathieu Olivari <mathieu@codeaurora.org>
  3. Date: Thu, 19 Feb 2015 20:27:39 -0800
  4. Subject: [PATCH 2/3] ARM: qcom: add description of KPSS WDT for IPQ8064
  5. Add the watchdog related entries to the Krait Processor Sub-system
  6. (KPSS) timer IPQ8064 devicetree section. Also, add a fixed-clock
  7. description of SLEEP_CLK, which will do for now.
  8. Signed-off-by: Josh Cartwright <joshc@codeaurora.org>
  9. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
  10. ---
  11. arch/arm/boot/dts/qcom-ipq8064.dtsi | 14 +++++++++++++-
  12. 1 file changed, 13 insertions(+), 1 deletion(-)
  13. --- a/arch/arm/boot/dts/qcom-ipq8064.dtsi
  14. +++ b/arch/arm/boot/dts/qcom-ipq8064.dtsi
  15. @@ -60,6 +60,14 @@
  16. };
  17. };
  18. + clocks {
  19. + sleep_clk: sleep_clk {
  20. + compatible = "fixed-clock";
  21. + clock-frequency = <32768>;
  22. + #clock-cells = <0>;
  23. + };
  24. + };
  25. +
  26. soc: soc {
  27. #address-cells = <1>;
  28. #size-cells = <1>;
  29. @@ -89,10 +97,14 @@
  30. compatible = "qcom,kpss-timer", "qcom,msm-timer";
  31. interrupts = <1 1 0x301>,
  32. <1 2 0x301>,
  33. - <1 3 0x301>;
  34. + <1 3 0x301>,
  35. + <1 4 0x301>,
  36. + <1 5 0x301>;
  37. reg = <0x0200a000 0x100>;
  38. clock-frequency = <25000000>,
  39. <32768>;
  40. + clocks = <&sleep_clk>;
  41. + clock-names = "sleep";
  42. cpu-offset = <0x80000>;
  43. };