arm64: tegra: Add CPU nodes for Tegra186
authorThierry Reding <treding@nvidia.com>
Tue, 15 Nov 2016 12:01:08 +0000 (13:01 +0100)
committerThierry Reding <treding@nvidia.com>
Mon, 21 Nov 2016 09:43:37 +0000 (10:43 +0100)
Tegra186 has six CPUs: two CPUs are second generation Denver CPUs that
support ARMv8 and four CPUs are Cortex-A57 CPUs.

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

index ff0c9e182598c4721f50d8915d0dac5b90174c40..cbedef4fa9a8d7d3be2658e28a575a1a160feb47 100644 (file)
                };
        };
 
+       cpus {
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               cpu@0 {
+                       compatible = "nvidia,tegra186-denver", "arm,armv8";
+                       device_type = "cpu";
+                       reg = <0x000>;
+               };
+
+               cpu@1 {
+                       compatible = "nvidia,tegra186-denver", "arm,armv8";
+                       device_type = "cpu";
+                       reg = <0x001>;
+               };
+
+               cpu@2 {
+                       compatible = "arm,cortex-a57", "arm,armv8";
+                       device_type = "cpu";
+                       reg = <0x100>;
+               };
+
+               cpu@3 {
+                       compatible = "arm,cortex-a57", "arm,armv8";
+                       device_type = "cpu";
+                       reg = <0x101>;
+               };
+
+               cpu@4 {
+                       compatible = "arm,cortex-a57", "arm,armv8";
+                       device_type = "cpu";
+                       reg = <0x102>;
+               };
+
+               cpu@5 {
+                       compatible = "arm,cortex-a57", "arm,armv8";
+                       device_type = "cpu";
+                       reg = <0x103>;
+               };
+       };
+
        bpmp: bpmp {
                compatible = "nvidia,tegra186-bpmp";
                mboxes = <&hsp_top0 0 19>;