bcm53xx: backport the latest upstream DT changes
[openwrt/staging/hauke.git] / target / linux / bcm53xx / patches-5.10 / 033-v5.15-0012-ARM-dts-BCM5301X-Fix-memory-nodes-names.patch
1 From def3d0357e0539e6f6b82f079ff156def6ec2107 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
3 Date: Thu, 19 Aug 2021 08:57:02 +0200
4 Subject: [PATCH] ARM: dts: BCM5301X: Fix memory nodes names
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 Thix fixes:
10 arch/arm/boot/dts/bcm4708-netgear-r6250.dt.yaml: /: memory: False schema does not allow {'device_type': ['memory'], 'reg': [[0, 134217728], [2281701376, 134217728]]}
11 arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dt.yaml: /: memory: False schema does not allow {'device_type': ['memory'], 'reg': [[0, 134217728], [2281701376, 134217728]]}
12 arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dt.yaml: /: memory: False schema does not allow {'device_type': ['memory'], 'reg': [[0, 134217728], [2281701376, 402653184]]}
13 arch/arm/boot/dts/bcm4709-linksys-ea9200.dt.yaml: /: memory: False schema does not allow {'device_type': ['memory'], 'reg': [[0, 134217728], [2281701376, 134217728]]}
14 arch/arm/boot/dts/bcm4709-netgear-r7000.dt.yaml: /: memory: False schema does not allow {'device_type': ['memory'], 'reg': [[0, 134217728], [2281701376, 134217728]]}
15 arch/arm/boot/dts/bcm4709-netgear-r8000.dt.yaml: /: memory: False schema does not allow {'device_type': ['memory'], 'reg': [[0, 134217728], [2281701376, 134217728]]}
16 arch/arm/boot/dts/bcm4709-tplink-archer-c9-v1.dt.yaml: /: memory: False schema does not allow {'device_type': ['memory'], 'reg': [[0, 134217728]]}
17 arch/arm/boot/dts/bcm47094-luxul-xwc-2000.dt.yaml: /: memory: False schema does not allow {'device_type': ['memory'], 'reg': [[0, 134217728], [2281701376, 402653184]]}
18 arch/arm/boot/dts/bcm53016-meraki-mr32.dt.yaml: /: memory: False schema does not allow {'reg': [[0, 134217728]], 'device_type': ['memory']}
19 arch/arm/boot/dts/bcm94708.dt.yaml: /: memory: False schema does not allow {'device_type': ['memory'], 'reg': [[0, 134217728]]}
20 arch/arm/boot/dts/bcm94709.dt.yaml: /: memory: False schema does not allow {'device_type': ['memory'], 'reg': [[0, 134217728]]}
21
22 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
23 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
24 ---
25 arch/arm/boot/dts/bcm4708-netgear-r6250.dts | 2 +-
26 arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts | 2 +-
27 arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts | 2 +-
28 arch/arm/boot/dts/bcm4709-linksys-ea9200.dts | 2 +-
29 arch/arm/boot/dts/bcm4709-netgear-r7000.dts | 2 +-
30 arch/arm/boot/dts/bcm4709-netgear-r8000.dts | 2 +-
31 arch/arm/boot/dts/bcm4709-tplink-archer-c9-v1.dts | 2 +-
32 arch/arm/boot/dts/bcm47094-luxul-xwc-2000.dts | 2 +-
33 arch/arm/boot/dts/bcm53016-meraki-mr32.dts | 2 +-
34 arch/arm/boot/dts/bcm94708.dts | 2 +-
35 arch/arm/boot/dts/bcm94709.dts | 2 +-
36 11 files changed, 11 insertions(+), 11 deletions(-)
37
38 --- a/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
39 +++ b/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
40 @@ -20,7 +20,7 @@
41 bootargs = "console=ttyS0,115200 earlycon";
42 };
43
44 - memory {
45 + memory@0 {
46 device_type = "memory";
47 reg = <0x00000000 0x08000000>,
48 <0x88000000 0x08000000>;
49 --- a/arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts
50 +++ b/arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts
51 @@ -19,7 +19,7 @@
52 bootargs = "console=ttyS0,115200";
53 };
54
55 - memory {
56 + memory@0 {
57 device_type = "memory";
58 reg = <0x00000000 0x08000000>,
59 <0x88000000 0x08000000>;
60 --- a/arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts
61 +++ b/arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts
62 @@ -19,7 +19,7 @@
63 bootargs = "console=ttyS0,115200";
64 };
65
66 - memory {
67 + memory@0 {
68 device_type = "memory";
69 reg = <0x00000000 0x08000000>,
70 <0x88000000 0x18000000>;
71 --- a/arch/arm/boot/dts/bcm4709-linksys-ea9200.dts
72 +++ b/arch/arm/boot/dts/bcm4709-linksys-ea9200.dts
73 @@ -16,7 +16,7 @@
74 bootargs = "console=ttyS0,115200";
75 };
76
77 - memory {
78 + memory@0 {
79 device_type = "memory";
80 reg = <0x00000000 0x08000000>,
81 <0x88000000 0x08000000>;
82 --- a/arch/arm/boot/dts/bcm4709-netgear-r7000.dts
83 +++ b/arch/arm/boot/dts/bcm4709-netgear-r7000.dts
84 @@ -19,7 +19,7 @@
85 bootargs = "console=ttyS0,115200";
86 };
87
88 - memory {
89 + memory@0 {
90 device_type = "memory";
91 reg = <0x00000000 0x08000000>,
92 <0x88000000 0x08000000>;
93 --- a/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
94 +++ b/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
95 @@ -30,7 +30,7 @@
96 bootargs = "console=ttyS0,115200";
97 };
98
99 - memory {
100 + memory@0 {
101 device_type = "memory";
102 reg = <0x00000000 0x08000000>,
103 <0x88000000 0x08000000>;
104 --- a/arch/arm/boot/dts/bcm4709-tplink-archer-c9-v1.dts
105 +++ b/arch/arm/boot/dts/bcm4709-tplink-archer-c9-v1.dts
106 @@ -15,7 +15,7 @@
107 bootargs = "console=ttyS0,115200 earlycon";
108 };
109
110 - memory {
111 + memory@0 {
112 device_type = "memory";
113 reg = <0x00000000 0x08000000>;
114 };
115 --- a/arch/arm/boot/dts/bcm47094-luxul-xwc-2000.dts
116 +++ b/arch/arm/boot/dts/bcm47094-luxul-xwc-2000.dts
117 @@ -16,7 +16,7 @@
118 bootargs = "earlycon";
119 };
120
121 - memory {
122 + memory@0 {
123 device_type = "memory";
124 reg = <0x00000000 0x08000000>,
125 <0x88000000 0x18000000>;
126 --- a/arch/arm/boot/dts/bcm53016-meraki-mr32.dts
127 +++ b/arch/arm/boot/dts/bcm53016-meraki-mr32.dts
128 @@ -20,7 +20,7 @@
129 bootargs = " console=ttyS0,115200n8 earlycon";
130 };
131
132 - memory {
133 + memory@0 {
134 reg = <0x00000000 0x08000000>;
135 device_type = "memory";
136 };
137 --- a/arch/arm/boot/dts/bcm94708.dts
138 +++ b/arch/arm/boot/dts/bcm94708.dts
139 @@ -38,7 +38,7 @@
140 model = "NorthStar SVK (BCM94708)";
141 compatible = "brcm,bcm94708", "brcm,bcm4708";
142
143 - memory {
144 + memory@0 {
145 device_type = "memory";
146 reg = <0x00000000 0x08000000>;
147 };
148 --- a/arch/arm/boot/dts/bcm94709.dts
149 +++ b/arch/arm/boot/dts/bcm94709.dts
150 @@ -38,7 +38,7 @@
151 model = "NorthStar SVK (BCM94709)";
152 compatible = "brcm,bcm94709", "brcm,bcm4709", "brcm,bcm4708";
153
154 - memory {
155 + memory@0 {
156 device_type = "memory";
157 reg = <0x00000000 0x08000000>;
158 };