Note that arm,pl301-no-sideband is required because the sideband signals
between the CPU and L2C were not connected in this SoC.

Signed-off-by: Chris Brandt <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
---
v2:
* added "arm,pl310-no-sideband"
---
 arch/arm/boot/dts/r7s72100.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm/boot/dts/r7s72100.dtsi b/arch/arm/boot/dts/r7s72100.dtsi
index 74e684f..00b9972 100644
--- a/arch/arm/boot/dts/r7s72100.dtsi
+++ b/arch/arm/boot/dts/r7s72100.dtsi
@@ -177,6 +177,7 @@
                        compatible = "arm,cortex-a9";
                        reg = <0>;
                        clock-frequency = <400000000>;
+                       next-level-cache = <&L2>;
                };
        };
 
@@ -368,6 +369,15 @@
                        <0xe8202000 0x1000>;
        };
 
+       L2: cache-controller@3ffff000 {
+               compatible = "arm,pl310-cache";
+               reg = <0x3ffff000 0x1000>;
+               interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
+               arm,pl310-no-sideband;
+               cache-unified;
+               cache-level = <2>;
+       };
+
        i2c0: i2c@fcfee000 {
                #address-cells = <1>;
                #size-cells = <0>;
-- 
2.10.1


Reply via email to