1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/power/fsl,imx-gpcv2.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Freescale i.MX General Power Controller v2
10 - Andrey Smirnov <andrew.smirnov@gmail.com>
13 The i.MX7S/D General Power Control (GPC) block contains Power Gating
14 Control (PGC) for various power domains.
16 Power domains contained within GPC node are generic power domain
17 providers, documented in
18 Documentation/devicetree/bindings/power/power-domain.yaml, which are
19 described as subnodes of the power gating controller 'pgc' node.
21 IP cores belonging to a power domain should contain a 'power-domains'
22 property that is a phandle for PGC node representing the domain.
36 interrupt-controller: true
42 description: list of power domains provided by this controller.
45 "power-domain@[0-9]$":
49 '#power-domain-cells':
54 Power domain index. Valid values are defined in
55 include/dt-bindings/power/imx7-power.h for fsl,imx7d-gpc and
56 include/dt-bindings/power/imx8m-power.h for fsl,imx8mq-gpc
61 A number of phandles to clocks that need to be enabled during domain
62 power-up sequencing to ensure reset propagation into devices located
63 inside this power domain.
71 A number of phandles to resets that need to be asserted during
72 power-up sequencing of the domain. The resets belong to devices
73 located inside the power domain, which need to be held in reset
74 across the power-up sequence. So no means to specify what each
75 reset is in a generic power-domain binding.
80 - '#power-domain-cells'
89 additionalProperties: false
93 #include <dt-bindings/interrupt-controller/arm-gic.h>
96 compatible = "fsl,imx7d-gpc";
97 reg = <0x303a0000 0x1000>;
98 interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
101 #address-cells = <1>;
104 pgc_mipi_phy: power-domain@0 {
105 #power-domain-cells = <0>;
107 power-supply = <®_1p0d>;
110 pgc_pcie_phy: power-domain@1 {
111 #power-domain-cells = <0>;
113 power-supply = <®_1p0d>;
116 pgc_hsic_phy: power-domain@2 {
117 #power-domain-cells = <0>;
119 power-supply = <®_1p2>;