提交 3bdba5ac 编写于 作者: M Masahiro Yamada

ARM: dts: uniphier: switch over to PSCI

Use PSCI for enable-method instead of SoC specific implementation.
Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
上级 77896e4d
...@@ -45,6 +45,11 @@ ...@@ -45,6 +45,11 @@
/include/ "skeleton.dtsi" /include/ "skeleton.dtsi"
/ { / {
psci {
compatible = "arm,psci-0.2";
method = "smc";
};
clocks { clocks {
refclk: ref { refclk: ref {
#clock-cells = <0>; #clock-cells = <0>;
......
...@@ -56,6 +56,7 @@ ...@@ -56,6 +56,7 @@
device_type = "cpu"; device_type = "cpu";
compatible = "arm,cortex-a9"; compatible = "arm,cortex-a9";
reg = <0>; reg = <0>;
enable-method = "psci";
next-level-cache = <&l2>; next-level-cache = <&l2>;
}; };
}; };
......
...@@ -51,12 +51,12 @@ ...@@ -51,12 +51,12 @@
cpus { cpus {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
enable-method = "socionext,uniphier-smp";
cpu@0 { cpu@0 {
device_type = "cpu"; device_type = "cpu";
compatible = "arm,cortex-a9"; compatible = "arm,cortex-a9";
reg = <0>; reg = <0>;
enable-method = "psci";
next-level-cache = <&l2>; next-level-cache = <&l2>;
}; };
...@@ -64,6 +64,7 @@ ...@@ -64,6 +64,7 @@
device_type = "cpu"; device_type = "cpu";
compatible = "arm,cortex-a9"; compatible = "arm,cortex-a9";
reg = <1>; reg = <1>;
enable-method = "psci";
next-level-cache = <&l2>; next-level-cache = <&l2>;
}; };
}; };
......
...@@ -51,12 +51,12 @@ ...@@ -51,12 +51,12 @@
cpus { cpus {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
enable-method = "socionext,uniphier-smp";
cpu@0 { cpu@0 {
device_type = "cpu"; device_type = "cpu";
compatible = "arm,cortex-a9"; compatible = "arm,cortex-a9";
reg = <0>; reg = <0>;
enable-method = "psci";
next-level-cache = <&l2>; next-level-cache = <&l2>;
}; };
...@@ -64,6 +64,7 @@ ...@@ -64,6 +64,7 @@
device_type = "cpu"; device_type = "cpu";
compatible = "arm,cortex-a9"; compatible = "arm,cortex-a9";
reg = <1>; reg = <1>;
enable-method = "psci";
next-level-cache = <&l2>; next-level-cache = <&l2>;
}; };
}; };
......
...@@ -51,12 +51,12 @@ ...@@ -51,12 +51,12 @@
cpus { cpus {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
enable-method = "socionext,uniphier-smp";
cpu@0 { cpu@0 {
device_type = "cpu"; device_type = "cpu";
compatible = "arm,cortex-a9"; compatible = "arm,cortex-a9";
reg = <0>; reg = <0>;
enable-method = "psci";
next-level-cache = <&l2>; next-level-cache = <&l2>;
}; };
...@@ -64,6 +64,7 @@ ...@@ -64,6 +64,7 @@
device_type = "cpu"; device_type = "cpu";
compatible = "arm,cortex-a9"; compatible = "arm,cortex-a9";
reg = <1>; reg = <1>;
enable-method = "psci";
next-level-cache = <&l2>; next-level-cache = <&l2>;
}; };
...@@ -71,6 +72,7 @@ ...@@ -71,6 +72,7 @@
device_type = "cpu"; device_type = "cpu";
compatible = "arm,cortex-a9"; compatible = "arm,cortex-a9";
reg = <2>; reg = <2>;
enable-method = "psci";
next-level-cache = <&l2>; next-level-cache = <&l2>;
}; };
...@@ -78,6 +80,7 @@ ...@@ -78,6 +80,7 @@
device_type = "cpu"; device_type = "cpu";
compatible = "arm,cortex-a9"; compatible = "arm,cortex-a9";
reg = <3>; reg = <3>;
enable-method = "psci";
next-level-cache = <&l2>; next-level-cache = <&l2>;
}; };
}; };
......
...@@ -51,12 +51,12 @@ ...@@ -51,12 +51,12 @@
cpus { cpus {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
enable-method = "socionext,uniphier-smp";
cpu@0 { cpu@0 {
device_type = "cpu"; device_type = "cpu";
compatible = "arm,cortex-a9"; compatible = "arm,cortex-a9";
reg = <0>; reg = <0>;
enable-method = "psci";
next-level-cache = <&l2>; next-level-cache = <&l2>;
}; };
...@@ -64,10 +64,16 @@ ...@@ -64,10 +64,16 @@
device_type = "cpu"; device_type = "cpu";
compatible = "arm,cortex-a9"; compatible = "arm,cortex-a9";
reg = <1>; reg = <1>;
enable-method = "psci";
next-level-cache = <&l2>; next-level-cache = <&l2>;
}; };
}; };
psci {
compatible = "arm,psci-0.2";
method = "smc";
};
clocks { clocks {
refclk: ref { refclk: ref {
#clock-cells = <0>; #clock-cells = <0>;
......
...@@ -56,6 +56,7 @@ ...@@ -56,6 +56,7 @@
device_type = "cpu"; device_type = "cpu";
compatible = "arm,cortex-a9"; compatible = "arm,cortex-a9";
reg = <0>; reg = <0>;
enable-method = "psci";
next-level-cache = <&l2>; next-level-cache = <&l2>;
}; };
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册