Skip to content

Commit

Permalink
arm64: tegra: Add CPU and PSCI nodes for NVIDIA Tegra210 platforms
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Jon Hunter <[email protected]>
Tested-By: Vagrant Cascadian <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
  • Loading branch information
jonhunter authored and thierryreding committed Dec 13, 2017
1 parent 3632850 commit 2fdb74f
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
23 changes: 23 additions & 0 deletions arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,29 @@
};
};

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";
Expand Down
23 changes: 23 additions & 0 deletions arch/arm64/boot/dts/nvidia/tegra210-p2530.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,27 @@
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";
};
};

0 comments on commit 2fdb74f

Please sign in to comment.