pmu.txt 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. SAMSUNG Exynos SoC series PMU Registers
  2. Properties:
  3. - compatible : should contain two values. First value must be one from following list:
  4. - "samsung,exynos3250-pmu" - for Exynos3250 SoC,
  5. - "samsung,exynos4210-pmu" - for Exynos4210 SoC,
  6. - "samsung,exynos4212-pmu" - for Exynos4212 SoC,
  7. - "samsung,exynos4412-pmu" - for Exynos4412 SoC,
  8. - "samsung,exynos5250-pmu" - for Exynos5250 SoC,
  9. - "samsung,exynos5260-pmu" - for Exynos5260 SoC.
  10. - "samsung,exynos5410-pmu" - for Exynos5410 SoC,
  11. - "samsung,exynos5420-pmu" - for Exynos5420 SoC.
  12. - "samsung,exynos7-pmu" - for Exynos7 SoC.
  13. second value must be always "syscon".
  14. - reg : offset and length of the register set.
  15. - #clock-cells : must be <1>, since PMU requires once cell as clock specifier.
  16. The single specifier cell is used as index to list of clocks
  17. provided by PMU, which is currently:
  18. 0 : SoC clock output (CLKOUT pin)
  19. - clock-names : list of clock names for particular CLKOUT mux inputs in
  20. following format:
  21. "clkoutN", where N is a decimal number corresponding to
  22. CLKOUT mux control bits value for given input, e.g.
  23. "clkout0", "clkout7", "clkout15".
  24. - clocks : list of phandles and specifiers to all input clocks listed in
  25. clock-names property.
  26. Optional properties:
  27. Some PMUs are capable of behaving as an interrupt controller (mostly
  28. to wake up a suspended PMU). In which case, they can have the
  29. following properties:
  30. - interrupt-controller: indicate that said PMU is an interrupt controller
  31. - #interrupt-cells: must be identical to the that of the parent interrupt
  32. controller.
  33. - interrupt-parent: a phandle indicating which interrupt controller
  34. this PMU signals interrupts to.
  35. Example :
  36. pmu_system_controller: system-controller@10040000 {
  37. compatible = "samsung,exynos5250-pmu", "syscon";
  38. reg = <0x10040000 0x5000>;
  39. interrupt-controller;
  40. #interrupt-cells = <3>;
  41. interrupt-parent = <&gic>;
  42. #clock-cells = <1>;
  43. clock-names = "clkout0", "clkout1", "clkout2", "clkout3",
  44. "clkout4", "clkout8", "clkout9";
  45. clocks = <&clock CLK_OUT_DMC>, <&clock CLK_OUT_TOP>,
  46. <&clock CLK_OUT_LEFTBUS>, <&clock CLK_OUT_RIGHTBUS>,
  47. <&clock CLK_OUT_CPU>, <&clock CLK_XXTI>,
  48. <&clock CLK_XUSBXTI>;
  49. };
  50. Example of clock consumer :
  51. usb3503: usb3503@08 {
  52. /* ... */
  53. clock-names = "refclk";
  54. clocks = <&pmu_system_controller 0>;
  55. /* ... */
  56. };