arm64: allwinner: Add compatible strings for clock devices used on both Allwinner H3 and H5
Allwinner H3 and H5 share many internal components, that's why they can use the same drivers. This patch adds the compatible strings to enable clock drivers probing on Allwinner NanoPI NEO2 device. Tested on: NanoPi NEO2 (by submitter), OrangePi PC2 (by manu) Submitted by: Manuel Stühn (freebsdnewbie@freenet.de) MFC after: 2 months Differential Revision: https://reviews.freebsd.org/D20069
This commit is contained in:
parent
d436501dd4
commit
064a3f8cee
@ -137,6 +137,7 @@ static struct ofw_compat_data compat_data[] = {
|
||||
{ "allwinner,sun7i-a20-rtc", (uintptr_t) &a20_conf },
|
||||
{ "allwinner,sun6i-a31-rtc", (uintptr_t) &a31_conf },
|
||||
{ "allwinner,sun8i-h3-rtc", (uintptr_t) &h3_conf },
|
||||
{ "allwinner,sun50i-h5-rtc", (uintptr_t) &h3_conf },
|
||||
{ NULL, 0 }
|
||||
};
|
||||
|
||||
|
@ -53,6 +53,7 @@ static struct ofw_compat_data compat_data[] = {
|
||||
{"allwinner,sun8i-a83t-system-controller", 1},
|
||||
{"allwinner,sun8i-h3-system-controller", 1},
|
||||
{"allwinner,sun8i-h3-system-control", 1},
|
||||
{"allwinner,sun50i-h5-system-control", 1},
|
||||
{NULL, 0}
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user