diff --git a/arch/arm/mach-bcm/board_bcm2835.c b/arch/arm/mach-bcm/board_bcm2835.c index e538e0f899a587..0ec49d8571340c 100644 --- a/arch/arm/mach-bcm/board_bcm2835.c +++ b/arch/arm/mach-bcm/board_bcm2835.c @@ -110,6 +110,8 @@ static const char * const bcm2835_compat[] = { "brcm,bcm2836", "brcm,bcm2837", "brcm,bcm2711", + // Temporary, for backwards-compatibility with old DTBs + "brcm,bcm2838", #endif NULL }; diff --git a/drivers/clk/bcm/clk-bcm2835.c b/drivers/clk/bcm/clk-bcm2835.c index f99edc1bb0d3d0..7a15ed1511edda 100644 --- a/drivers/clk/bcm/clk-bcm2835.c +++ b/drivers/clk/bcm/clk-bcm2835.c @@ -2372,6 +2372,8 @@ static const struct cprman_plat_data cprman_bcm2711_plat_data = { static const struct of_device_id bcm2835_clk_of_match[] = { { .compatible = "brcm,bcm2835-cprman", .data = &cprman_bcm2835_plat_data }, { .compatible = "brcm,bcm2711-cprman", .data = &cprman_bcm2711_plat_data }, + // Temporary, for backwards-compatibility with old DTBs + { .compatible = "brcm,bcm2838-cprman", .data = &cprman_bcm2711_plat_data }, {} }; MODULE_DEVICE_TABLE(of, bcm2835_clk_of_match); diff --git a/drivers/pinctrl/bcm/pinctrl-bcm2835.c b/drivers/pinctrl/bcm/pinctrl-bcm2835.c index 3cd4c4f1a47c23..e77c3ea15fdeaf 100644 --- a/drivers/pinctrl/bcm/pinctrl-bcm2835.c +++ b/drivers/pinctrl/bcm/pinctrl-bcm2835.c @@ -1078,6 +1078,11 @@ static const struct of_device_id bcm2835_pinctrl_match[] = { .compatible = "brcm,bcm2711-gpio", .data = &bcm2711_pinconf_ops, }, + // Temporary, for backwards-compatibility with old DTBs + { + .compatible = "brcm,bcm2838-gpio", + .data = &bcm2711_pinconf_ops, + }, {} };