Add RK3328 support.
authorkettenis <kettenis@openbsd.org>
Sun, 25 Feb 2018 20:42:42 +0000 (20:42 +0000)
committerkettenis <kettenis@openbsd.org>
Sun, 25 Feb 2018 20:42:42 +0000 (20:42 +0000)
sys/dev/fdt/rkiic.c

index adc7fdc..7c2a5a0 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: rkiic.c,v 1.2 2017/10/08 07:58:23 kettenis Exp $      */
+/*     $OpenBSD: rkiic.c,v 1.3 2018/02/25 20:42:42 kettenis Exp $      */
 /*
  * Copyright (c) 2017 Mark Kettenis <kettenis@openbsd.org>
  *
@@ -109,6 +109,7 @@ rkiic_match(struct device *parent, void *match, void *aux)
        struct fdt_attach_args *faa = aux;
 
        return (OF_is_compatible(faa->fa_node, "rockchip,rk3288-i2c") ||
+           OF_is_compatible(faa->fa_node, "rockchip,rk3328-i2c") ||
            OF_is_compatible(faa->fa_node, "rockchip,rk3399-i2c"));
 }