arm64: dts: berlin4ct: Add L2 cache topology
authorJisheng Zhang <jszhang@marvell.com>
Thu, 7 Jul 2016 06:01:15 +0000 (14:01 +0800)
committerSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Wed, 28 Sep 2016 18:37:06 +0000 (20:37 +0200)
This patch adds the L2 cache topology for berlin4ct which has 1MB L2
cache.

[Sebastian: rename cache node from "l2-cache" to "cache"]

Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
arch/arm64/boot/dts/marvell/berlin4ct.dtsi

index 0af4780..85c23fa 100644 (file)
@@ -68,6 +68,7 @@
                        device_type = "cpu";
                        reg = <0x0>;
                        enable-method = "psci";
+                       next-level-cache = <&l2>;
                        cpu-idle-states = <&CPU_SLEEP_0>;
                };
 
@@ -76,6 +77,7 @@
                        device_type = "cpu";
                        reg = <0x1>;
                        enable-method = "psci";
+                       next-level-cache = <&l2>;
                        cpu-idle-states = <&CPU_SLEEP_0>;
                };
 
@@ -84,6 +86,7 @@
                        device_type = "cpu";
                        reg = <0x2>;
                        enable-method = "psci";
+                       next-level-cache = <&l2>;
                        cpu-idle-states = <&CPU_SLEEP_0>;
                };
 
                        device_type = "cpu";
                        reg = <0x3>;
                        enable-method = "psci";
+                       next-level-cache = <&l2>;
                        cpu-idle-states = <&CPU_SLEEP_0>;
                };
 
+               l2: cache {
+                       compatible = "cache";
+               };
+
                idle-states {
                        entry-method = "psci";
                        CPU_SLEEP_0: cpu-sleep-0 {