| 1 |
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/power/renesas,apmu.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Renesas Advanced Power Management Unit |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Geert Uytterhoeven <[email protected]> |
| 11 |
- Magnus Damm <[email protected]> |
| 12 |
|
| 13 |
description: |
| 14 |
Renesas R-Car Gen2 and RZ/G1 SoCs utilize one or more APMU hardware units for |
| 15 |
CPU core power domain control including SMP boot and CPU Hotplug. |
| 16 |
|
| 17 |
properties: |
| 18 |
compatible: |
| 19 |
items: |
| 20 |
- enum: |
| 21 |
- renesas,r8a7742-apmu # RZ/G1H |
| 22 |
- renesas,r8a7743-apmu # RZ/G1M |
| 23 |
- renesas,r8a7744-apmu # RZ/G1N |
| 24 |
- renesas,r8a7745-apmu # RZ/G1E |
| 25 |
- renesas,r8a77470-apmu # RZ/G1C |
| 26 |
- renesas,r8a7790-apmu # R-Car H2 |
| 27 |
- renesas,r8a7791-apmu # R-Car M2-W |
| 28 |
- renesas,r8a7792-apmu # R-Car V2H |
| 29 |
- renesas,r8a7793-apmu # R-Car M2-N |
| 30 |
- renesas,r8a7794-apmu # R-Car E2 |
| 31 |
- const: renesas,apmu |
| 32 |
|
| 33 |
reg: |
| 34 |
maxItems: 1 |
| 35 |
|
| 36 |
cpus: |
| 37 |
minItems: 1 |
| 38 |
maxItems: 4 |
| 39 |
description: | |
| 40 |
Array of phandles pointing to CPU cores, which should match the order of |
| 41 |
CPU cores used by the WUPCR and PSTR registers in the Advanced Power |
| 42 |
Management Unit section of the device's datasheet. |
| 43 |
|
| 44 |
required: |
| 45 |
- compatible |
| 46 |
- reg |
| 47 |
- cpus |
| 48 |
|
| 49 |
additionalProperties: false |
| 50 |
|
| 51 |
examples: |
| 52 |
- | |
| 53 |
apmu@e6152000 { |
| 54 |
compatible = "renesas,r8a7791-apmu", "renesas,apmu"; |
| 55 |
reg = <0xe6152000 0x188>; |
| 56 |
cpus = <&cpu0>, <&cpu1>; |
| 57 |
}; |