diff mbox series

arm64: dts: renesas: r9a09g011: Add L2 Cache node

Message ID 20221110160931.101539-1-biju.das.jz@bp.renesas.com (mailing list archive)
State Mainlined
Commit c6b1737f45ca708fee76a30afb4a7b0247455749
Delegated to: Geert Uytterhoeven
Headers show
Series arm64: dts: renesas: r9a09g011: Add L2 Cache node | expand

Commit Message

Biju Das Nov. 10, 2022, 4:09 p.m. UTC
The Cortex-A53 processor on RZ/V2M has 512 KB L2 Cache.
Add L2 Cache node to SoC dtsi.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
---
 arch/arm64/boot/dts/renesas/r9a09g011.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Geert Uytterhoeven Nov. 14, 2022, 4:01 p.m. UTC | #1
On Thu, Nov 10, 2022 at 5:09 PM Biju Das <biju.das.jz@bp.renesas.com> wrote:
> The Cortex-A53 processor on RZ/V2M has 512 KB L2 Cache.
> Add L2 Cache node to SoC dtsi.
>
> Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
i.e. will queue in renesas-devel for v6.2.

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/renesas/r9a09g011.dtsi b/arch/arm64/boot/dts/renesas/r9a09g011.dtsi
index ebaa8cdd747d..7b949e40745a 100644
--- a/arch/arm64/boot/dts/renesas/r9a09g011.dtsi
+++ b/arch/arm64/boot/dts/renesas/r9a09g011.dtsi
@@ -37,8 +37,15 @@  cpu0: cpu@0 {
 			compatible = "arm,cortex-a53";
 			reg = <0>;
 			device_type = "cpu";
+			next-level-cache = <&L2_CA53>;
 			clocks = <&cpg CPG_MOD R9A09G011_CA53_CLK>;
 		};
+
+		L2_CA53: cache-controller-0 {
+			compatible = "cache";
+			cache-unified;
+			cache-level = <2>;
+		};
 	};
 
 	soc: soc {