amlogic,meson-gx-pwrc.txt 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. Amlogic Meson Power Controller
  2. ==============================
  3. The Amlogic Meson SoCs embeds an internal Power domain controller.
  4. VPU Power Domain
  5. ----------------
  6. The Video Processing Unit power domain is controlled by this power controller,
  7. but the domain requires some external resources to meet the correct power
  8. sequences.
  9. The bindings must respect the power domain bindings as described in the file
  10. power_domain.txt
  11. Device Tree Bindings:
  12. ---------------------
  13. Required properties:
  14. - compatible: should be "amlogic,meson-gx-pwrc-vpu" for the Meson GX SoCs
  15. - #power-domain-cells: should be 0
  16. - amlogic,hhi-sysctrl: phandle to the HHI sysctrl node
  17. - resets: phandles to the reset lines needed for this power demain sequence
  18. as described in ../reset/reset.txt
  19. - clocks: from common clock binding: handle to VPU and VAPB clocks
  20. - clock-names: from common clock binding: must contain "vpu", "vapb"
  21. corresponding to entry in the clocks property.
  22. Parent node should have the following properties :
  23. - compatible: "amlogic,meson-gx-ao-sysctrl", "syscon", "simple-mfd"
  24. - reg: base address and size of the AO system control register space.
  25. Example:
  26. -------
  27. ao_sysctrl: sys-ctrl@0 {
  28. compatible = "amlogic,meson-gx-ao-sysctrl", "syscon", "simple-mfd";
  29. reg = <0x0 0x0 0x0 0x100>;
  30. pwrc_vpu: power-controller-vpu {
  31. compatible = "amlogic,meson-gx-pwrc-vpu";
  32. #power-domain-cells = <0>;
  33. amlogic,hhi-sysctrl = <&sysctrl>;
  34. resets = <&reset RESET_VIU>,
  35. <&reset RESET_VENC>,
  36. <&reset RESET_VCBUS>,
  37. <&reset RESET_BT656>,
  38. <&reset RESET_DVIN_RESET>,
  39. <&reset RESET_RDMA>,
  40. <&reset RESET_VENCI>,
  41. <&reset RESET_VENCP>,
  42. <&reset RESET_VDAC>,
  43. <&reset RESET_VDI6>,
  44. <&reset RESET_VENCL>,
  45. <&reset RESET_VID_LOCK>;
  46. clocks = <&clkc CLKID_VPU>,
  47. <&clkc CLKID_VAPB>;
  48. clock-names = "vpu", "vapb";
  49. };
  50. };