Skip to content

Commit

Permalink
powerpc/b4860: Renamed the L2 caches
Browse files Browse the repository at this point in the history
To make provision for more than one L2 caches in the system, change the
name from L2 to L2_1; same as in T4 platforms.
* Also remove the L2 entry from common file
  "arch/powerpc/boot/dts/fsl/b4si-post.dtsi"
  Keep them only in separate files for b4860 and b4420.

Signed-off-by: Shaveta Leekha <shaveta@freescale.com>
Signed-off-by: Poonam Aggrwal <poonam.aggrwal@freescale.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
  • Loading branch information
poonam aggrwal authored and Scott Wood committed Oct 17, 2015
1 parent dc37374 commit 5224644
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 14 deletions.
4 changes: 3 additions & 1 deletion arch/powerpc/boot/dts/fsl/b4420si-post.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,9 @@
compatible = "fsl,b4420-rcpm", "fsl,qoriq-rcpm-2.0";
};

L2: l2-cache-controller@c20000 {
L2_1: l2-cache-controller@c20000 {
compatible = "fsl,b4420-l2-cache-controller";
reg = <0xc20000 0x40000>;
next-level-cache = <&cpc>;
};
};
4 changes: 2 additions & 2 deletions arch/powerpc/boot/dts/fsl/b4420si-pre.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,14 @@
device_type = "cpu";
reg = <0 1>;
clocks = <&mux0>;
next-level-cache = <&L2>;
next-level-cache = <&L2_1>;
fsl,portid-mapping = <0x80000000>;
};
cpu1: PowerPC,e6500@2 {
device_type = "cpu";
reg = <2 3>;
clocks = <&mux0>;
next-level-cache = <&L2>;
next-level-cache = <&L2_1>;
fsl,portid-mapping = <0x80000000>;
};
};
Expand Down
4 changes: 3 additions & 1 deletion arch/powerpc/boot/dts/fsl/b4860si-post.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,9 @@
compatible = "fsl,b4860-rcpm", "fsl,qoriq-rcpm-2.0";
};

L2: l2-cache-controller@c20000 {
L2_1: l2-cache-controller@c20000 {
compatible = "fsl,b4860-l2-cache-controller";
reg = <0xc20000 0x40000>;
next-level-cache = <&cpc>;
};
};
8 changes: 4 additions & 4 deletions arch/powerpc/boot/dts/fsl/b4860si-pre.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -65,28 +65,28 @@
device_type = "cpu";
reg = <0 1>;
clocks = <&mux0>;
next-level-cache = <&L2>;
next-level-cache = <&L2_1>;
fsl,portid-mapping = <0x80000000>;
};
cpu1: PowerPC,e6500@2 {
device_type = "cpu";
reg = <2 3>;
clocks = <&mux0>;
next-level-cache = <&L2>;
next-level-cache = <&L2_1>;
fsl,portid-mapping = <0x80000000>;
};
cpu2: PowerPC,e6500@4 {
device_type = "cpu";
reg = <4 5>;
clocks = <&mux0>;
next-level-cache = <&L2>;
next-level-cache = <&L2_1>;
fsl,portid-mapping = <0x80000000>;
};
cpu3: PowerPC,e6500@6 {
device_type = "cpu";
reg = <6 7>;
clocks = <&mux0>;
next-level-cache = <&L2>;
next-level-cache = <&L2_1>;
fsl,portid-mapping = <0x80000000>;
};
};
Expand Down
6 changes: 0 additions & 6 deletions arch/powerpc/boot/dts/fsl/b4si-post.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -465,10 +465,4 @@
bman: bman@31a000 {
interrupts = <16 2 1 29>;
};

L2: l2-cache-controller@c20000 {
compatible = "fsl,b4-l2-cache-controller";
reg = <0xc20000 0x1000>;
next-level-cache = <&cpc>;
};
};

0 comments on commit 5224644

Please sign in to comment.