rtc: pcf8563: add haoyu,hym8563 compatible
The HYM8563 is a PCF8563 clone with an identical timekeeping register layout and is found e.g. on the Radxa ROCK 5B. Match its compatible so DM_RTC (and with it the EFI GetTime/SetTime runtime services) can use the existing driver with upstream DT. Signed-off-by: Daniel Golle <daniel@makrotopia.org> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -213,6 +213,7 @@ static const struct rtc_ops pcf8563_rtc_ops = {
|
||||
|
||||
static const struct udevice_id pcf8563_rtc_ids[] = {
|
||||
{ .compatible = "nxp,pcf8563" },
|
||||
{ .compatible = "haoyu,hym8563" },
|
||||
{ }
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user