1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 2 %YAML 1.2 3 --- 4 $id: http://devicetree.org/schemas/power/fsl,i 5 $schema: http://devicetree.org/meta-schemas/co 6 7 title: Freescale i.MX General Power Controller 8 9 maintainers: 10 - Andrey Smirnov <andrew.smirnov@gmail.com> 11 12 description: | 13 The i.MX7S/D General Power Control (GPC) blo 14 Control (PGC) for various power domains. 15 16 Power domains contained within GPC node are 17 providers, documented in 18 Documentation/devicetree/bindings/power/powe 19 described as subnodes of the power gating co 20 21 IP cores belonging to a power domain should 22 property that is a phandle for PGC node repr 23 24 properties: 25 compatible: 26 enum: 27 - fsl,imx7d-gpc 28 - fsl,imx8mn-gpc 29 - fsl,imx8mq-gpc 30 - fsl,imx8mm-gpc 31 - fsl,imx8mp-gpc 32 33 reg: 34 maxItems: 1 35 36 interrupts: 37 maxItems: 1 38 39 interrupt-controller: true 40 '#interrupt-cells': 41 const: 3 42 43 pgc: 44 type: object 45 additionalProperties: false 46 description: list of power domains provide 47 48 properties: 49 '#address-cells': 50 const: 1 51 52 '#size-cells': 53 const: 0 54 55 patternProperties: 56 "power-domain@[0-9a-f]+$": 57 type: object 58 additionalProperties: false 59 60 properties: 61 62 '#power-domain-cells': 63 const: 0 64 65 reg: 66 description: | 67 Power domain index. Valid values 68 include/dt-bindings/power/imx7-p 69 include/dt-bindings/power/imx8m- 70 include/dt-bindings/power/imx8mm 71 include/dt-bindings/power/imx8mp 72 maxItems: 1 73 74 clocks: 75 description: | 76 A number of phandles to clocks t 77 power-up sequencing to ensure re 78 inside this power domain. 79 minItems: 1 80 maxItems: 5 81 82 power-supply: true 83 84 power-domains: 85 maxItems: 1 86 87 resets: 88 description: | 89 A number of phandles to resets t 90 power-up sequencing of the domai 91 located inside the power domain, 92 across the power-up sequence. So 93 reset is in a generic power-doma 94 minItems: 1 95 maxItems: 4 96 97 required: 98 - '#power-domain-cells' 99 - reg 100 101 required: 102 - '#address-cells' 103 - '#size-cells' 104 105 required: 106 - compatible 107 - reg 108 - interrupts 109 - pgc 110 111 additionalProperties: false 112 113 examples: 114 - | 115 #include <dt-bindings/interrupt-controller 116 117 gpc@303a0000 { 118 compatible = "fsl,imx7d-gpc"; 119 reg = <0x303a0000 0x1000>; 120 interrupts = <GIC_SPI 87 IRQ_TYPE_LEVE 121 122 pgc { 123 #address-cells = <1>; 124 #size-cells = <0>; 125 126 pgc_mipi_phy: power-domain@0 { 127 #power-domain-cells = <0>; 128 reg = <0>; 129 power-supply = <®_1p0d>; 130 }; 131 132 pgc_pcie_phy: power-domain@1 { 133 #power-domain-cells = <0>; 134 reg = <1>; 135 power-supply = <®_1p0d>; 136 }; 137 138 pgc_hsic_phy: power-domain@2 { 139 #power-domain-cells = <0>; 140 reg = <2>; 141 power-supply = <®_1p2>; 142 }; 143 }; 144 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.