305-add-board-clocks-and-rpmcc-into-DT.patch 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. From 6da1b6260843da455cad8180c18d020679fd4a46 Mon Sep 17 00:00:00 2001
  2. From: Pavel Kubelun <be.dissent@gmail.com>
  3. Date: Sun, 6 Nov 2016 19:07:24 +0300
  4. Subject: [PATCH] ipq806x: add board clocks and rpmcc into DT
  5. Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
  6. ---
  7. arch/arm/boot/dts/qcom-ipq8064.dtsi | 17 +++++++++++++++++
  8. 1 file changed, 17 insertions(+)
  9. --- a/arch/arm/boot/dts/qcom-ipq8064.dtsi
  10. +++ b/arch/arm/boot/dts/qcom-ipq8064.dtsi
  11. @@ -92,6 +92,18 @@
  12. };
  13. clocks {
  14. + cxo_board {
  15. + compatible = "fixed-clock";
  16. + #clock-cells = <0>;
  17. + clock-frequency = <25000000>;
  18. + };
  19. +
  20. + pxo_board {
  21. + compatible = "fixed-clock";
  22. + #clock-cells = <0>;
  23. + clock-frequency = <25000000>;
  24. + };
  25. +
  26. sleep_clk: sleep_clk {
  27. compatible = "fixed-clock";
  28. clock-frequency = <32768>;
  29. @@ -175,6 +187,11 @@
  30. #address-cells = <1>;
  31. #size-cells = <0>;
  32. + rpmcc: clock-controller {
  33. + compatible = "qcom,rpmcc-ipq806x", "qcom,rpmcc";
  34. + #clock-cells = <1>;
  35. + };
  36. +
  37. regulators {
  38. compatible = "qcom,rpm-smb208-regulators";