pmu.txt 2.4 KB

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