B4860 has 3 DSP clusters, each cluster having 2 DSP cores (SC3900),
and every cluster has a shared L2 cache.

Signed-off-by: Shaveta Leekha <shav...@freescale.com>
Signed-off-by: Poonam Aggrwal <poonam.aggr...@freescale.com>
---
- based of: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
  branch master 
 arch/powerpc/boot/dts/fsl/b4860si-post.dtsi | 18 +++++++++
 arch/powerpc/boot/dts/fsl/b4860si-pre.dtsi  | 59 +++++++++++++++++++++++++++++
 2 files changed, 77 insertions(+)

diff --git a/arch/powerpc/boot/dts/fsl/b4860si-post.dtsi 
b/arch/powerpc/boot/dts/fsl/b4860si-post.dtsi
index be91803..f6c3b9b 100644
--- a/arch/powerpc/boot/dts/fsl/b4860si-post.dtsi
+++ b/arch/powerpc/boot/dts/fsl/b4860si-post.dtsi
@@ -263,4 +263,22 @@
                reg = <0xc20000 0x40000>;
                next-level-cache = <&cpc>;
        };
+
+       L2_2: l2-cache-controller@c60000 {
+               compatible = "fsl,b4860-l2-cache-controller";
+               reg = <0xc60000 0x1000>;
+               next-level-cache = <&cpc>;
+       };
+
+       L2_3: l2-cache-controller@ca0000 {
+               compatible = "fsl,b4860-l2-cache-controller";
+               reg = <0xca0000 0x1000>;
+               next-level-cache = <&cpc>;
+       };
+
+       L2_4: l2-cache-controller@ce0000 {
+               compatible = "fsl,b4860-l2-cache-controller";
+               reg = <0xce0000 0x1000>;
+               next-level-cache = <&cpc>;
+       };
 };
diff --git a/arch/powerpc/boot/dts/fsl/b4860si-pre.dtsi 
b/arch/powerpc/boot/dts/fsl/b4860si-pre.dtsi
index 6823caa..dbfb2a6 100644
--- a/arch/powerpc/boot/dts/fsl/b4860si-pre.dtsi
+++ b/arch/powerpc/boot/dts/fsl/b4860si-pre.dtsi
@@ -90,4 +90,63 @@
                        fsl,portid-mapping = <0x80000000>;
                };
        };
+
+       dsp-clusters {
+               #address-cells = <1>;
+               #size-cells = <0>;
+               
+               dsp-cluster0 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       compatible = "fsl,sc3900-cluster";
+                       reg = <0>;
+
+                       dsp0: dsp@0 {
+                               compatible = "fsl,sc3900";
+                               reg = <0>;
+                               next-level-cache = <&L2_2>;
+                       };
+                       dsp1: dsp@1 {
+                               compatible = "fsl,sc3900";
+                               reg = <1>;
+                               next-level-cache = <&L2_2>;
+                       };
+               };
+
+               dsp-cluster1 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       compatible = "fsl,sc3900-cluster";
+                       reg = <1>;
+
+                       dsp2: dsp@2 {
+                               compatible = "fsl,sc3900";
+                               reg = <2>;
+                               next-level-cache = <&L2_3>;
+                       };
+                       dsp3: dsp@3 {
+                               compatible = "fsl,sc3900";
+                               reg = <3>;
+                               next-level-cache = <&L2_3>;
+                       };
+               };
+
+               dsp-cluster2 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       compatible = "fsl,sc3900-cluster";
+                       reg = <2>;
+
+                       dsp4: dsp@4 {
+                               compatible = "fsl,sc3900";
+                               reg = <4>;
+                               next-level-cache = <&L2_4>;
+                       };
+                       dsp5: dsp@5 {
+                               compatible = "fsl,sc3900";
+                               reg = <5>;
+                               next-level-cache = <&L2_4>;
+                       };
+               };
+       };
 };
-- 
1.9.1

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to