diff options
author | Marek Vasut <marek.vasut+renesas@gmail.com> | 2017-10-08 20:57:37 +0200 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2017-12-09 13:36:26 +0100 |
commit | a59e697618d77f53964d8089d32fa00a0c1c1cda (patch) | |
tree | 3b64b28a54548b28de2cdd3ee5e7e12c27bd56da /drivers/pinctrl/renesas/pfc.c | |
parent | c106bb53ea420d010a2ded04ded88296d4760a7b (diff) | |
download | u-boot-a59e697618d77f53964d8089d32fa00a0c1c1cda.tar.gz u-boot-a59e697618d77f53964d8089d32fa00a0c1c1cda.tar.xz u-boot-a59e697618d77f53964d8089d32fa00a0c1c1cda.zip |
pinctrl: rmobile: Add R8A77995 D3 PFC tables
Add PFC tables for R8A77995 D3 SoC.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'drivers/pinctrl/renesas/pfc.c')
-rw-r--r-- | drivers/pinctrl/renesas/pfc.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/pinctrl/renesas/pfc.c b/drivers/pinctrl/renesas/pfc.c index 5ace600e6d..69e4cec01b 100644 --- a/drivers/pinctrl/renesas/pfc.c +++ b/drivers/pinctrl/renesas/pfc.c @@ -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); @@ -810,6 +815,12 @@ static const struct udevice_id sh_pfc_pinctrl_ids[] = { .data = SH_PFC_R8A77970, }, #endif +#ifdef CONFIG_PINCTRL_PFC_R8A77995 + { + .compatible = "renesas,pfc-r8a77995", + .data = SH_PFC_R8A77995, + }, +#endif { }, }; |