]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: tegra: Enable PSCI support for Tegra210 and Tegra186
authorJon Hunter <jonathanh@nvidia.com>
Thu, 18 Jun 2020 11:54:39 +0000 (12:54 +0100)
committerTom Warren <twarren@nvidia.com>
Thu, 18 Jun 2020 20:14:50 +0000 (13:14 -0700)
The PSCI nodes are currently not populated for the Tegra210 and Tegra186
devices. This prevents the PSCI driver from being able to identify the
PSCI method used by these devices and causes the probe of the PSCI
driver to fail.

Since commit 81ea00838c68 ("efi_loader: PSCI reset and shutdown") was
added, which moves the PSCI EFI system reset handler into the PSCI
driver, this has prevented the EFI system reset from working for
Tegra210 and Tegra186. Therefore, populating these nodes is necessary
to fix the EFI system reset for Tegra210 and Tegra186.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Tested-by: Peter Robinson <pbrobinson@gmail.com>
arch/arm/dts/tegra186.dtsi
arch/arm/dts/tegra210.dtsi

index 0a9db9825b85d0ebaae38ef9b5398416bbe97340..edcb7aacb8ee6e3062e5b5ce60e788af92435c4c 100644 (file)
                        status = "disabled";
                };
        };
+
+       psci {
+               compatible = "arm,psci-1.0";
+               method = "smc";
+       };
 };
index 3ec54b11c43f45841bc82ed58e366ec0d9cd272a..a521a43d6cfde7d633ba44824ab08b8942444da5 100644 (file)
                };
        };
 
+       psci {
+               compatible = "arm,psci-1.0";
+               method = "smc";
+       };
+
        timer {
                compatible = "arm,armv8-timer";
                interrupts = <GIC_PPI 13