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