1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/power/fsl,imx-gpc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Freescale i.MX General Power Controller
10 - Philipp Zabel <p.zabel@pengutronix.de>
13 The i.MX6 General Power Control (GPC) block contains DVFS load tracking
14 counters and Power Gating Control (PGC).
16 The power domains are generic power domain providers as documented in
17 Documentation/devicetree/bindings/power/power-domain.yaml. They are
18 described as subnodes of the power gating controller 'pgc' node of the GPC.
20 IP cores belonging to a power domain should contain a 'power-domains'
21 property that is a phandle pointing to the power domain the device belongs
35 - const: fsl,imx6q-gpc
43 interrupt-controller: true
55 additionalProperties: false
56 description: list of power domains provided by this controller.
66 "power-domain@[0-9]$":
68 additionalProperties: false
72 '#power-domain-cells':
77 The following DOMAIN_INDEX values are valid for i.MX6Q:
80 The following additional DOMAIN_INDEX value is valid for i.MX6SL:
82 The following additional DOMAIN_INDEX value is valid for i.MX6SX:
88 A number of phandles to clocks that need to be enabled during domain
89 power-up sequencing to ensure reset propagation into devices located
90 inside this power domain.
97 - '#power-domain-cells'
112 additionalProperties: false
116 #include <dt-bindings/clock/imx6qdl-clock.h>
117 #include <dt-bindings/interrupt-controller/arm-gic.h>
120 compatible = "fsl,imx6q-gpc";
121 reg = <0x020dc000 0x4000>;
122 interrupts = <0 89 IRQ_TYPE_LEVEL_HIGH>;
123 clocks = <&clks IMX6QDL_CLK_IPG>;
127 #address-cells = <1>;
132 #power-domain-cells = <0>;
135 pd_pu: power-domain@1 {
137 #power-domain-cells = <0>;
138 power-supply = <®_pu>;
139 clocks = <&clks IMX6QDL_CLK_GPU3D_CORE>,
140 <&clks IMX6QDL_CLK_GPU3D_SHADER>,
141 <&clks IMX6QDL_CLK_GPU2D_CORE>,
142 <&clks IMX6QDL_CLK_GPU2D_AXI>,
143 <&clks IMX6QDL_CLK_OPENVG_AXI>,
144 <&clks IMX6QDL_CLK_VPU_AXI>;