Skip to contentSkip to conversation

ARM: dts: BCM63xx: fix L2 cache properties

PATCH New Florian Fainelli 1 participant 1 message Feb 11, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: BCM63xx: fix L2 cache properties

The L2 cache properties were completely off with respect to what the hardware is configured for. Fix the cache-size, cache-line-size and cache-sets to reflect the L2 cache controller we have: 512KB, 16 ways and 32 bytes per cache-line.

Fixes 46d4bca0445a0 ("ARM: BCM63XX: add BCM63138 minimal Device Tree")
---
 arch/arm/boot/dts/bcm63138.dtsi | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
arch/arm/boot/dts/bcm63138.dtsi +3 -2
index d2d8e94e0aa2..f46329c8ad75 100644
@@ -66,8 +66,9 @@
 			reg = <0x1d000 0x1000>;
 			cache-unified;
 			cache-level = <2>;
-			cache-sets = <16>;
-			cache-size = <0x80000>;
+			cache-size = <524288>;
+			cache-sets = <1024>;
+			cache-line-size = <32>;
 			interrupts = <GIC_PPI 0 IRQ_TYPE_LEVEL_HIGH>;
 		};
 
Signature · 1 line
2.1.0