[rpi] Fix compatiblity with upstream DTB for RPi 3B and 3B+

Upstream dtb switched to using brcm,bcm2837 for platform
compatibility string. Patch platfrom and cpufreq compatiblity
data accordingly.

Submitted by:	Sylvain Garrigues <sylgar@gmail.com>
Tested by:	db@
Differential Revision:	https://reviews.freebsd.org/D15998
This commit is contained in:
Oleksandr Tymoshenko 2018-06-24 23:19:31 +00:00
parent af4da58655
commit adcd95974d
2 changed files with 2 additions and 0 deletions

View File

@ -127,6 +127,7 @@ static struct ofw_compat_data compat_data[] = {
{ "broadcom,bcm2708-vc", 1 },
{ "brcm,bcm2709", 1 },
{ "brcm,bcm2836", 1 },
{ "brcm,bcm2837", 1 },
{ NULL, 0 }
};

View File

@ -154,4 +154,5 @@ static platform_method_t bcm2836_methods[] = {
};
FDT_PLATFORM_DEF2(bcm2836, bcm2836_legacy, "bcm2836 (legacy)", 0, "brcm,bcm2709", 100);
FDT_PLATFORM_DEF2(bcm2836, bcm2836, "bcm2836", 0, "brcm,bcm2836", 100);
FDT_PLATFORM_DEF2(bcm2836, bcm2837, "bcm2837", 0, "brcm,bcm2837", 100);
#endif