The H616 routes I2C3 over PA10 and PA11 with mux function 2. Add the
function to the H616 pinctrl table so device trees can configure that
bus.

Signed-off-by: James Hilliard <[email protected]>
---
 drivers/pinctrl/sunxi/pinctrl-sunxi.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/pinctrl/sunxi/pinctrl-sunxi.c 
b/drivers/pinctrl/sunxi/pinctrl-sunxi.c
index 099280ef76b..b1e64c3537e 100644
--- a/drivers/pinctrl/sunxi/pinctrl-sunxi.c
+++ b/drivers/pinctrl/sunxi/pinctrl-sunxi.c
@@ -741,6 +741,7 @@ static const struct sunxi_pinctrl_function 
sun50i_h616_pinctrl_functions[] = {
        { "emac1",      2 },    /* PA0-PA9 */
        { "gpio_in",    0 },
        { "gpio_out",   1 },
+       { "i2c3",       2 },    /* PA10-PA11 */
        { "mmc0",       2 },    /* PF0-PF5 */
        { "mmc1",       2 },    /* PG0-PG5 */
        { "mmc2",       3 },    /* PC0-PC16 */

-- 
2.53.0

Reply via email to