1 From e567e58d6819adc002c57b81e16b88da24d3b4aa Mon Sep 17 00:00:00 2001
2 From: Pierre Gondois <pierre.gondois@arm.com>
3 Date: Tue, 22 Nov 2022 17:32:07 +0100
4 Subject: [PATCH] arm64: dts: Update cache properties for broadcom
6 The DeviceTree Specification v0.3 specifies that the cache node
7 'compatible' and 'cache-level' properties are 'required'. Cf.
8 s3.8 Multi-level and Shared Cache Nodes
9 The 'cache-unified' property should be present if one of the
10 properties for unified cache is present ('cache-size', ...).
12 Update the Device Trees accordingly.
14 Acked-by: William Zhang <william.zhang@broadcom.com>
15 Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
16 Link: https://lore.kernel.org/r/20221122163208.3810985-3-pierre.gondois@arm.com
17 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
19 arch/arm64/boot/dts/broadcom/bcmbca/bcm4908.dtsi | 1 +
20 arch/arm64/boot/dts/broadcom/bcmbca/bcm4912.dtsi | 1 +
21 arch/arm64/boot/dts/broadcom/bcmbca/bcm63146.dtsi | 1 +
22 arch/arm64/boot/dts/broadcom/bcmbca/bcm63158.dtsi | 1 +
23 arch/arm64/boot/dts/broadcom/bcmbca/bcm6813.dtsi | 1 +
24 arch/arm64/boot/dts/broadcom/bcmbca/bcm6856.dtsi | 1 +
25 arch/arm64/boot/dts/broadcom/bcmbca/bcm6858.dtsi | 1 +
26 arch/arm64/boot/dts/broadcom/northstar2/ns2.dtsi | 1 +
27 arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi | 4 ++++
28 9 files changed, 12 insertions(+)
30 --- a/arch/arm64/boot/dts/broadcom/bcmbca/bcm4908.dtsi
31 +++ b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4908.dtsi
40 --- a/arch/arm64/boot/dts/broadcom/bcmbca/bcm4912.dtsi
41 +++ b/arch/arm64/boot/dts/broadcom/bcmbca/bcm4912.dtsi
50 --- a/arch/arm64/boot/dts/broadcom/bcmbca/bcm63146.dtsi
51 +++ b/arch/arm64/boot/dts/broadcom/bcmbca/bcm63146.dtsi
60 --- a/arch/arm64/boot/dts/broadcom/bcmbca/bcm63158.dtsi
61 +++ b/arch/arm64/boot/dts/broadcom/bcmbca/bcm63158.dtsi
70 --- a/arch/arm64/boot/dts/broadcom/bcmbca/bcm6813.dtsi
71 +++ b/arch/arm64/boot/dts/broadcom/bcmbca/bcm6813.dtsi
80 --- a/arch/arm64/boot/dts/broadcom/bcmbca/bcm6856.dtsi
81 +++ b/arch/arm64/boot/dts/broadcom/bcmbca/bcm6856.dtsi
90 --- a/arch/arm64/boot/dts/broadcom/bcmbca/bcm6858.dtsi
91 +++ b/arch/arm64/boot/dts/broadcom/bcmbca/bcm6858.dtsi
100 --- a/arch/arm64/boot/dts/broadcom/northstar2/ns2.dtsi
101 +++ b/arch/arm64/boot/dts/broadcom/northstar2/ns2.dtsi
104 CLUSTER0_L2: l2-cache@0 {
105 compatible = "cache";
110 --- a/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi
111 +++ b/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi
112 @@ -108,18 +108,22 @@
114 CLUSTER0_L2: l2-cache@0 {
115 compatible = "cache";
119 CLUSTER1_L2: l2-cache@100 {
120 compatible = "cache";
124 CLUSTER2_L2: l2-cache@200 {
125 compatible = "cache";
129 CLUSTER3_L2: l2-cache@300 {
130 compatible = "cache";