arch/PPC:B4860qds/B4420qds: Updates to device trees for B4860 for DSP clusters and their L2 caches
Subsystems (2)
PATCH 1/1 arch/PPC:B4860qds/B4420qds: Updates to device trees for B4860 for DSP clusters and their L2 caches
B4860 has 1 PPC core cluster and 3 DSP core clusters. Similarly B4420 has 1 PPC core cluster and 1 DSP core cluster.
Each DSP core cluster consists of 2 SC3900 cores and a shared L2 cache.
Add DSP clusters for B4420
The L2 cache nodes such that they now appear in only the soc specific dtsi files(b4860si-post.dtsi and b4420si-post.dtsi).
--- arch/powerpc/boot/dts/fsl/b4420si-post.dtsi | 7 +++- arch/powerpc/boot/dts/fsl/b4420si-pre.dtsi | 23 ++++++++++++ arch/powerpc/boot/dts/fsl/b4860si-post.dtsi | 20 ++++++++++- arch/powerpc/boot/dts/fsl/b4860si-pre.dtsi | 52 +++++++++++++++++++++++++++ 4 files changed, 100 insertions(+), 2 deletions(-)
arch/powerpc/boot/dts/fsl/b4420si-post.dtsi +6 -1
@@ -91,7 +91,12 @@ L2_1: l2-cache-controller@c20000 { compatible = "fsl,b4420-l2-cache-controller"; - reg = <0xc20000 0x40000>; + reg = <0xc20000 0x1000>; + next-level-cache = <&cpc>; + }; + L2_2: l2-cache-controller@c60000 { + compatible = "fsl,b4420-l2-cache-controller"; + reg = <0xc60000 0x1000>; next-level-cache = <&cpc>; }; };
arch/powerpc/boot/dts/fsl/b4420si-pre.dtsi +23 -0
@@ -81,4 +81,27 @@ 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>; + }; + }; + }; };
arch/powerpc/boot/dts/fsl/b4860si-post.dtsi +19 -1
@@ -278,7 +278,25 @@ L2_1: l2-cache-controller@c20000 { compatible = "fsl,b4860-l2-cache-controller"; - reg = <0xc20000 0x40000>; + reg = <0xc20000 0x1000>; + 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>; }; };
arch/powerpc/boot/dts/fsl/b4860si-pre.dtsi +52 -0
56 lines not on this page · raw message
Signature · 1 line
1.7.6.GIT
Quoted 11 lines · Ashish kumar
B4860 has 1 PPC core cluster and 3 DSP core clusters. Similarly B4420 has 1 PPC core cluster and 1 DSP core cluster.
Each DSP core cluster consists of 2 SC3900 cores and a shared L2 cache.
Add DSP clusters for B4420
The L2 cache nodes such that they now appear in only the soc specific dtsi files(b4860si-post.dtsi andb4420si-post.dtsi).Signed-off-by Ashish Kumar <[email protected]>Signed-off-by Shaveta Leekha <[email protected]>
The subject line is way too long, and has a non-standard prefix.
It should be something like "powerpc/fsl: Add DSP clusters and their L2 nodes"
Quoted 13 lines
arch/powerpc/boot/dts/fsl/b4420si-pre.dtsi +13
-0+ + 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";
arch/powerpc/boot/dts/fsl/b4420si-pre.dtsi line 106
Quoted 10 lines
arch/powerpc/boot/dts/fsl/b4420si-pre.dtsi +10
-0+ reg = <0>; + next-level-cache = <&L2_2>; + }; + dsp1: dsp@1 { + compatible = "fsl,sc3900"; + reg = <1>; + next-level-cache = <&L2_2>; + }; + }; + };
Where is the binding for this stuff?
Why "dsp-cluster0" instead of "dsp-cluster@0"?
-Scott