ux500.txt 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. Clock bindings for ST-Ericsson Ux500 clocks
  2. Required properties :
  3. - compatible : shall contain only one of the following:
  4. "stericsson,u8500-clks"
  5. "stericsson,u8540-clks"
  6. "stericsson,u9540-clks"
  7. - reg : shall contain base register location and length for
  8. CLKRST1, 2, 3, 5, and 6 in an array. Note the absence of
  9. CLKRST4, which does not exist.
  10. Required subnodes:
  11. - prcmu-clock: a subnode with one clock cell for PRCMU (power,
  12. reset, control unit) clocks. The cell indicates which PRCMU
  13. clock in the prcmu-clock node the consumer wants to use.
  14. - prcc-periph-clock: a subnode with two clock cells for
  15. PRCC (programmable reset- and clock controller) peripheral clocks.
  16. The first cell indicates which PRCC block the consumer
  17. wants to use, possible values are 1, 2, 3, 5, 6. The second
  18. cell indicates which clock inside the PRCC block it wants,
  19. possible values are 0 thru 31.
  20. - prcc-kernel-clock: a subnode with two clock cells for
  21. PRCC (programmable reset- and clock controller) kernel clocks
  22. The first cell indicates which PRCC block the consumer
  23. wants to use, possible values are 1, 2, 3, 5, 6. The second
  24. cell indicates which clock inside the PRCC block it wants,
  25. possible values are 0 thru 31.
  26. - rtc32k-clock: a subnode with zero clock cells for the 32kHz
  27. RTC clock.
  28. - smp-twd-clock: a subnode for the ARM SMP Timer Watchdog cluster
  29. with zero clock cells.
  30. Example:
  31. clocks {
  32. compatible = "stericsson,u8500-clks";
  33. /*
  34. * Registers for the CLKRST block on peripheral
  35. * groups 1, 2, 3, 5, 6,
  36. */
  37. reg = <0x8012f000 0x1000>, <0x8011f000 0x1000>,
  38. <0x8000f000 0x1000>, <0xa03ff000 0x1000>,
  39. <0xa03cf000 0x1000>;
  40. prcmu_clk: prcmu-clock {
  41. #clock-cells = <1>;
  42. };
  43. prcc_pclk: prcc-periph-clock {
  44. #clock-cells = <2>;
  45. };
  46. prcc_kclk: prcc-kernel-clock {
  47. #clock-cells = <2>;
  48. };
  49. rtc_clk: rtc32k-clock {
  50. #clock-cells = <0>;
  51. };
  52. smp_twd_clk: smp-twd-clock {
  53. #clock-cells = <0>;
  54. };
  55. };