arm64: dts: hi3660: add L2 cache topology
authorLeo Yan <leo.yan@linaro.org>
Mon, 14 Aug 2017 09:50:41 +0000 (17:50 +0800)
committerWei Xu <xuwei5@hisilicon.com>
Wed, 16 Aug 2017 08:32:06 +0000 (09:32 +0100)
This patch adds the L2 cache topology on 96boards Hikey960.

Signed-off-by: Leo Yan <leo.yan@linaro.org>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
arch/arm64/boot/dts/hisilicon/hi3660.dtsi

index 8921310e4c55f6955f4b4a4d3e55711fbad23c61..1cdd03b5d1b3cb5faa154c507ef6383a30c11490 100644 (file)
@@ -58,6 +58,7 @@
                        device_type = "cpu";
                        reg = <0x0 0x0>;
                        enable-method = "psci";
+                       next-level-cache = <&A53_L2>;
                        cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP_0>;
                };
 
@@ -66,6 +67,7 @@
                        device_type = "cpu";
                        reg = <0x0 0x1>;
                        enable-method = "psci";
+                       next-level-cache = <&A53_L2>;
                        cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP_0>;
                };
 
@@ -74,6 +76,7 @@
                        device_type = "cpu";
                        reg = <0x0 0x2>;
                        enable-method = "psci";
+                       next-level-cache = <&A53_L2>;
                        cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP_0>;
                };
 
@@ -82,6 +85,7 @@
                        device_type = "cpu";
                        reg = <0x0 0x3>;
                        enable-method = "psci";
+                       next-level-cache = <&A53_L2>;
                        cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP_0>;
                };
 
@@ -90,6 +94,7 @@
                        device_type = "cpu";
                        reg = <0x0 0x100>;
                        enable-method = "psci";
+                       next-level-cache = <&A73_L2>;
                        cpu-idle-states = <
                                        &CPU_NAP
                                        &CPU_SLEEP
                        device_type = "cpu";
                        reg = <0x0 0x101>;
                        enable-method = "psci";
+                       next-level-cache = <&A73_L2>;
                        cpu-idle-states = <
                                        &CPU_NAP
                                        &CPU_SLEEP
                        device_type = "cpu";
                        reg = <0x0 0x102>;
                        enable-method = "psci";
+                       next-level-cache = <&A73_L2>;
                        cpu-idle-states = <
                                        &CPU_NAP
                                        &CPU_SLEEP
                        device_type = "cpu";
                        reg = <0x0 0x103>;
                        enable-method = "psci";
+                       next-level-cache = <&A73_L2>;
                        cpu-idle-states = <
                                        &CPU_NAP
                                        &CPU_SLEEP
                                min-residency-us = <20000>;
                        };
                };
+
+               A53_L2: l2-cache0 {
+                       compatible = "cache";
+               };
+
+               A73_L2: l2-cache1 {
+                       compatible = "cache";
+               };
        };
 
        gic: interrupt-controller@e82b0000 {