Magnus Damm | e454b35 | 2016-06-28 16:10:30 +0200 | [diff] [blame] | 1 | DT bindings for the Renesas Advanced Power Management Unit |
| 2 | |
| 3 | Renesas R-Car line of SoCs utilize one or more APMU hardware units |
| 4 | for CPU core power domain control including SMP boot and CPU Hotplug. |
| 5 | |
| 6 | Required properties: |
| 7 | |
| 8 | - compatible: Should be "renesas,<soctype>-apmu", "renesas,apmu" as fallback. |
| 9 | Examples with soctypes are: |
| 10 | - "renesas,r8a7790-apmu" (R-Car H2) |
| 11 | - "renesas,r8a7791-apmu" (R-Car M2-W) |
| 12 | - "renesas,r8a7792-apmu" (R-Car V2H) |
| 13 | - "renesas,r8a7793-apmu" (R-Car M2-N) |
| 14 | - "renesas,r8a7794-apmu" (R-Car E2) |
| 15 | |
| 16 | - reg: Base address and length of the I/O registers used by the APMU. |
| 17 | |
| 18 | - cpus: This node contains a list of CPU cores, which should match the order |
| 19 | of CPU cores used by the WUPCR and PSTR registers in the Advanced Power |
| 20 | Management Unit section of the device's datasheet. |
| 21 | |
| 22 | |
| 23 | Example: |
| 24 | |
| 25 | This shows the r8a7791 APMU that can control CPU0 and CPU1. |
| 26 | |
| 27 | apmu@e6152000 { |
| 28 | compatible = "renesas,r8a7791-apmu", "renesas,apmu"; |
| 29 | reg = <0 0xe6152000 0 0x188>; |
| 30 | cpus = <&cpu0 &cpu1>; |
| 31 | }; |