]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - drivers/pinctrl/renesas/pfc.c
pinctrl: rmobile: Add R8A77995 D3 PFC tables
[people/ms/u-boot.git] / drivers / pinctrl / renesas / pfc.c
index 5ace600e6d6c3d8dc150417e0debee0377d7e4a0..69e4cec01bd22989e6d2473e45d0a109a79cd58b 100644 (file)
@@ -27,6 +27,7 @@ enum sh_pfc_model {
        SH_PFC_R8A7795 = 0,
        SH_PFC_R8A7796,
        SH_PFC_R8A77970,
+       SH_PFC_R8A77995,
 };
 
 struct sh_pfc_pin_config {
@@ -783,6 +784,10 @@ static int sh_pfc_pinctrl_probe(struct udevice *dev)
        if (model == SH_PFC_R8A77970)
                priv->pfc.info = &r8a77970_pinmux_info;
 #endif
+#ifdef CONFIG_PINCTRL_PFC_R8A77995
+       if (model == SH_PFC_R8A77995)
+               priv->pfc.info = &r8a77995_pinmux_info;
+#endif
 
        priv->pmx.pfc = &priv->pfc;
        sh_pfc_init_ranges(&priv->pfc);
@@ -809,6 +814,12 @@ static const struct udevice_id sh_pfc_pinctrl_ids[] = {
                .compatible = "renesas,pfc-r8a77970",
                .data = SH_PFC_R8A77970,
        },
+#endif
+#ifdef CONFIG_PINCTRL_PFC_R8A77995
+       {
+               .compatible = "renesas,pfc-r8a77995",
+               .data = SH_PFC_R8A77995,
+       },
 #endif
        { },
 };