armada3700-periph-clock.txt 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. * Peripheral Clock bindings for Marvell Armada 37xx SoCs
  2. Marvell Armada 37xx SoCs provide peripheral clocks which are
  3. used as clock source for the peripheral of the SoC.
  4. There are two different blocks associated to north bridge and south
  5. bridge.
  6. The peripheral clock consumer should specify the desired clock by
  7. having the clock ID in its "clocks" phandle cell.
  8. The following is a list of provided IDs for Armada 370 North bridge clocks:
  9. ID Clock name Description
  10. -----------------------------------
  11. 0 mmc MMC controller
  12. 1 sata_host Sata Host
  13. 2 sec_at Security AT
  14. 3 sac_dap Security DAP
  15. 4 tsecm Security Engine
  16. 5 setm_tmx Serial Embedded Trace Module
  17. 6 avs Adaptive Voltage Scaling
  18. 7 sqf SPI
  19. 8 pwm PWM
  20. 9 i2c_2 I2C 2
  21. 10 i2c_1 I2C 1
  22. 11 ddr_phy DDR PHY
  23. 12 ddr_fclk DDR F clock
  24. 13 trace Trace
  25. 14 counter Counter
  26. 15 eip97 EIP 97
  27. 16 cpu CPU
  28. The following is a list of provided IDs for Armada 370 South bridge clocks:
  29. ID Clock name Description
  30. -----------------------------------
  31. 0 gbe-50 50 MHz parent clock for Gigabit Ethernet
  32. 1 gbe-core parent clock for Gigabit Ethernet core
  33. 2 gbe-125 125 MHz parent clock for Gigabit Ethernet
  34. 3 gbe1-50 50 MHz clock for Gigabit Ethernet port 1
  35. 4 gbe0-50 50 MHz clock for Gigabit Ethernet port 0
  36. 5 gbe1-125 125 MHz clock for Gigabit Ethernet port 1
  37. 6 gbe0-125 125 MHz clock for Gigabit Ethernet port 0
  38. 7 gbe1-core Gigabit Ethernet core port 1
  39. 8 gbe0-core Gigabit Ethernet core port 0
  40. 9 gbe-bm Gigabit Ethernet Buffer Manager
  41. 10 sdio SDIO
  42. 11 usb32-sub2-sys USB 2 clock
  43. 12 usb32-ss-sys USB 3 clock
  44. Required properties:
  45. - compatible : shall be "marvell,armada-3700-periph-clock-nb" for the
  46. north bridge block, or
  47. "marvell,armada-3700-periph-clock-sb" for the south bridge block
  48. - reg : must be the register address of North/South Bridge Clock register
  49. - #clock-cells : from common clock binding; shall be set to 1
  50. - clocks : list of the parent clock phandle in the following order:
  51. TBG-A P, TBG-B P, TBG-A S, TBG-B S and finally the xtal clock.
  52. Example:
  53. nb_perih_clk: nb-periph-clk@13000{
  54. compatible = "marvell,armada-3700-periph-clock-nb";
  55. reg = <0x13000 0x1000>;
  56. clocks = <&tbg 0>, <&tbg 1>, <&tbg 2>,
  57. <&tbg 3>, <&xtalclk>;
  58. #clock-cells = <1>;
  59. };