ste-u300-syscon-clock.txt 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. Clock bindings for ST-Ericsson U300 System Controller Clocks
  2. Bindings for the gated system controller clocks:
  3. Required properties:
  4. - compatible: must be "stericsson,u300-syscon-clk"
  5. - #clock-cells: must be <0>
  6. - clock-type: specifies the type of clock:
  7. 0 = slow clock
  8. 1 = fast clock
  9. 2 = rest/remaining clock
  10. - clock-id: specifies the clock in the type range
  11. Optional properties:
  12. - clocks: parent clock(s)
  13. The available clocks per type are as follows:
  14. Type: ID: Clock:
  15. -------------------
  16. 0 0 Slow peripheral bridge clock
  17. 0 1 UART0 clock
  18. 0 4 GPIO clock
  19. 0 6 RTC clock
  20. 0 7 Application timer clock
  21. 0 8 Access timer clock
  22. 1 0 Fast peripheral bridge clock
  23. 1 1 I2C bus 0 clock
  24. 1 2 I2C bus 1 clock
  25. 1 5 MMC interface peripheral (silicon) clock
  26. 1 6 SPI clock
  27. 2 3 CPU clock
  28. 2 4 DMA controller clock
  29. 2 5 External Memory Interface (EMIF) clock
  30. 2 6 NAND flask interface clock
  31. 2 8 XGAM graphics engine clock
  32. 2 9 Shared External Memory Interface (SEMI) clock
  33. 2 10 AHB Subsystem Bridge clock
  34. 2 12 Interrupt controller clock
  35. Example:
  36. gpio_clk: gpio_clk@13M {
  37. #clock-cells = <0>;
  38. compatible = "stericsson,u300-syscon-clk";
  39. clock-type = <0>; /* Slow */
  40. clock-id = <4>;
  41. clocks = <&slow_clk>;
  42. };
  43. gpio: gpio@c0016000 {
  44. compatible = "stericsson,gpio-coh901";
  45. (...)
  46. clocks = <&gpio_clk>;
  47. };
  48. Bindings for the MMC/SD card clock:
  49. Required properties:
  50. - compatible: must be "stericsson,u300-syscon-mclk"
  51. - #clock-cells: must be <0>
  52. Optional properties:
  53. - clocks: parent clock(s)
  54. mmc_mclk: mmc_mclk {
  55. #clock-cells = <0>;
  56. compatible = "stericsson,u300-syscon-mclk";
  57. clocks = <&mmc_pclk>;
  58. };
  59. mmcsd: mmcsd@c0001000 {
  60. compatible = "arm,pl18x", "arm,primecell";
  61. clocks = <&mmc_pclk>, <&mmc_mclk>;
  62. clock-names = "apb_pclk", "mclk";
  63. (...)
  64. };