@@ -71,11 +71,16 @@ cpu_l0: cpu@0 {
compatible = "arm,cortex-a53";
reg = <0x0 0x0>;
enable-method = "psci";
+ next-level-cache = <&l2_0>;
capacity-dmips-mhz = <485>;
clocks = <&cru ARMCLKL>;
#cooling-cells = <2>; /* min followed by max */
dynamic-power-coefficient = <100>;
cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>;
+
+ l2_0: l2-cache {
+ compatible = "cache,arm,arch-cache";
+ };
};
cpu_l1: cpu@1 {
@@ -83,6 +88,7 @@ cpu_l1: cpu@1 {
compatible = "arm,cortex-a53";
reg = <0x0 0x1>;
enable-method = "psci";
+ next-level-cache = <&l2_0>;
capacity-dmips-mhz = <485>;
clocks = <&cru ARMCLKL>;
#cooling-cells = <2>; /* min followed by max */
@@ -95,6 +101,7 @@ cpu_l2: cpu@2 {
compatible = "arm,cortex-a53";
reg = <0x0 0x2>;
enable-method = "psci";
+ next-level-cache = <&l2_0>;
capacity-dmips-mhz = <485>;
clocks = <&cru ARMCLKL>;
#cooling-cells = <2>; /* min followed by max */
@@ -107,6 +114,7 @@ cpu_l3: cpu@3 {
compatible = "arm,cortex-a53";
reg = <0x0 0x3>;
enable-method = "psci";
+ next-level-cache = <&l2_0>;
capacity-dmips-mhz = <485>;
clocks = <&cru ARMCLKL>;
#cooling-cells = <2>; /* min followed by max */
@@ -119,6 +127,7 @@ cpu_b0: cpu@100 {
compatible = "arm,cortex-a72";
reg = <0x0 0x100>;
enable-method = "psci";
+ next-level-cache = <&l2_1>;
capacity-dmips-mhz = <1024>;
clocks = <&cru ARMCLKB>;
#cooling-cells = <2>; /* min followed by max */
@@ -130,6 +139,9 @@ thermal-idle {
duration-us = <10000>;
exit-latency-us = <500>;
};
+ l2_1: l2-cache {
+ compatible = "cache,arm,arch-cache";
+ };
};
cpu_b1: cpu@101 {
@@ -137,6 +149,7 @@ cpu_b1: cpu@101 {
compatible = "arm,cortex-a72";
reg = <0x0 0x101>;
enable-method = "psci";
+ next-level-cache = <&l2_1>;
capacity-dmips-mhz = <1024>;
clocks = <&cru ARMCLKB>;
#cooling-cells = <2>; /* min followed by max */
Signed-off-by: Vincent Belpois <vincent.belpois@gmail.com> --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 13 +++++++++++++ 1 file changed, 13 insertions(+)