i2c: jz4780: Add compatible string for JZ4770 SoC
authorPaul Cercueil <paul@crapouillou.net>
Fri, 4 Sep 2020 13:11:51 +0000 (15:11 +0200)
committerWolfram Sang <wsa@kernel.org>
Mon, 21 Sep 2020 09:45:43 +0000 (11:45 +0200)
The I2C controller in the JZ4770 SoC seems to work the exact same as in
the JZ4780 SoC.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-jz4780.c

index ba831df..ed2ec86 100644 (file)
@@ -752,6 +752,7 @@ static const struct ingenic_i2c_config x1000_i2c_config = {
 };
 
 static const struct of_device_id jz4780_i2c_of_matches[] = {
+       { .compatible = "ingenic,jz4770-i2c", .data = &jz4780_i2c_config },
        { .compatible = "ingenic,jz4780-i2c", .data = &jz4780_i2c_config },
        { .compatible = "ingenic,x1000-i2c", .data = &x1000_i2c_config },
        { /* sentinel */ }