Skip to content

Commit f5faa74

Browse files
committed
ARM: dts: Update rpi-400 and cm4 dts to match 4-b
The Pi 4B dts file has had numerous updates since the Pi 400 and CM4 dts files were written. Apply those updates to the other files to minimise the differences. The change is largely cosmetic, except for the PCI "device-type" to "device_type" rename, and the correction of the labels on the Pi 400 GPIO expander pins. Also set the wifi-2.4ghz-coexistence property on RPi 4 B, which appears to have been missed. Signed-off-by: Phil Elwell <[email protected]>
1 parent 7f035a5 commit f5faa74

File tree

3 files changed

+12
-8
lines changed

3 files changed

+12
-8
lines changed

arch/arm/boot/dts/bcm2711-rpi-4-b.dts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,12 +181,14 @@
181181
&hdmi0 {
182182
clocks = <&firmware_clocks 13>, <&firmware_clocks 14>, <&dvp 0>, <&clk_27MHz>;
183183
clock-names = "hdmi", "bvb", "audio", "cec";
184+
wifi-2.4ghz-coexistence;
184185
status = "okay";
185186
};
186187

187188
&hdmi1 {
188189
clocks = <&firmware_clocks 13>, <&firmware_clocks 14>, <&dvp 1>, <&clk_27MHz>;
189190
clock-names = "hdmi", "bvb", "audio", "cec";
191+
wifi-2.4ghz-coexistence;
190192
status = "okay";
191193
};
192194

arch/arm/boot/dts/bcm2711-rpi-400.dts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@
9393
"PWR_LED_OFF",
9494
"GLOBAL_RESET",
9595
"VDD_SD_IO_SEL",
96-
"CAM_GPIO",
96+
"GLOBAL_SHUTDOWN",
9797
"SD_PWR_ON",
98-
"SD_OC_N";
98+
"SHUTDOWN_REQUEST";
9999
status = "okay";
100100
};
101101

@@ -273,15 +273,16 @@
273273
};
274274

275275
&pcie0 {
276-
pci@1,0 {
276+
pci@0,0 {
277+
device_type = "pci";
277278
#address-cells = <3>;
278279
#size-cells = <2>;
279280
ranges;
280281

281282
reg = <0 0 0 0 0>;
282283

283-
usb@1,0 {
284-
reg = <0x10000 0 0 0 0>;
284+
usb@0,0 {
285+
reg = <0 0 0 0 0>;
285286
resets = <&reset RASPBERRYPI_FIRMWARE_RESET_ID_USB>;
286287
};
287288
};

arch/arm/boot/dts/bcm2711-rpi-cm4.dts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -286,15 +286,16 @@
286286
};
287287

288288
&pcie0 {
289-
pci@1,0 {
289+
pci@0,0 {
290+
device_type = "pci";
290291
#address-cells = <3>;
291292
#size-cells = <2>;
292293
ranges;
293294

294295
reg = <0 0 0 0 0>;
295296

296-
usb@1,0 {
297-
reg = <0x10000 0 0 0 0>;
297+
usb@0,0 {
298+
reg = <0 0 0 0 0>;
298299
resets = <&reset RASPBERRYPI_FIRMWARE_RESET_ID_USB>;
299300
};
300301
};

0 commit comments

Comments
 (0)