diff mbox

[2/2] arm64/dts: ajust cpu nodes base upon new attribute reg-var-mask

Message ID 1421730471-8256-2-git-send-email-thunder.leizhen@huawei.com (mailing list archive)
State New, archived
Headers show

Commit Message

Zhen Lei Jan. 20, 2015, 5:07 a.m. UTC
To show all the styles currently supported, have not merged all cpu
nodes into one. Treat foundation-v8.dts as a example file.

Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
---
 arch/arm64/boot/dts/arm/foundation-v8.dts |   15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)

--
1.7.1
diff mbox

Patch

diff --git a/arch/arm64/boot/dts/arm/foundation-v8.dts b/arch/arm64/boot/dts/arm/foundation-v8.dts
index 27f3296..4118755 100644
--- a/arch/arm64/boot/dts/arm/foundation-v8.dts
+++ b/arch/arm64/boot/dts/arm/foundation-v8.dts
@@ -28,17 +28,15 @@ 
 		#address-cells = <2>;
 		#size-cells = <0>;

-		cpu@0 {
+		/*
+		 * These three cpu nodes can be merged into one. Here just in
+		 * order to show all the styles currently supported.
+		 */
+		cpu@0-1 {
 			device_type = "cpu";
 			compatible = "arm,armv8";
 			reg = <0x0 0x0>;
-			enable-method = "spin-table";
-			cpu-release-addr = <0x0 0x8000fff8>;
-		};
-		cpu@1 {
-			device_type = "cpu";
-			compatible = "arm,armv8";
-			reg = <0x0 0x1>;
+			reg-var-mask = <0x0 0x1>;
 			enable-method = "spin-table";
 			cpu-release-addr = <0x0 0x8000fff8>;
 		};
@@ -46,6 +44,7 @@ 
 			device_type = "cpu";
 			compatible = "arm,armv8";
 			reg = <0x0 0x2>;
+			reg-var-mask = <0x0 0x0>;
 			enable-method = "spin-table";
 			cpu-release-addr = <0x0 0x8000fff8>;
 		};