Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/arm/rockchip/pmu.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Rockchip Power Management Unit (PMU) |
| 8 | |
| 9 | maintainers: |
| 10 | - Elaine Zhang <zhangqing@rock-chips.com> |
| 11 | - Heiko Stuebner <heiko@sntech.de> |
| 12 | |
| 13 | description: | |
| 14 | The PMU is used to turn on and off different power domains of the SoCs. |
| 15 | This includes the power to the CPU cores. |
| 16 | |
| 17 | select: |
| 18 | properties: |
| 19 | compatible: |
| 20 | contains: |
| 21 | enum: |
| 22 | - rockchip,px30-pmu |
| 23 | - rockchip,rk3066-pmu |
| 24 | - rockchip,rk3128-pmu |
| 25 | - rockchip,rk3288-pmu |
| 26 | - rockchip,rk3368-pmu |
| 27 | - rockchip,rk3399-pmu |
| 28 | - rockchip,rk3568-pmu |
| 29 | - rockchip,rk3588-pmu |
| 30 | - rockchip,rv1126-pmu |
| 31 | |
| 32 | required: |
| 33 | - compatible |
| 34 | |
| 35 | properties: |
| 36 | compatible: |
| 37 | items: |
| 38 | - enum: |
| 39 | - rockchip,px30-pmu |
| 40 | - rockchip,rk3066-pmu |
| 41 | - rockchip,rk3128-pmu |
| 42 | - rockchip,rk3288-pmu |
| 43 | - rockchip,rk3368-pmu |
| 44 | - rockchip,rk3399-pmu |
| 45 | - rockchip,rk3568-pmu |
| 46 | - rockchip,rk3588-pmu |
| 47 | - rockchip,rv1126-pmu |
| 48 | - const: syscon |
| 49 | - const: simple-mfd |
| 50 | |
| 51 | reg: |
| 52 | maxItems: 1 |
| 53 | |
| 54 | required: |
| 55 | - compatible |
| 56 | - reg |
| 57 | |
| 58 | additionalProperties: true |
| 59 | |
| 60 | examples: |
| 61 | - | |
| 62 | pmu@20004000 { |
| 63 | compatible = "rockchip,rk3066-pmu", "syscon", "simple-mfd"; |
| 64 | reg = <0x20004000 0x100>; |
| 65 | }; |