033-ARM-qcom-add-SFPB-nodes-to-IPQ806x-dts.patch 937 B

12345678910111213141516171819202122232425262728293031323334
  1. From c7c482da19a5e4ba7101198c21c2434056b0b2da Mon Sep 17 00:00:00 2001
  2. From: Mathieu Olivari <mathieu@codeaurora.org>
  3. Date: Thu, 13 Aug 2015 09:45:26 -0700
  4. Subject: [PATCH 1/3] ARM: qcom: add SFPB nodes to IPQ806x dts
  5. Add one new node to the ipq806x.dtsi file to declare & register the
  6. hardware spinlock devices. This mechanism is required to be used by
  7. other drivers such as SMEM.
  8. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
  9. ---
  10. arch/arm/boot/dts/qcom-ipq8064.dtsi | 11 +++++++++++
  11. 1 file changed, 11 insertions(+)
  12. --- a/arch/arm/boot/dts/qcom-ipq8064.dtsi
  13. +++ b/arch/arm/boot/dts/qcom-ipq8064.dtsi
  14. @@ -291,5 +291,17 @@
  15. #clock-cells = <1>;
  16. #reset-cells = <1>;
  17. };
  18. +
  19. + sfpb_mutex_block: syscon@1200600 {
  20. + compatible = "syscon";
  21. + reg = <0x01200600 0x100>;
  22. + };
  23. };
  24. +
  25. + sfpb_mutex: sfpb-mutex {
  26. + compatible = "qcom,sfpb-mutex";
  27. + syscon = <&sfpb_mutex_block 4 4>;
  28. +
  29. + #hwlock-cells = <1>;
  30. + };
  31. };