fsl,imx-gpc.txt 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. Freescale i.MX General Power Controller
  2. =======================================
  3. The i.MX6Q General Power Control (GPC) block contains DVFS load tracking
  4. counters and Power Gating Control (PGC) for the CPU and PU (GPU/VPU) power
  5. domains.
  6. Required properties:
  7. - compatible: Should be "fsl,imx6q-gpc" or "fsl,imx6sl-gpc"
  8. - reg: should be register base and length as documented in the
  9. datasheet
  10. - interrupts: Should contain GPC interrupt request 1
  11. - pu-supply: Link to the LDO regulator powering the PU power domain
  12. - clocks: Clock phandles to devices in the PU power domain that need
  13. to be enabled during domain power-up for reset propagation.
  14. - #power-domain-cells: Should be 1, see below:
  15. The gpc node is a power-controller as documented by the generic power domain
  16. bindings in Documentation/devicetree/bindings/power/power_domain.txt.
  17. Example:
  18. gpc: gpc@020dc000 {
  19. compatible = "fsl,imx6q-gpc";
  20. reg = <0x020dc000 0x4000>;
  21. interrupts = <0 89 IRQ_TYPE_LEVEL_HIGH>,
  22. <0 90 IRQ_TYPE_LEVEL_HIGH>;
  23. pu-supply = <&reg_pu>;
  24. clocks = <&clks IMX6QDL_CLK_GPU3D_CORE>,
  25. <&clks IMX6QDL_CLK_GPU3D_SHADER>,
  26. <&clks IMX6QDL_CLK_GPU2D_CORE>,
  27. <&clks IMX6QDL_CLK_GPU2D_AXI>,
  28. <&clks IMX6QDL_CLK_OPENVG_AXI>,
  29. <&clks IMX6QDL_CLK_VPU_AXI>;
  30. #power-domain-cells = <1>;
  31. };
  32. Specifying power domain for IP modules
  33. ======================================
  34. IP cores belonging to a power domain should contain a 'power-domains' property
  35. that is a phandle pointing to the gpc device node and a DOMAIN_INDEX specifying
  36. the power domain the device belongs to.
  37. Example of a device that is part of the PU power domain:
  38. vpu: vpu@02040000 {
  39. reg = <0x02040000 0x3c000>;
  40. /* ... */
  41. power-domains = <&gpc 1>;
  42. /* ... */
  43. };
  44. The following DOMAIN_INDEX values are valid for i.MX6Q:
  45. ARM_DOMAIN 0
  46. PU_DOMAIN 1
  47. The following additional DOMAIN_INDEX value is valid for i.MX6SL:
  48. DISPLAY_DOMAIN 2