ARM: meson: DTS: enable L2 cache
authorBeniamino Galvani <b.galvani@gmail.com>
Tue, 18 Nov 2014 14:30:35 +0000 (15:30 +0100)
committerCarlo Caione <carlo@caione.org>
Tue, 18 Nov 2014 15:36:14 +0000 (16:36 +0100)
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>
arch/arm/boot/dts/meson.dtsi
arch/arm/boot/dts/meson6.dtsi
arch/arm/boot/dts/meson8.dtsi

index e6539ea5a711a788bedf28c128ada89b0185e1ed..862aae4a3285d7310ab77b4911dcbb031d4a8c3c 100644 (file)
 / {
        interrupt-parent = <&gic>;
 
+       L2: l2-cache-controller@c4200000 {
+               compatible = "arm,pl310-cache";
+               reg = <0xc4200000 0x1000>;
+               cache-unified;
+               cache-level = <2>;
+       };
+
        gic: interrupt-controller@c4301000 {
                compatible = "arm,cortex-a9-gic";
                reg = <0xc4301000 0x1000>,
index 4ba49127779f04fe5147f0420560a74ebece70a2..8b33be15af943c81cad3dfd588077503da22c61f 100644 (file)
                cpu@200 {
                        device_type = "cpu";
                        compatible = "arm,cortex-a9";
+                       next-level-cache = <&L2>;
                        reg = <0x200>;
                };
 
                cpu@201 {
                        device_type = "cpu";
                        compatible = "arm,cortex-a9";
+                       next-level-cache = <&L2>;
                        reg = <0x201>;
                };
        };
index 42e4026c7ac1e4fe8b4a42330a09789396db2649..1f442a7fe03b758905205630ce3409105a88625a 100644 (file)
                cpu@200 {
                        device_type = "cpu";
                        compatible = "arm,cortex-a9";
+                       next-level-cache = <&L2>;
                        reg = <0x200>;
                };
 
                cpu@201 {
                        device_type = "cpu";
                        compatible = "arm,cortex-a9";
+                       next-level-cache = <&L2>;
                        reg = <0x201>;
                };
 
                cpu@202 {
                        device_type = "cpu";
                        compatible = "arm,cortex-a9";
+                       next-level-cache = <&L2>;
                        reg = <0x202>;
                };
 
                cpu@203 {
                        device_type = "cpu";
                        compatible = "arm,cortex-a9";
+                       next-level-cache = <&L2>;
                        reg = <0x203>;
                };
        };
This page took 0.034828 seconds and 5 git commands to generate.