-/* $OpenBSD: ds1307.c,v 1.6 2022/10/15 18:22:53 kettenis Exp $ */
+/* $OpenBSD: ds1307.c,v 1.7 2022/10/18 16:07:59 mglocker Exp $ */
/*
* Copyright (c) 2016 Marcus Glocker <mglocker@openbsd.org>
struct i2c_attach_args *ia = arg;
if (strcmp(ia->ia_name, "dallas,ds1307") == 0 ||
- strcmp(ia->ia_name, "ds1307") == 0)
+ strcmp(ia->ia_name, "ds1307") == 0 ||
+ strcmp(ia->ia_name, "dallas,ds1339") == 0 ||
+ strcmp(ia->ia_name, "ds1339") == 0)
return (1);
return (0);