]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: sun9i: Add enable-method for SMP support for the A80 SoC
authorChen-Yu Tsai <wens@csie.org>
Thu, 8 Mar 2018 15:00:11 +0000 (23:00 +0800)
committerChen-Yu Tsai <wens@csie.org>
Sat, 10 Mar 2018 08:13:40 +0000 (16:13 +0800)
Using the enable-method property for SMP support would allow future PSCI
implementations to override any in-OS support. This is better than just
matching against the machine compatible, and then having to determine
whether other methods are available or not.

This adds enable-method properties to all CPU nodes.

Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
arch/arm/boot/dts/sun9i-a80.dtsi

index b1c86b76ac3c053af26281a7b94eac14c74f21e1..82a770a5ba464318d496309c7943774619f4595e 100644 (file)
@@ -65,6 +65,7 @@ cpu0: cpu@0 {
                        device_type = "cpu";
                        cci-control-port = <&cci_control0>;
                        clock-frequency = <12000000>;
+                       enable-method = "allwinner,sun9i-a80-smp";
                        reg = <0x0>;
                };
 
@@ -73,6 +74,7 @@ cpu1: cpu@1 {
                        device_type = "cpu";
                        cci-control-port = <&cci_control0>;
                        clock-frequency = <12000000>;
+                       enable-method = "allwinner,sun9i-a80-smp";
                        reg = <0x1>;
                };
 
@@ -81,6 +83,7 @@ cpu2: cpu@2 {
                        device_type = "cpu";
                        cci-control-port = <&cci_control0>;
                        clock-frequency = <12000000>;
+                       enable-method = "allwinner,sun9i-a80-smp";
                        reg = <0x2>;
                };
 
@@ -89,6 +92,7 @@ cpu3: cpu@3 {
                        device_type = "cpu";
                        cci-control-port = <&cci_control0>;
                        clock-frequency = <12000000>;
+                       enable-method = "allwinner,sun9i-a80-smp";
                        reg = <0x3>;
                };
 
@@ -97,6 +101,7 @@ cpu4: cpu@100 {
                        device_type = "cpu";
                        cci-control-port = <&cci_control1>;
                        clock-frequency = <18000000>;
+                       enable-method = "allwinner,sun9i-a80-smp";
                        reg = <0x100>;
                };
 
@@ -105,6 +110,7 @@ cpu5: cpu@101 {
                        device_type = "cpu";
                        cci-control-port = <&cci_control1>;
                        clock-frequency = <18000000>;
+                       enable-method = "allwinner,sun9i-a80-smp";
                        reg = <0x101>;
                };
 
@@ -113,6 +119,7 @@ cpu6: cpu@102 {
                        device_type = "cpu";
                        cci-control-port = <&cci_control1>;
                        clock-frequency = <18000000>;
+                       enable-method = "allwinner,sun9i-a80-smp";
                        reg = <0x102>;
                };
 
@@ -121,6 +128,7 @@ cpu7: cpu@103 {
                        device_type = "cpu";
                        cci-control-port = <&cci_control1>;
                        clock-frequency = <18000000>;
+                       enable-method = "allwinner,sun9i-a80-smp";
                        reg = <0x103>;
                };
        };