[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:
parent
af4da58655
commit
adcd95974d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=335611
@ -127,6 +127,7 @@ static struct ofw_compat_data compat_data[] = {
|
|||||||
{ "broadcom,bcm2708-vc", 1 },
|
{ "broadcom,bcm2708-vc", 1 },
|
||||||
{ "brcm,bcm2709", 1 },
|
{ "brcm,bcm2709", 1 },
|
||||||
{ "brcm,bcm2836", 1 },
|
{ "brcm,bcm2836", 1 },
|
||||||
|
{ "brcm,bcm2837", 1 },
|
||||||
{ NULL, 0 }
|
{ NULL, 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -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_legacy, "bcm2836 (legacy)", 0, "brcm,bcm2709", 100);
|
||||||
FDT_PLATFORM_DEF2(bcm2836, bcm2836, "bcm2836", 0, "brcm,bcm2836", 100);
|
FDT_PLATFORM_DEF2(bcm2836, bcm2836, "bcm2836", 0, "brcm,bcm2836", 100);
|
||||||
|
FDT_PLATFORM_DEF2(bcm2836, bcm2837, "bcm2837", 0, "brcm,bcm2837", 100);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user