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

ARM: dts: r8a7790: Add L2 cache-controller nodes

Add device nodes for the L2 caches, and link the CPU nodes to them.

The L2 cache for the Cortex-A15 CPU cores is 2 MiB large (organized as
128 KiB x 16 ways).

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
fb1cecd4 c86a4b62

+20
+20
arch/arm/boot/dts/r8a7790.dtsi
··· 52 52 voltage-tolerance = <1>; /* 1% */ 53 53 clocks = <&cpg_clocks R8A7790_CLK_Z>; 54 54 clock-latency = <300000>; /* 300 us */ 55 + next-level-cache = <&L2_CA15>; 55 56 56 57 /* kHz - uV - OPPs unknown yet */ 57 58 operating-points = <1400000 1000000>, ··· 68 67 compatible = "arm,cortex-a15"; 69 68 reg = <1>; 70 69 clock-frequency = <1300000000>; 70 + next-level-cache = <&L2_CA15>; 71 71 }; 72 72 73 73 cpu2: cpu@2 { ··· 76 74 compatible = "arm,cortex-a15"; 77 75 reg = <2>; 78 76 clock-frequency = <1300000000>; 77 + next-level-cache = <&L2_CA15>; 79 78 }; 80 79 81 80 cpu3: cpu@3 { ··· 84 81 compatible = "arm,cortex-a15"; 85 82 reg = <3>; 86 83 clock-frequency = <1300000000>; 84 + next-level-cache = <&L2_CA15>; 87 85 }; 88 86 89 87 cpu4: cpu@4 { ··· 92 88 compatible = "arm,cortex-a7"; 93 89 reg = <0x100>; 94 90 clock-frequency = <780000000>; 91 + next-level-cache = <&L2_CA7>; 95 92 }; 96 93 97 94 cpu5: cpu@5 { ··· 100 95 compatible = "arm,cortex-a7"; 101 96 reg = <0x101>; 102 97 clock-frequency = <780000000>; 98 + next-level-cache = <&L2_CA7>; 103 99 }; 104 100 105 101 cpu6: cpu@6 { ··· 108 102 compatible = "arm,cortex-a7"; 109 103 reg = <0x102>; 110 104 clock-frequency = <780000000>; 105 + next-level-cache = <&L2_CA7>; 111 106 }; 112 107 113 108 cpu7: cpu@7 { ··· 116 109 compatible = "arm,cortex-a7"; 117 110 reg = <0x103>; 118 111 clock-frequency = <780000000>; 112 + next-level-cache = <&L2_CA7>; 119 113 }; 120 114 }; 121 115 ··· 137 129 cooling-maps { 138 130 }; 139 131 }; 132 + }; 133 + 134 + L2_CA15: cache-controller@0 { 135 + compatible = "cache"; 136 + cache-unified; 137 + cache-level = <2>; 138 + }; 139 + 140 + L2_CA7: cache-controller@1 { 141 + compatible = "cache"; 142 + cache-unified; 143 + cache-level = <2>; 140 144 }; 141 145 142 146 gic: interrupt-controller@f1001000 {