Re: [PATCH 2/2] ARM: dts: imx6q: Add Variscite MX6 Custom board support

From: Fabio Estevam
Date: Wed Jul 19 2023 - 21:30:15 EST


On Wed, Jul 19, 2023 at 7:43 PM James Hilliard
<james.hilliard1@xxxxxxxxx> wrote:

> How would I determine what the value of these should be?
>
> The vendor device trees are using 0x80000000 for these values from
> what I can tell.

0x80000000 means "do not touch the pinctrl, use the value from the bootloader".

It's preferable not to rely on the value that comes from the
bootloader and explicitly describe the value in the DT.

For the MX6QDL_PAD_DI0_PIN4__IPU1_DI0_PIN04 pin: look at its
IOMUXC_SW_PAD_CTL register in the i.MX6Q Reference Manual.

It is called IOMUXC_SW_PAD_CTL_PAD_DI0_PIN04 and its reset value is 0x1b0b0.

So this entry would become:

MX6QDL_PAD_DI0_PIN4__IPU1_DI0_PIN04 0x1b0b0