115-add-pcie-aux-clk-dts.patch 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. --- a/arch/arm/boot/dts/qcom-ipq8064.dtsi
  2. +++ b/arch/arm/boot/dts/qcom-ipq8064.dtsi
  3. @@ -476,15 +476,21 @@
  4. clocks = <&gcc PCIE_A_CLK>,
  5. <&gcc PCIE_H_CLK>,
  6. - <&gcc PCIE_PHY_CLK>;
  7. - clock-names = "core", "iface", "phy";
  8. + <&gcc PCIE_PHY_CLK>,
  9. + <&gcc PCIE_AUX_CLK>,
  10. + <&gcc PCIE_ALT_REF_CLK>;
  11. + clock-names = "core", "iface", "phy", "aux", "ref";
  12. +
  13. + assigned-clocks = <&gcc PCIE_ALT_REF_CLK>;
  14. + assigned-clock-rates = <100000000>;
  15. resets = <&gcc PCIE_ACLK_RESET>,
  16. <&gcc PCIE_HCLK_RESET>,
  17. <&gcc PCIE_POR_RESET>,
  18. <&gcc PCIE_PCI_RESET>,
  19. - <&gcc PCIE_PHY_RESET>;
  20. - reset-names = "axi", "ahb", "por", "pci", "phy";
  21. + <&gcc PCIE_PHY_RESET>,
  22. + <&gcc PCIE_EXT_RESET>;
  23. + reset-names = "axi", "ahb", "por", "pci", "phy", "ext";
  24. pinctrl-0 = <&pcie0_pins>;
  25. pinctrl-names = "default";
  26. @@ -522,15 +528,21 @@
  27. clocks = <&gcc PCIE_1_A_CLK>,
  28. <&gcc PCIE_1_H_CLK>,
  29. - <&gcc PCIE_1_PHY_CLK>;
  30. - clock-names = "core", "iface", "phy";
  31. + <&gcc PCIE_1_PHY_CLK>,
  32. + <&gcc PCIE_1_AUX_CLK>,
  33. + <&gcc PCIE_1_ALT_REF_CLK>;
  34. + clock-names = "core", "iface", "phy", "aux", "ref";
  35. +
  36. + assigned-clocks = <&gcc PCIE_1_ALT_REF_CLK>;
  37. + assigned-clock-rates = <100000000>;
  38. resets = <&gcc PCIE_1_ACLK_RESET>,
  39. <&gcc PCIE_1_HCLK_RESET>,
  40. <&gcc PCIE_1_POR_RESET>,
  41. <&gcc PCIE_1_PCI_RESET>,
  42. - <&gcc PCIE_1_PHY_RESET>;
  43. - reset-names = "axi", "ahb", "por", "pci", "phy";
  44. + <&gcc PCIE_1_PHY_RESET>,
  45. + <&gcc PCIE_1_EXT_RESET>;
  46. + reset-names = "axi", "ahb", "por", "pci", "phy", "ext";
  47. pinctrl-0 = <&pcie1_pins>;
  48. pinctrl-names = "default";
  49. @@ -568,15 +580,21 @@
  50. clocks = <&gcc PCIE_2_A_CLK>,
  51. <&gcc PCIE_2_H_CLK>,
  52. - <&gcc PCIE_2_PHY_CLK>;
  53. - clock-names = "core", "iface", "phy";
  54. + <&gcc PCIE_2_PHY_CLK>,
  55. + <&gcc PCIE_2_AUX_CLK>,
  56. + <&gcc PCIE_2_ALT_REF_CLK>;
  57. + clock-names = "core", "iface", "phy", "aux", "ref";
  58. +
  59. + assigned-clocks = <&gcc PCIE_2_ALT_REF_CLK>;
  60. + assigned-clock-rates = <100000000>;
  61. resets = <&gcc PCIE_2_ACLK_RESET>,
  62. <&gcc PCIE_2_HCLK_RESET>,
  63. <&gcc PCIE_2_POR_RESET>,
  64. <&gcc PCIE_2_PCI_RESET>,
  65. - <&gcc PCIE_2_PHY_RESET>;
  66. - reset-names = "axi", "ahb", "por", "pci", "phy";
  67. + <&gcc PCIE_2_PHY_RESET>,
  68. + <&gcc PCIE_2_EXT_RESET>;
  69. + reset-names = "axi", "ahb", "por", "pci", "phy", "ext";
  70. pinctrl-0 = <&pcie2_pins>;
  71. pinctrl-names = "default";