@@ -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>;
};
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