]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
arm64: dts: NS2 secondary core enablement via PSCI
authorLuke Starrett <luke.starrett@broadcom.com>
Wed, 20 Apr 2016 17:40:02 +0000 (13:40 -0400)
committerFlorian Fainelli <f.fainelli@gmail.com>
Fri, 22 Apr 2016 19:02:28 +0000 (12:02 -0700)
Declare PSCI-1.0 node and enable CPU_ON method via PSCI.  Spin-table
memreserve has been removed as well as syscon based reset, as PSCI-1.0
expects reset implementation in firmware.

Signed-off-by: Luke Starrett <luke.starrett@broadcom.com>
Acked-by: Scott Branden <scott.branden@broadcom.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
arch/arm64/boot/dts/broadcom/ns2.dtsi

index 123cd9c6a01bee35541c5f9a7c7629586d40bdc7..ec68ec1a80c80a045a9fd873f731dea8a8afc877 100644 (file)
@@ -33,8 +33,6 @@
 #include <dt-bindings/interrupt-controller/arm-gic.h>
 #include <dt-bindings/clock/bcm-ns2.h>
 
-/memreserve/ 0x84b00000 0x00000008;
-
 / {
        compatible = "brcm,ns2";
        interrupt-parent = <&gic>;
@@ -49,8 +47,7 @@
                        device_type = "cpu";
                        compatible = "arm,cortex-a57", "arm,armv8";
                        reg = <0 0>;
-                       enable-method = "spin-table";
-                       cpu-release-addr = <0 0x84b00000>;
+                       enable-method = "psci";
                        next-level-cache = <&CLUSTER0_L2>;
                };
 
@@ -58,8 +55,7 @@
                        device_type = "cpu";
                        compatible = "arm,cortex-a57", "arm,armv8";
                        reg = <0 1>;
-                       enable-method = "spin-table";
-                       cpu-release-addr = <0 0x84b00000>;
+                       enable-method = "psci";
                        next-level-cache = <&CLUSTER0_L2>;
                };
 
@@ -67,8 +63,7 @@
                        device_type = "cpu";
                        compatible = "arm,cortex-a57", "arm,armv8";
                        reg = <0 2>;
-                       enable-method = "spin-table";
-                       cpu-release-addr = <0 0x84b00000>;
+                       enable-method = "psci";
                        next-level-cache = <&CLUSTER0_L2>;
                };
 
@@ -76,8 +71,7 @@
                        device_type = "cpu";
                        compatible = "arm,cortex-a57", "arm,armv8";
                        reg = <0 3>;
-                       enable-method = "spin-table";
-                       cpu-release-addr = <0 0x84b00000>;
+                       enable-method = "psci";
                        next-level-cache = <&CLUSTER0_L2>;
                };
 
                };
        };
 
+       psci {
+               compatible = "arm,psci-1.0";
+               method = "smc";
+       };
+
        timer {
                compatible = "arm,armv8-timer";
                interrupts = <GIC_PPI 13 (GIC_CPU_MASK_RAW(0xff) |
                        mmu-masters;
                };
 
-               crmu: crmu@65024000 {
-                       compatible = "syscon";
-                       reg = <0x65024000 0x100>;
-               };
-
-               reboot@65024000 {
-                       compatible ="syscon-reboot";
-                       regmap = <&crmu>;
-                       offset = <0x90>;
-                       mask = <0xfffffffd>;
-               };
-
                gic: interrupt-controller@65210000 {
                        compatible = "arm,gic-400";
                        #interrupt-cells = <3>;