Skip to content

Commit

Permalink
ARM: dts: uniphier: switch over to PSCI
Browse files Browse the repository at this point in the history
Use PSCI for enable-method instead of SoC specific implementation.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
  • Loading branch information
Masahiro Yamada committed Aug 30, 2016
1 parent 77896e4 commit 3bdba5a
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 4 deletions.
5 changes: 5 additions & 0 deletions arch/arm/boot/dts/uniphier-common32.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@
/include/ "skeleton.dtsi"

/ {
psci {
compatible = "arm,psci-0.2";
method = "smc";
};

clocks {
refclk: ref {
#clock-cells = <0>;
Expand Down
1 change: 1 addition & 0 deletions arch/arm/boot/dts/uniphier-ld4.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
device_type = "cpu";
compatible = "arm,cortex-a9";
reg = <0>;
enable-method = "psci";
next-level-cache = <&l2>;
};
};
Expand Down
3 changes: 2 additions & 1 deletion arch/arm/boot/dts/uniphier-pro4.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -51,19 +51,20 @@
cpus {
#address-cells = <1>;
#size-cells = <0>;
enable-method = "socionext,uniphier-smp";

cpu@0 {
device_type = "cpu";
compatible = "arm,cortex-a9";
reg = <0>;
enable-method = "psci";
next-level-cache = <&l2>;
};

cpu@1 {
device_type = "cpu";
compatible = "arm,cortex-a9";
reg = <1>;
enable-method = "psci";
next-level-cache = <&l2>;
};
};
Expand Down
3 changes: 2 additions & 1 deletion arch/arm/boot/dts/uniphier-pro5.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -51,19 +51,20 @@
cpus {
#address-cells = <1>;
#size-cells = <0>;
enable-method = "socionext,uniphier-smp";

cpu@0 {
device_type = "cpu";
compatible = "arm,cortex-a9";
reg = <0>;
enable-method = "psci";
next-level-cache = <&l2>;
};

cpu@1 {
device_type = "cpu";
compatible = "arm,cortex-a9";
reg = <1>;
enable-method = "psci";
next-level-cache = <&l2>;
};
};
Expand Down
5 changes: 4 additions & 1 deletion arch/arm/boot/dts/uniphier-pxs2.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -51,33 +51,36 @@
cpus {
#address-cells = <1>;
#size-cells = <0>;
enable-method = "socionext,uniphier-smp";

cpu@0 {
device_type = "cpu";
compatible = "arm,cortex-a9";
reg = <0>;
enable-method = "psci";
next-level-cache = <&l2>;
};

cpu@1 {
device_type = "cpu";
compatible = "arm,cortex-a9";
reg = <1>;
enable-method = "psci";
next-level-cache = <&l2>;
};

cpu@2 {
device_type = "cpu";
compatible = "arm,cortex-a9";
reg = <2>;
enable-method = "psci";
next-level-cache = <&l2>;
};

cpu@3 {
device_type = "cpu";
compatible = "arm,cortex-a9";
reg = <3>;
enable-method = "psci";
next-level-cache = <&l2>;
};
};
Expand Down
8 changes: 7 additions & 1 deletion arch/arm/boot/dts/uniphier-sld3.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -51,23 +51,29 @@
cpus {
#address-cells = <1>;
#size-cells = <0>;
enable-method = "socionext,uniphier-smp";

cpu@0 {
device_type = "cpu";
compatible = "arm,cortex-a9";
reg = <0>;
enable-method = "psci";
next-level-cache = <&l2>;
};

cpu@1 {
device_type = "cpu";
compatible = "arm,cortex-a9";
reg = <1>;
enable-method = "psci";
next-level-cache = <&l2>;
};
};

psci {
compatible = "arm,psci-0.2";
method = "smc";
};

clocks {
refclk: ref {
#clock-cells = <0>;
Expand Down
1 change: 1 addition & 0 deletions arch/arm/boot/dts/uniphier-sld8.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
device_type = "cpu";
compatible = "arm,cortex-a9";
reg = <0>;
enable-method = "psci";
next-level-cache = <&l2>;
};
};
Expand Down

0 comments on commit 3bdba5a

Please sign in to comment.