arm64: tegra: Add CPU and PSCI nodes for NVIDIA Tegra210 platforms

Add the CPU and PSCI nodes for the NVIDIA Tegra210 platforms so that
all CPUs can be enabled on boot. This assumes that the PSCI firmware
has been loaded during the initial bootstrap on the device before the
kernel starts (which is typically the case for these platforms). The
PSCI firmware version is set to v0.2 which aligns with the current
shipping version for Tegra.

Reported-by: Martin Michlmayr <tbm@cyrius.com>
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Tested-By: Vagrant Cascadian <vagrant@debian.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
Jon Hunter 2017-03-28 12:48:38 +01:00 committed by Thierry Reding
parent 363285059d
commit 2fdb74fe4e
2 changed files with 46 additions and 0 deletions

View File

@ -297,6 +297,29 @@ clk32k_in: clock@0 {
};
};
cpus {
cpu@0 {
enable-method = "psci";
};
cpu@1 {
enable-method = "psci";
};
cpu@2 {
enable-method = "psci";
};
cpu@3 {
enable-method = "psci";
};
};
psci {
compatible = "arm,psci-0.2";
method = "smc";
};
regulators {
vdd_gpu: regulator@100 {
compatible = "pwm-regulator";

View File

@ -52,4 +52,27 @@ clk32k_in: clock@0 {
clock-frequency = <32768>;
};
};
cpus {
cpu@0 {
enable-method = "psci";
};
cpu@1 {
enable-method = "psci";
};
cpu@2 {
enable-method = "psci";
};
cpu@3 {
enable-method = "psci";
};
};
psci {
compatible = "arm,psci-0.2";
method = "smc";
};
};