pmu.txt 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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,exynos4412-pmu" - for Exynos4412 SoC,
  7. - "samsung,exynos5250-pmu" - for Exynos5250 SoC,
  8. - "samsung,exynos5260-pmu" - for Exynos5260 SoC.
  9. - "samsung,exynos5410-pmu" - for Exynos5410 SoC,
  10. - "samsung,exynos5420-pmu" - for Exynos5420 SoC.
  11. - "samsung,exynos5433-pmu" - for Exynos5433 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. Optional nodes:
  34. - nodes defining the restart and poweroff syscon children
  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@8 {
  52. /* ... */
  53. clock-names = "refclk";
  54. clocks = <&pmu_system_controller 0>;
  55. /* ... */
  56. };