Skip to content

Commit

Permalink
ARM: bcm: Switch board, clk and pinctrl to bcm2711 compatible
Browse files Browse the repository at this point in the history
After the decision to use bcm2711 compatible for upstream, we should
switch all accepted compatibles to bcm2711. So we can boot with
one DTB the down- and the upstream kernel.

Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
  • Loading branch information
lategoodbye committed Sep 19, 2019
1 parent 2133e20 commit 43289c4
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/bcm2711-rpi-4-b.dts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include "bcm283x-rpi-csi1-2lane.dtsi"

/ {
compatible = "raspberrypi,4-model-b", "brcm,bcm2838";
compatible = "raspberrypi,4-model-b", "brcm,bcm2711";
model = "Raspberry Pi 4 Model B";

memory {
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/dts/bcm2838-rpi-4-b.dts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include "bcm2838-rpi.dtsi"

/ {
compatible = "raspberrypi,4-model-b", "brcm,bcm2838";
compatible = "raspberrypi,4-model-b", "brcm,bcm2711";
model = "Raspberry Pi 4 Model B";

chosen {
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/boot/dts/bcm2838.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@
};

&clocks {
compatible = "brcm,bcm2838-cprman";
compatible = "brcm,bcm2711-cprman";
};

&cpu_thermal {
Expand All @@ -456,7 +456,7 @@
};

&gpio {
compatible = "brcm,bcm2838-gpio", "brcm,bcm2835-gpio";
compatible = "brcm,bcm2711-gpio", "brcm,bcm2835-gpio";

gpclk0_gpio49: gpclk0_gpio49 {
brcm,pins = <49>;
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-bcm/board_bcm2835.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ static const char * const bcm2835_compat[] = {
#ifdef CONFIG_ARCH_MULTI_V7
"brcm,bcm2836",
"brcm,bcm2837",
"brcm,bcm2838",
"brcm,bcm2711",
#endif
NULL
};
Expand Down

0 comments on commit 43289c4

Please sign in to comment.