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

ARM: meson: DTS: enable L2 cache

This enables the L2 cache controller available in Amlogic SoCs.

Signed-off-by: Beniamino Galvani <b.galvani@gmail.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Carlo Caione <carlo@caione.org>

authored by

Beniamino Galvani and committed by
Carlo Caione
550ab390 aeff05a3

+13
+7
arch/arm/boot/dts/meson.dtsi
··· 50 50 / { 51 51 interrupt-parent = <&gic>; 52 52 53 + L2: l2-cache-controller@c4200000 { 54 + compatible = "arm,pl310-cache"; 55 + reg = <0xc4200000 0x1000>; 56 + cache-unified; 57 + cache-level = <2>; 58 + }; 59 + 53 60 gic: interrupt-controller@c4301000 { 54 61 compatible = "arm,cortex-a9-gic"; 55 62 reg = <0xc4301000 0x1000>,
+2
arch/arm/boot/dts/meson6.dtsi
··· 60 60 cpu@200 { 61 61 device_type = "cpu"; 62 62 compatible = "arm,cortex-a9"; 63 + next-level-cache = <&L2>; 63 64 reg = <0x200>; 64 65 }; 65 66 66 67 cpu@201 { 67 68 device_type = "cpu"; 68 69 compatible = "arm,cortex-a9"; 70 + next-level-cache = <&L2>; 69 71 reg = <0x201>; 70 72 }; 71 73 };
+4
arch/arm/boot/dts/meson8.dtsi
··· 58 58 cpu@200 { 59 59 device_type = "cpu"; 60 60 compatible = "arm,cortex-a9"; 61 + next-level-cache = <&L2>; 61 62 reg = <0x200>; 62 63 }; 63 64 64 65 cpu@201 { 65 66 device_type = "cpu"; 66 67 compatible = "arm,cortex-a9"; 68 + next-level-cache = <&L2>; 67 69 reg = <0x201>; 68 70 }; 69 71 70 72 cpu@202 { 71 73 device_type = "cpu"; 72 74 compatible = "arm,cortex-a9"; 75 + next-level-cache = <&L2>; 73 76 reg = <0x202>; 74 77 }; 75 78 76 79 cpu@203 { 77 80 device_type = "cpu"; 78 81 compatible = "arm,cortex-a9"; 82 + next-level-cache = <&L2>; 79 83 reg = <0x203>; 80 84 }; 81 85 };