Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1710772

[PATCH v3 02/10] arm64: dts: hi3660: add L2 cache topology

From Guodong Xu <guodong.xu@linaro.org>
Newsgroups linux.kernel
Subject [PATCH v3 02/10] arm64: dts: hi3660: add L2 cache topology
Date 2017-08-14 12:00 +0200
Message-ID <uekka-2xb-15@gated-at.bofh.it> (permalink)
References <uekk9-2xb-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Leo Yan <leo.yan@linaro.org>

This patch adds the L2 cache topology on 96boards Hikey960.

Signed-off-by: Leo Yan <leo.yan@linaro.org>
---
 arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi
index 8921310..1cdd03b 100644
--- a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi
+++ b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi
@@ -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
@@ -102,6 +107,7 @@
 			device_type = "cpu";
 			reg = <0x0 0x101>;
 			enable-method = "psci";
+			next-level-cache = <&A73_L2>;
 			cpu-idle-states = <
 					&CPU_NAP
 					&CPU_SLEEP
@@ -114,6 +120,7 @@
 			device_type = "cpu";
 			reg = <0x0 0x102>;
 			enable-method = "psci";
+			next-level-cache = <&A73_L2>;
 			cpu-idle-states = <
 					&CPU_NAP
 					&CPU_SLEEP
@@ -126,6 +133,7 @@
 			device_type = "cpu";
 			reg = <0x0 0x103>;
 			enable-method = "psci";
+			next-level-cache = <&A73_L2>;
 			cpu-idle-states = <
 					&CPU_NAP
 					&CPU_SLEEP
@@ -171,6 +179,14 @@
 				min-residency-us = <20000>;
 			};
 		};
+
+		A53_L2: l2-cache0 {
+			compatible = "cache";
+		};
+
+		A73_L2: l2-cache1 {
+			compatible = "cache";
+		};
 	};
 
 	gic: interrupt-controller@e82b0000 {
-- 
2.10.2

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v3 00/10] arm64: dts: hi3660: add more device nodes Guodong Xu <guodong.xu@linaro.org> - 2017-08-14 12:00 +0200
  [PATCH v3 01/10] arm64: dts: hi3660: enable idle states Guodong Xu <guodong.xu@linaro.org> - 2017-08-14 12:00 +0200
  [PATCH v3 02/10] arm64: dts: hi3660: add L2 cache topology Guodong Xu <guodong.xu@linaro.org> - 2017-08-14 12:00 +0200
  [PATCH v3 08/10] arm64: dts: hikey960: change bluetooth uart max-speed to 3mbps Guodong Xu <guodong.xu@linaro.org> - 2017-08-14 12:00 +0200
  [PATCH v3 03/10] arm64: dts: hi3660: add pmu dt node for hi3660 Guodong Xu <guodong.xu@linaro.org> - 2017-08-14 12:00 +0200
  [PATCH v3 04/10] arm64: dts: hikey960: Add optee node Guodong Xu <guodong.xu@linaro.org> - 2017-08-14 12:00 +0200
  [PATCH v3 05/10] arm64: dts: hikey960: Add support for syscon-reboot-mode Guodong Xu <guodong.xu@linaro.org> - 2017-08-14 12:00 +0200
  [PATCH v3 07/10] arm64: dts: hi3660: Reset the mmc hosts Guodong Xu <guodong.xu@linaro.org> - 2017-08-14 12:00 +0200
  [PATCH v3 09/10] arm64: dts: hi3660: add bindings for DMA Guodong Xu <guodong.xu@linaro.org> - 2017-08-14 12:00 +0200
  [PATCH v3 10/10] arm64: dts: hi3660: enable watchdog Guodong Xu <guodong.xu@linaro.org> - 2017-08-14 12:00 +0200
  Re: [PATCH v3 00/10] arm64: dts: hi3660: add more device nodes Wei Xu <xuwei5@hisilicon.com> - 2017-08-15 15:40 +0200

csiph-web