Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: r8a7742: Add APMU nodes

Add DT nodes for the Advanced Power Management Units (APMU), and use the
enable-method to point out that the APMU should be used for SMP support.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Marian-Cristian Rotariu <marian-cristian.rotariu.rb@bp.renesas.com>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/r/1589555337-5498-16-git-send-email-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

authored by

Lad Prabhakar and committed by
Geert Uytterhoeven
57e7dad2 8cbef867

+13
+13
arch/arm/boot/dts/r8a7742.dtsi
··· 18 18 cpus { 19 19 #address-cells = <1>; 20 20 #size-cells = <0>; 21 + enable-method = "renesas,apmu"; 21 22 22 23 cpu0: cpu@0 { 23 24 device_type = "cpu"; ··· 304 303 #clock-cells = <2>; 305 304 #power-domain-cells = <0>; 306 305 #reset-cells = <1>; 306 + }; 307 + 308 + apmu@e6151000 { 309 + compatible = "renesas,r8a7742-apmu", "renesas,apmu"; 310 + reg = <0 0xe6151000 0 0x188>; 311 + cpus = <&cpu4 &cpu5 &cpu6 &cpu7>; 312 + }; 313 + 314 + apmu@e6152000 { 315 + compatible = "renesas,r8a7742-apmu", "renesas,apmu"; 316 + reg = <0 0xe6152000 0 0x188>; 317 + cpus = <&cpu0 &cpu1 &cpu2 &cpu3>; 307 318 }; 308 319 309 320 rst: reset-controller@e6160000 {