]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: tegra: Add CPU and PSCI nodes for NVIDIA Tegra210 platforms
authorJon Hunter <jonathanh@nvidia.com>
Tue, 28 Mar 2017 11:48:38 +0000 (12:48 +0100)
committerThierry Reding <treding@nvidia.com>
Wed, 13 Dec 2017 13:44:46 +0000 (14:44 +0100)
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>
arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi
arch/arm64/boot/dts/nvidia/tegra210-p2530.dtsi

index d10d4430537a0a549b49051fd68b27b880c7c469..212e6634c9baa5173efd128eb9e37c28a6714468 100644 (file)
                };
        };
 
+       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";
index be6066ff97c97b8dcdfda3a0e210c6c675d5bdc5..d0dc0392372372785f8d908059887a1e68b84fd9 100644 (file)
                        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";
+       };
 };