Commit 9b70cd5f authored by Marek Vasut's avatar Marek Vasut
Browse files

rcar_gen3: drivers: pfc: Configure GP5_09 as input on ULCB



Configure the GPIO5 09 pin as input on the ULCB board by default,
since the pin is routed on the expansion connector and not connected
to anything by default.
Signed-off-by: default avatarMarek Vasut <marek.vasut+renesas@gmail.com>
parent 845d8fbb
......@@ -1396,6 +1396,10 @@ void pfc_init_h3_v1(void)
mmio_write_32(GPIO_INOUTSEL2, 0x00000400U);
mmio_write_32(GPIO_INOUTSEL3, 0x0000C000U);
mmio_write_32(GPIO_INOUTSEL4, 0x00000000U);
#if (RCAR_GEN3_ULCB == 1)
mmio_write_32(GPIO_INOUTSEL5, 0x0000000EU);
#else
mmio_write_32(GPIO_INOUTSEL5, 0x0000020EU);
#endif
mmio_write_32(GPIO_INOUTSEL6, 0x00013880U);
}
......@@ -1444,6 +1444,10 @@ void pfc_init_h3_v2(void)
mmio_write_32(GPIO_INOUTSEL2, 0x00000400U);
mmio_write_32(GPIO_INOUTSEL3, 0x0000C000U);
mmio_write_32(GPIO_INOUTSEL4, 0x00000000U);
#if (RCAR_GEN3_ULCB == 1)
mmio_write_32(GPIO_INOUTSEL5, 0x0000000EU);
#else
mmio_write_32(GPIO_INOUTSEL5, 0x0000020EU);
#endif
mmio_write_32(GPIO_INOUTSEL6, 0x00013880U);
}
......@@ -1526,6 +1526,10 @@ void pfc_init_m3(void)
mmio_write_32(GPIO_INOUTSEL2, 0x00000400U);
mmio_write_32(GPIO_INOUTSEL3, 0x0000C000U);
mmio_write_32(GPIO_INOUTSEL4, 0x00000000U);
#if (RCAR_GEN3_ULCB == 1)
mmio_write_32(GPIO_INOUTSEL5, 0x0000000EU);
#else
mmio_write_32(GPIO_INOUTSEL5, 0x0000020EU);
#endif
mmio_write_32(GPIO_INOUTSEL6, 0x00013880U);
}
......@@ -1432,6 +1432,10 @@ void pfc_init_m3n(void)
mmio_write_32(GPIO_INOUTSEL2, 0x00000400U);
mmio_write_32(GPIO_INOUTSEL3, 0x0000C000U);
mmio_write_32(GPIO_INOUTSEL4, 0x00000000U);
#if (RCAR_GEN3_ULCB == 1)
mmio_write_32(GPIO_INOUTSEL5, 0x0000000EU);
#else
mmio_write_32(GPIO_INOUTSEL5, 0x0000020EU);
#endif
mmio_write_32(GPIO_INOUTSEL6, 0x00013880U);
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment