[PATCH v1 1/5] dt-bindings: pinctrl: imx8mm: add alternative uart muxings
Fabio Estevam
festevam at gmail.com
Thu Jan 23 12:44:58 CET 2020
Hi Igor and Max,
On Thu, Jan 23, 2020 at 8:32 AM Igor Opaniuk <igor.opaniuk at gmail.com> wrote:
>
> From: Max Krummenacher <max.krummenacher at toradex.com>
>
> Add alternative UART muxing defines.
>
> Signed-off-by: Max Krummenacher <max.krummenacher at toradex.com>
> Signed-off-by: Igor Opaniuk <igor.opaniuk at toradex.com>
> ---
>
> arch/arm/dts/imx8mm-pinfunc.h | 21 +++++++++++++++++++++
> 1 file changed, 21 insertions(+)
>
> diff --git a/arch/arm/dts/imx8mm-pinfunc.h b/arch/arm/dts/imx8mm-pinfunc.h
> index e25f7fcd79..de43fb55cc 100644
> --- a/arch/arm/dts/imx8mm-pinfunc.h
> +++ b/arch/arm/dts/imx8mm-pinfunc.h
> @@ -430,18 +430,26 @@
> #define MX8MM_IOMUXC_SAI1_MCLK_SIM_M_HRESP 0x1AC 0x414 0x000 0x7 0x0
> #define MX8MM_IOMUXC_SAI2_RXFS_SAI2_RX_SYNC 0x1B0 0x418 0x000 0x0 0x0
> #define MX8MM_IOMUXC_SAI2_RXFS_SAI5_TX_SYNC 0x1B0 0x418 0x4EC 0x1 0x2
> +#define MX8MM_IOMUXC_SAI2_RXFS_UART1_TX 0x1B0 0x418 0x000 0x4 0x0
> +#define MX8MM_IOMUXC_SAI2_RXFS_UART1_RX 0x1B0 0x418 0x4F4 0x4 0x2
Couldn't you just import the definitions from Linux instead?
There we have:
#define MX8MM_IOMUXC_SAI2_RXFS_UART1_DCE_TX
0x1B0 0x418 0x000 0x4 0x0
#define MX8MM_IOMUXC_SAI2_RXFS_UART1_DTE_RX
0x1B0 0x418 0x4F4 0x4 0x2
More information about the U-Boot
mailing list