mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
2fdb74fe4e
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>
79 lines
1.1 KiB
Plaintext
79 lines
1.1 KiB
Plaintext
// SPDX-License-Identifier: GPL-2.0
|
|
#include "tegra210.dtsi"
|
|
|
|
/ {
|
|
model = "NVIDIA Tegra210 P2530 main board";
|
|
compatible = "nvidia,p2530", "nvidia,tegra210";
|
|
|
|
aliases {
|
|
rtc1 = "/rtc@7000e000";
|
|
serial0 = &uarta;
|
|
};
|
|
|
|
chosen {
|
|
stdout-path = "serial0:115200n8";
|
|
};
|
|
|
|
memory {
|
|
device_type = "memory";
|
|
reg = <0x0 0x80000000 0x0 0xc0000000>;
|
|
};
|
|
|
|
/* debug port */
|
|
serial@70006000 {
|
|
status = "okay";
|
|
};
|
|
|
|
i2c@7000d000 {
|
|
status = "okay";
|
|
clock-frequency = <400000>;
|
|
};
|
|
|
|
pmc@7000e400 {
|
|
nvidia,invert-interrupt;
|
|
};
|
|
|
|
/* eMMC */
|
|
sdhci@700b0600 {
|
|
status = "okay";
|
|
bus-width = <8>;
|
|
non-removable;
|
|
};
|
|
|
|
clocks {
|
|
compatible = "simple-bus";
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
clk32k_in: clock@0 {
|
|
compatible = "fixed-clock";
|
|
reg = <0>;
|
|
#clock-cells = <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";
|
|
};
|
|
};
|