Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: r8a7794: Add L2 cache-controller node

Add a device node for the L2 cache, and link the CPU nodes to it.

The L2 cache for the Cortex-A7 CPU cores is 512 KiB large (organized as
64 KiB x 8 ways).

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>

authored by

Geert Uytterhoeven and committed by
Simon Horman
d12a384a fdd0dbd8

+8
+8
arch/arm/boot/dts/r8a7794.dtsi
··· 40 40 compatible = "arm,cortex-a7"; 41 41 reg = <0>; 42 42 clock-frequency = <1000000000>; 43 + next-level-cache = <&L2_CA7>; 43 44 }; 44 45 45 46 cpu1: cpu@1 { ··· 48 47 compatible = "arm,cortex-a7"; 49 48 reg = <1>; 50 49 clock-frequency = <1000000000>; 50 + next-level-cache = <&L2_CA7>; 51 51 }; 52 + }; 53 + 54 + L2_CA7: cache-controller@1 { 55 + compatible = "cache"; 56 + cache-unified; 57 + cache-level = <2>; 52 58 }; 53 59 54 60 gic: interrupt-controller@f1001000 {