arm64: tegra: Enable PSCI on P3310
authorThierry Reding <treding@nvidia.com>
Thu, 17 Nov 2016 16:36:56 +0000 (17:36 +0100)
committerThierry Reding <treding@nvidia.com>
Mon, 21 Nov 2016 09:43:41 +0000 (10:43 +0100)
The P3310 processor module comes ships with a firmware that implements
PSCI 1.0. Enable and use it to bring up all CPUs.

Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi

index 807af7b68761210d4ce49eb6e99189da13840b65..1abe2eceb3d132d59f1db6a82bd7f3c058d93498 100644 (file)
                status = "okay";
        };
 
+       cpus {
+               cpu@0 {
+                       enable-method = "psci";
+               };
+
+               cpu@1 {
+                       enable-method = "psci";
+               };
+
+               cpu@2 {
+                       enable-method = "psci";
+               };
+
+               cpu@3 {
+                       enable-method = "psci";
+               };
+
+               cpu@4 {
+                       enable-method = "psci";
+               };
+
+               cpu@5 {
+                       enable-method = "psci";
+               };
+       };
+
        bpmp {
                status = "okay";
        };
+
+       psci {
+               compatible = "arm,psci-1.0";
+               status = "okay";
+               method = "smc";
+       };
 };