Freescale i.MX General Power Controller
Schema identifier ($id): "http://devicetree.org/schemas/power/fsl,imx-gpc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Philipp Zabel <p.zabel@pengutronix.de>"
The i.MX6 General Power Control (GPC) block contains DVFS load tracking counters and Power Gating Control (PGC).
The power domains are generic power domain providers as documented in Documentation/devicetree/bindings/power/power-domain.yaml. They are described as subnodes of the power gating controller 'pgc' node of the GPC.
IP cores belonging to a power domain should contain a 'power-domains' property that is a phandle pointing to the power domain the device belongs to.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"fsl,imx6qp-gpc","fsl,imx6sl-gpc","fsl,imx6sll-gpc","fsl,imx6sx-gpc","fsl,imx6ul-gpc"Item 2
Exact value (
const):"fsl,imx6q-gpc"
reg — required here #
Maximum number of items (maxItems): 1
#address-cells — not listed as required here #
Exact value (const): 0
interrupts — required here #
Maximum number of items (maxItems): 1
interrupt-controller — not listed as required here #
true — No constraints added by this property rule.
#interrupt-cells — not listed as required here #
Exact value (const): 3
clocks — required here #
Maximum number of items (maxItems): 1
clock-names — required here #
Exact value (const): "ipg"
pgc — required here #
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
list of power domains provided by this controller.
Properties and child nodes (properties) #
#address-cells — required here
Exact value (const): 1
#size-cells — required here
Exact value (const): 0
Properties matching a name pattern (patternProperties) #
power-domain@[0-9]$ — name matches this regular expression
Value type (type): "object"
Properties not matched by properties or patternProperties in this schema (additionalProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
#power-domain-cells — required here
Exact value (const): 0
reg — required here
The following DOMAIN_INDEX values are valid for i.MX6Q:
ARM_DOMAIN 0
PU_DOMAIN 1
The following additional DOMAIN_INDEX value is valid for i.MX6SL:
DISPLAY_DOMAIN 2
The following additional DOMAIN_INDEX value is valid for i.MX6SX:
PCI_DOMAIN 3
Maximum number of items (maxItems): 1
clocks — not listed as required here
A number of phandles to clocks that need to be enabled during domain power-up sequencing to ensure reset propagation into devices located inside this power domain.
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 7
power-supply — not listed as required here
true — No constraints added by this property rule.
Required in this object (required): "#power-domain-cells", "reg"
Required in this object (required): "#address-cells", "#size-cells"
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "pgc"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/imx6qdl-clock.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
gpc@20dc000 {
compatible = "fsl,imx6q-gpc";
reg = <0x020dc000 0x4000>;
interrupts = <0 89 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clks IMX6QDL_CLK_IPG>;
clock-names = "ipg";
pgc {
#address-cells = <1>;
#size-cells = <0>;
power-domain@0 {
reg = <0>;
#power-domain-cells = <0>;
};
pd_pu: power-domain@1 {
reg = <1>;
#power-domain-cells = <0>;
power-supply = <®_pu>;
clocks = <&clks IMX6QDL_CLK_GPU3D_CORE>,
<&clks IMX6QDL_CLK_GPU3D_SHADER>,
<&clks IMX6QDL_CLK_GPU2D_CORE>,
<&clks IMX6QDL_CLK_GPU2D_AXI>,
<&clks IMX6QDL_CLK_OPENVG_AXI>,
<&clks IMX6QDL_CLK_VPU_AXI>;
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)