stm32mp257f-ev1-ca35tdcid-rcc.dtsi 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
  2. /*
  3. * Copyright (C) STMicroelectronics 2024 - All Rights Reserved
  4. * Author: Loic Pallardy loic.pallardy@foss.st.com for STMicroelectronics.
  5. */
  6. /*
  7. * STM32MP25 Clock tree device tree configuration
  8. * Project : open
  9. * Generated by XLmx tool version 2.2 - 2/27/2024 11:46:16 AM
  10. */
  11. &clk_hse {
  12. clock-frequency = <40000000>;
  13. };
  14. &clk_hsi {
  15. clock-frequency = <64000000>;
  16. };
  17. &clk_lse {
  18. clock-frequency = <32768>;
  19. };
  20. &clk_lsi {
  21. clock-frequency = <32000>;
  22. };
  23. &clk_msi {
  24. clock-frequency = <16000000>;
  25. };
  26. &rcc {
  27. st,busclk = <
  28. DIV_CFG(DIV_LSMCU, 1)
  29. DIV_CFG(DIV_APB1, 0)
  30. DIV_CFG(DIV_APB2, 0)
  31. DIV_CFG(DIV_APB3, 0)
  32. DIV_CFG(DIV_APB4, 0)
  33. DIV_CFG(DIV_APBDBG, 0)
  34. >;
  35. st,flexgen = <
  36. FLEXGEN_CFG(0, XBAR_SRC_PLL4, 0, 2)
  37. FLEXGEN_CFG(1, XBAR_SRC_PLL4, 0, 5)
  38. FLEXGEN_CFG(2, XBAR_SRC_PLL4, 0, 1)
  39. FLEXGEN_CFG(4, XBAR_SRC_PLL4, 0, 3)
  40. FLEXGEN_CFG(5, XBAR_SRC_PLL4, 0, 2)
  41. FLEXGEN_CFG(8, XBAR_SRC_HSI_KER, 0, 0)
  42. FLEXGEN_CFG(48, XBAR_SRC_PLL5, 0, 3)
  43. FLEXGEN_CFG(51, XBAR_SRC_PLL4, 0, 5)
  44. FLEXGEN_CFG(52, XBAR_SRC_PLL4, 0, 5)
  45. FLEXGEN_CFG(58, XBAR_SRC_HSE, 0, 1)
  46. FLEXGEN_CFG(63, XBAR_SRC_PLL4, 0, 2)
  47. >;
  48. st,kerclk = <
  49. MUX_CFG(MUX_USB2PHY1, MUX_USB2PHY1_FLEX57)
  50. MUX_CFG(MUX_USB2PHY2, MUX_USB2PHY2_FLEX58)
  51. >;
  52. pll1: st,pll-1 {
  53. st,pll = <&pll1_cfg_1200Mhz>;
  54. pll1_cfg_1200Mhz: pll1-cfg-1200Mhz {
  55. cfg = <30 1 1 1>;
  56. src = <MUX_CFG(MUX_MUXSEL5, MUXSEL_HSE)>;
  57. };
  58. };
  59. pll2: st,pll-2 {
  60. st,pll = <&pll2_cfg_600Mhz>;
  61. pll2_cfg_600Mhz: pll2-cfg-600Mhz {
  62. cfg = <30 1 1 2>;
  63. src = <MUX_CFG(MUX_MUXSEL6, MUXSEL_HSE)>;
  64. };
  65. };
  66. pll4: st,pll-4 {
  67. st,pll = <&pll4_cfg_1200Mhz>;
  68. pll4_cfg_1200Mhz: pll4-cfg-1200Mhz {
  69. cfg = <30 1 1 1>;
  70. src = <MUX_CFG(MUX_MUXSEL0, MUXSEL_HSE)>;
  71. };
  72. };
  73. pll5: st,pll-5 {
  74. st,pll = <&pll5_cfg_532Mhz>;
  75. pll5_cfg_532Mhz: pll5-cfg-532Mhz {
  76. cfg = <133 5 1 2>;
  77. src = <MUX_CFG(MUX_MUXSEL1, MUXSEL_HSE)>;
  78. };
  79. };
  80. };