1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/soc/samsung 4 $id: http://devicetree.org/schemas/soc/samsung/exynos-pmu.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Samsung Exynos SoC series Power Managem 7 title: Samsung Exynos SoC series Power Management Unit (PMU) 8 8 9 maintainers: 9 maintainers: 10 - Krzysztof Kozlowski <krzk@kernel.org> 10 - Krzysztof Kozlowski <krzk@kernel.org> 11 11 12 # Custom select to avoid matching all nodes wi 12 # Custom select to avoid matching all nodes with 'syscon' 13 select: 13 select: 14 properties: 14 properties: 15 compatible: 15 compatible: 16 contains: 16 contains: 17 enum: 17 enum: 18 - google,gs101-pmu << 19 - samsung,exynos3250-pmu 18 - samsung,exynos3250-pmu 20 - samsung,exynos4210-pmu 19 - samsung,exynos4210-pmu 21 - samsung,exynos4212-pmu << 22 - samsung,exynos4412-pmu 20 - samsung,exynos4412-pmu 23 - samsung,exynos5250-pmu 21 - samsung,exynos5250-pmu 24 - samsung,exynos5260-pmu 22 - samsung,exynos5260-pmu 25 - samsung,exynos5410-pmu 23 - samsung,exynos5410-pmu 26 - samsung,exynos5420-pmu 24 - samsung,exynos5420-pmu 27 - samsung,exynos5433-pmu 25 - samsung,exynos5433-pmu 28 - samsung,exynos7-pmu 26 - samsung,exynos7-pmu 29 - samsung,exynos850-pmu 27 - samsung,exynos850-pmu 30 - samsung-s5pv210-pmu 28 - samsung-s5pv210-pmu 31 required: 29 required: 32 - compatible 30 - compatible 33 31 34 properties: 32 properties: 35 compatible: 33 compatible: 36 oneOf: !! 34 items: 37 - items: !! 35 - enum: 38 - enum: !! 36 - samsung,exynos3250-pmu 39 - google,gs101-pmu !! 37 - samsung,exynos4210-pmu 40 - samsung,exynos3250-pmu !! 38 - samsung,exynos4412-pmu 41 - samsung,exynos4210-pmu !! 39 - samsung,exynos5250-pmu 42 - samsung,exynos4212-pmu !! 40 - samsung,exynos5260-pmu 43 - samsung,exynos4412-pmu !! 41 - samsung,exynos5410-pmu 44 - samsung,exynos5250-pmu !! 42 - samsung,exynos5420-pmu 45 - samsung,exynos5260-pmu !! 43 - samsung,exynos5433-pmu 46 - samsung,exynos5410-pmu !! 44 - samsung,exynos7-pmu 47 - samsung,exynos5420-pmu !! 45 - samsung,exynos850-pmu 48 - samsung,exynos5433-pmu !! 46 - samsung-s5pv210-pmu 49 - samsung,exynos7-pmu !! 47 - const: syscon 50 - samsung,exynos850-pmu << 51 - samsung-s5pv210-pmu << 52 - const: syscon << 53 - items: << 54 - enum: << 55 - samsung,exynos7885-pmu << 56 - samsung,exynosautov9-pmu << 57 - samsung,exynosautov920-pmu << 58 - tesla,fsd-pmu << 59 - const: samsung,exynos7-pmu << 60 - const: syscon << 61 - items: << 62 - enum: << 63 - samsung,exynos3250-pmu << 64 - samsung,exynos4210-pmu << 65 - samsung,exynos4212-pmu << 66 - samsung,exynos4412-pmu << 67 - samsung,exynos5250-pmu << 68 - samsung,exynos5420-pmu << 69 - samsung,exynos5433-pmu << 70 - const: simple-mfd << 71 - const: syscon << 72 48 73 reg: 49 reg: 74 maxItems: 1 50 maxItems: 1 75 51 76 '#clock-cells': 52 '#clock-cells': 77 const: 1 53 const: 1 78 54 79 clock-names: 55 clock-names: 80 description: 56 description: 81 List of clock names for particular CLKOU 57 List of clock names for particular CLKOUT mux inputs 82 minItems: 1 58 minItems: 1 83 maxItems: 32 59 maxItems: 32 84 items: 60 items: 85 pattern: '^clkout([0-9]|[12][0-9]|3[0-1] 61 pattern: '^clkout([0-9]|[12][0-9]|3[0-1])$' 86 62 87 clocks: 63 clocks: 88 minItems: 1 64 minItems: 1 89 maxItems: 32 65 maxItems: 32 90 66 91 dp-phy: << 92 $ref: /schemas/phy/samsung,dp-video-phy.ya << 93 unevaluatedProperties: false << 94 << 95 interrupt-controller: 67 interrupt-controller: 96 description: 68 description: 97 Some PMUs are capable of behaving as an 69 Some PMUs are capable of behaving as an interrupt controller (mostly 98 to wake up a suspended PMU). 70 to wake up a suspended PMU). 99 71 100 '#interrupt-cells': 72 '#interrupt-cells': 101 description: 73 description: 102 Must be identical to the that of the par 74 Must be identical to the that of the parent interrupt controller. 103 const: 3 75 const: 3 104 76 105 mipi-phy: << 106 $ref: /schemas/phy/samsung,mipi-video-phy. << 107 unevaluatedProperties: false << 108 << 109 reboot-mode: 77 reboot-mode: 110 $ref: /schemas/power/reset/syscon-reboot-m 78 $ref: /schemas/power/reset/syscon-reboot-mode.yaml 111 type: object 79 type: object 112 description: 80 description: 113 Reboot mode to alter bootloader behavior 81 Reboot mode to alter bootloader behavior for the next boot 114 82 115 syscon-poweroff: 83 syscon-poweroff: 116 $ref: /schemas/power/reset/syscon-poweroff 84 $ref: /schemas/power/reset/syscon-poweroff.yaml# 117 type: object 85 type: object 118 description: 86 description: 119 Node for power off method 87 Node for power off method 120 88 121 syscon-reboot: 89 syscon-reboot: 122 $ref: /schemas/power/reset/syscon-reboot.y 90 $ref: /schemas/power/reset/syscon-reboot.yaml# 123 type: object 91 type: object 124 description: 92 description: 125 Node for reboot method 93 Node for reboot method 126 94 127 required: 95 required: 128 - compatible 96 - compatible 129 - reg 97 - reg 130 98 131 additionalProperties: false 99 additionalProperties: false 132 100 133 allOf: 101 allOf: 134 - if: 102 - if: 135 properties: 103 properties: 136 compatible: 104 compatible: 137 contains: 105 contains: 138 enum: 106 enum: 139 - samsung,exynos3250-pmu 107 - samsung,exynos3250-pmu 140 - samsung,exynos4210-pmu 108 - samsung,exynos4210-pmu 141 - samsung,exynos4212-pmu << 142 - samsung,exynos4412-pmu 109 - samsung,exynos4412-pmu 143 - samsung,exynos5250-pmu 110 - samsung,exynos5250-pmu 144 - samsung,exynos5410-pmu 111 - samsung,exynos5410-pmu 145 - samsung,exynos5420-pmu 112 - samsung,exynos5420-pmu 146 - samsung,exynos5433-pmu 113 - samsung,exynos5433-pmu 147 then: 114 then: 148 required: 115 required: 149 - '#clock-cells' 116 - '#clock-cells' 150 - clock-names 117 - clock-names 151 - clocks 118 - clocks 152 119 153 - if: << 154 properties: << 155 compatible: << 156 contains: << 157 enum: << 158 - samsung,exynos3250-pmu << 159 - samsung,exynos4210-pmu << 160 - samsung,exynos4212-pmu << 161 - samsung,exynos4412-pmu << 162 - samsung,exynos5250-pmu << 163 - samsung,exynos5420-pmu << 164 - samsung,exynos5433-pmu << 165 then: << 166 properties: << 167 mipi-phy: true << 168 else: << 169 properties: << 170 mipi-phy: false << 171 << 172 - if: << 173 properties: << 174 compatible: << 175 contains: << 176 enum: << 177 - samsung,exynos5250-pmu << 178 - samsung,exynos5420-pmu << 179 - samsung,exynos5433-pmu << 180 then: << 181 properties: << 182 dp-phy: true << 183 else: << 184 properties: << 185 dp-phy: false << 186 << 187 examples: 120 examples: 188 - | 121 - | 189 #include <dt-bindings/clock/exynos5250.h> 122 #include <dt-bindings/clock/exynos5250.h> 190 123 191 pmu_system_controller: system-controller@1 124 pmu_system_controller: system-controller@10040000 { 192 compatible = "samsung,exynos5250-pmu", 125 compatible = "samsung,exynos5250-pmu", "syscon"; 193 reg = <0x10040000 0x5000>; 126 reg = <0x10040000 0x5000>; 194 interrupt-controller; 127 interrupt-controller; 195 #interrupt-cells = <3>; 128 #interrupt-cells = <3>; 196 interrupt-parent = <&gic>; 129 interrupt-parent = <&gic>; 197 #clock-cells = <1>; 130 #clock-cells = <1>; 198 clock-names = "clkout16"; 131 clock-names = "clkout16"; 199 clocks = <&clock CLK_FIN_PLL>; 132 clocks = <&clock CLK_FIN_PLL>; 200 << 201 dp-phy { << 202 compatible = "samsung,exynos5250-d << 203 #phy-cells = <0>; << 204 }; << 205 << 206 mipi-phy { << 207 compatible = "samsung,s5pv210-mipi << 208 #phy-cells = <1>; << 209 }; << 210 }; 133 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.