summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanjun Guo <hanjun.guo@linaro.org>2013-09-16 19:02:32 +0800
committerHanjun Guo <hanjun.guo@linaro.org>2013-09-16 19:48:05 +0800
commit39a89e1323d8653653b891566fe0620bff906295 (patch)
tree406733e71c608f69a749fdad0c2101d25102de35
parentf5fefd67fda71f06788b71d63655c51117fe239f (diff)
ARM64: add cpu hotplug support in foundation-v8-acpi.dts filecpu-hotplug
Since ARM64 cpu hotplug use PSCI now, change the bindings to support it in foundation-v8-acpi.dts file Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org>
-rw-r--r--arch/arm64/boot/dts/foundation-v8-acpi.dts19
1 files changed, 11 insertions, 8 deletions
diff --git a/arch/arm64/boot/dts/foundation-v8-acpi.dts b/arch/arm64/boot/dts/foundation-v8-acpi.dts
index 2d9332cfef23..c290a80b2885 100644
--- a/arch/arm64/boot/dts/foundation-v8-acpi.dts
+++ b/arch/arm64/boot/dts/foundation-v8-acpi.dts
@@ -22,6 +22,13 @@
serial3 = &v2m_serial3;
};
+ psci {
+ compatible = "arm,psci";
+ method = "smc";
+ cpu_off = <0x84000001>;
+ cpu_on = <0x84000002>;
+ };
+
cpus {
#address-cells = <2>;
#size-cells = <0>;
@@ -30,29 +37,25 @@
device_type = "cpu";
compatible = "arm,armv8";
reg = <0x0 0x0>;
- enable-method = "spin-table";
- cpu-release-addr = <0x0 0x8000fff8>;
+ enable-method = "psci";
};
cpu@1 {
device_type = "cpu";
compatible = "arm,armv8";
reg = <0x0 0x1>;
- enable-method = "spin-table";
- cpu-release-addr = <0x0 0x8000fff8>;
+ enable-method = "psci";
};
cpu@2 {
device_type = "cpu";
compatible = "arm,armv8";
reg = <0x0 0x2>;
- enable-method = "spin-table";
- cpu-release-addr = <0x0 0x8000fff8>;
+ enable-method = "psci";
};
cpu@3 {
device_type = "cpu";
compatible = "arm,armv8";
reg = <0x0 0x3>;
- enable-method = "spin-table";
- cpu-release-addr = <0x0 0x8000fff8>;
+ enable-method = "psci";
};
};