arm64: tegra: Add CPU nodes to Tegra194 device tree
authorMikko Perttunen <mperttunen@nvidia.com>
Mon, 2 Jul 2018 12:11:31 +0000 (15:11 +0300)
committerThierry Reding <treding@nvidia.com>
Mon, 2 Jul 2018 13:57:39 +0000 (15:57 +0200)
Add CPU and PSCI nodes to device tree. The Tegra194 SoC contains
eight NVIDIA Carmel CPUs.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra194.dtsi

index 2259a2b78afc7b2f0d3d4b86321049381fd652a7..a4dfcd19b9e88965187cd24e23116103b0f7e652 100644 (file)
                };
        };
 
+       cpus {
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               cpu@0 {
+                       compatible = "nvidia,tegra194-carmel", "arm,armv8";
+                       device_type = "cpu";
+                       reg = <0x10000>;
+                       enable-method = "psci";
+               };
+
+               cpu@1 {
+                       compatible = "nvidia,tegra194-carmel", "arm,armv8";
+                       device_type = "cpu";
+                       reg = <0x10001>;
+                       enable-method = "psci";
+               };
+
+               cpu@2 {
+                       compatible = "nvidia,tegra194-carmel", "arm,armv8";
+                       device_type = "cpu";
+                       reg = <0x100>;
+                       enable-method = "psci";
+               };
+
+               cpu@3 {
+                       compatible = "nvidia,tegra194-carmel", "arm,armv8";
+                       device_type = "cpu";
+                       reg = <0x101>;
+                       enable-method = "psci";
+               };
+
+               cpu@4 {
+                       compatible = "nvidia,tegra194-carmel", "arm,armv8";
+                       device_type = "cpu";
+                       reg = <0x200>;
+                       enable-method = "psci";
+               };
+
+               cpu@5 {
+                       compatible = "nvidia,tegra194-carmel", "arm,armv8";
+                       device_type = "cpu";
+                       reg = <0x201>;
+                       enable-method = "psci";
+               };
+
+               cpu@6 {
+                       compatible = "nvidia,tegra194-carmel", "arm,armv8";
+                       device_type = "cpu";
+                       reg = <0x10300>;
+                       enable-method = "psci";
+               };
+
+               cpu@7 {
+                       compatible = "nvidia,tegra194-carmel", "arm,armv8";
+                       device_type = "cpu";
+                       reg = <0x10301>;
+                       enable-method = "psci";
+               };
+       };
+
+       psci {
+               compatible = "arm,psci-1.0";
+               status = "okay";
+               method = "smc";
+       };
+
        timer {
                compatible = "arm,armv8-timer";
                interrupts = <GIC_PPI 13