From: Sergei Shtylyov Date: Tue, 28 Nov 2017 13:39:01 +0000 (+0100) Subject: ARM: dts: r8a7794: Add SMP support X-Git-Tag: v5.15~9499^2~60^2~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=655b9ff016149fd3a438f4205187c9de8a9c5b48;p=platform%2Fkernel%2Flinux-starfive.git ARM: dts: r8a7794: Add SMP support Add the device tree node for the Advanced Power Management Unit (APMU). Use the "enable-method" prop to point out that the APMU should be used for the SMP support. Signed-off-by: Sergei Shtylyov Signed-off-by: Geert Uytterhoeven Tested-by: Simon Horman Signed-off-by: Simon Horman --- diff --git a/arch/arm/boot/dts/r8a7794.dtsi b/arch/arm/boot/dts/r8a7794.dtsi index 95206c2..9005056 100644 --- a/arch/arm/boot/dts/r8a7794.dtsi +++ b/arch/arm/boot/dts/r8a7794.dtsi @@ -37,6 +37,7 @@ cpus { #address-cells = <1>; #size-cells = <0>; + enable-method = "renesas,apmu"; cpu0: cpu@0 { device_type = "cpu"; @@ -66,6 +67,12 @@ }; }; + apmu@e6151000 { + compatible = "renesas,r8a7794-apmu", "renesas,apmu"; + reg = <0 0xe6151000 0 0x188>; + cpus = <&cpu0 &cpu1>; + }; + gic: interrupt-controller@f1001000 { compatible = "arm,gic-400"; #interrupt-cells = <3>;