Skip to content

Commit

Permalink
dts: Move some common rpi settings into rpi files
Browse files Browse the repository at this point in the history
Most 2711 devices and all 2712 device share common bootargs (command
lines). Make the common values shared defaults, overriding them were
necessary.

Signed-off-by: Phil Elwell <[email protected]>
  • Loading branch information
pelwell authored and popcornmix committed Sep 2, 2024
1 parent 630bf6e commit 933b9fc
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 18 deletions.
4 changes: 0 additions & 4 deletions arch/arm/boot/dts/broadcom/bcm2711-rpi-4-b.dts
Original file line number Diff line number Diff line change
Expand Up @@ -265,10 +265,6 @@
#include "bcm283x-rpi-i2c0mux_0_44.dtsi"

/ {
chosen {
bootargs = "coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_headphones=0";
};

/delete-node/ wifi-pwrseq;
};

Expand Down
4 changes: 0 additions & 4 deletions arch/arm/boot/dts/broadcom/bcm2711-rpi-cm4.dts
Original file line number Diff line number Diff line change
Expand Up @@ -274,10 +274,6 @@
#include "bcm283x-rpi-i2c0mux_0_44.dtsi"

/ {
chosen {
bootargs = "coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_headphones=0";
};

/delete-node/ wifi-pwrseq;
};

Expand Down
1 change: 1 addition & 0 deletions arch/arm/boot/dts/broadcom/bcm2711-rpi-ds.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

/ {
chosen: chosen {
bootargs = "coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_headphones=0";
};

__overrides__ {
Expand Down
5 changes: 0 additions & 5 deletions arch/arm64/boot/dts/broadcom/bcm2712-rpi-5-b.dts
Original file line number Diff line number Diff line change
Expand Up @@ -430,11 +430,6 @@ dpi_16bit_gpio2: &rp1_dpi_16bit_gpio2 { };
};

/ {
chosen: chosen {
bootargs = "reboot=w coherent_pool=1M 8250.nr_uarts=1 pci=pcie_bus_safe";
stdout-path = "serial10:115200n8";
};

fan: cooling_fan {
status = "disabled";
compatible = "pwm-fan";
Expand Down
5 changes: 0 additions & 5 deletions arch/arm64/boot/dts/broadcom/bcm2712-rpi-cm5.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -420,11 +420,6 @@ dpi_16bit_gpio2: &rp1_dpi_16bit_gpio2 { };
};

/ {
chosen: chosen {
bootargs = "reboot=w coherent_pool=1M 8250.nr_uarts=1 pci=pcie_bus_safe";
stdout-path = "serial10:115200n8";
};

fan: cooling_fan {
status = "disabled";
compatible = "pwm-fan";
Expand Down
5 changes: 5 additions & 0 deletions arch/arm64/boot/dts/broadcom/bcm2712-rpi.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,11 @@
};

/ {
chosen: chosen {
bootargs = "reboot=w coherent_pool=1M 8250.nr_uarts=1 pci=pcie_bus_safe";
stdout-path = "serial10:115200n8";
};

aliases: aliases {
blconfig = &blconfig;
blpubkey = &blpubkey;
Expand Down

0 comments on commit 933b9fc

Please sign in to comment.