pmu.txt 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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. second value must be always "syscon".
  13. - reg : offset and length of the register set.
  14. - #clock-cells : must be <1>, since PMU requires once cell as clock specifier.
  15. The single specifier cell is used as index to list of clocks
  16. provided by PMU, which is currently:
  17. 0 : SoC clock output (CLKOUT pin)
  18. - clock-names : list of clock names for particular CLKOUT mux inputs in
  19. following format:
  20. "clkoutN", where N is a decimal number corresponding to
  21. CLKOUT mux control bits value for given input, e.g.
  22. "clkout0", "clkout7", "clkout15".
  23. - clocks : list of phandles and specifiers to all input clocks listed in
  24. clock-names property.
  25. Example :
  26. pmu_system_controller: system-controller@10040000 {
  27. compatible = "samsung,exynos5250-pmu", "syscon";
  28. reg = <0x10040000 0x5000>;
  29. #clock-cells = <1>;
  30. clock-names = "clkout0", "clkout1", "clkout2", "clkout3",
  31. "clkout4", "clkout8", "clkout9";
  32. clocks = <&clock CLK_OUT_DMC>, <&clock CLK_OUT_TOP>,
  33. <&clock CLK_OUT_LEFTBUS>, <&clock CLK_OUT_RIGHTBUS>,
  34. <&clock CLK_OUT_CPU>, <&clock CLK_XXTI>,
  35. <&clock CLK_XUSBXTI>;
  36. };
  37. Example of clock consumer :
  38. usb3503: usb3503@08 {
  39. /* ... */
  40. clock-names = "refclk";
  41. clocks = <&pmu_system_controller 0>;
  42. /* ... */
  43. };