Commit 3bdba5ac authored by Masahiro Yamada's avatar Masahiro Yamada

ARM: dts: uniphier: switch over to PSCI

Use PSCI for enable-method instead of SoC specific implementation.
Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent 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 @@ cpu@0 { ...@@ -56,6 +56,7 @@ 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>;
}; };
}; };
......
...@@ -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 @@ cpu@1 { ...@@ -64,6 +64,7 @@ cpu@1 {
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 @@ cpu@1 { ...@@ -64,6 +64,7 @@ cpu@1 {
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 @@ cpu@1 { ...@@ -64,6 +64,7 @@ cpu@1 {
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 @@ cpu@2 { ...@@ -71,6 +72,7 @@ cpu@2 {
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 @@ cpu@3 { ...@@ -78,6 +80,7 @@ cpu@3 {
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 @@ cpu@1 { ...@@ -64,10 +64,16 @@ cpu@1 {
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 @@ cpu@0 { ...@@ -56,6 +56,7 @@ 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>;
}; };
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment