i.mx8 iomuxc pinctrl values

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.mx8 iomuxc pinctrl values

Jump to solution
1,504 Views
sergey_tarassen
Contributor II

Hello,

could you please point to the documentation how the values of pinctrl in device tree are defined? For example in arch/arm64/boot/dts/freescale/imx8qxp-lpddr4-val-lpspi.dts ( https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm64/boot/dts/freescale/imx8qxp-lpdd...

&iomuxc {
	pinctrl_lpspi0: lpspi0grp {
		fsl,pins = <
			IMX8QXP_SPI0_SCK_ADMA_SPI0_SCK		0x600004c
			IMX8QXP_SPI0_SDO_ADMA_SPI0_SDO		0x600004c
			IMX8QXP_SPI0_SDI_ADMA_SPI0_SDI		0x600004c
		>;
	};
};

What is the meaning of value 0x600004c for SPI0_SCK?

From my understanding values are defined in Chapter 9.2 IOMUXD of reference manual:

sergey_tarassen_0-1619428995058.png

4C is 0100 1100 :

PULL = 10

Reserved = 0110

PDRV=0

Do the reserved bits here have some meaning or is it just a copy/paste error from another .dts?

 

Thank you!

0 Kudos
Reply
1 Solution
1,502 Views
igorpadykov
NXP Employee
NXP Employee

Hi Sergey

 

you are right reserved bits have not meaning, may be considered as copy/paste error.

 

Best regards
igor

View solution in original post

0 Kudos
Reply
1 Reply
1,503 Views
igorpadykov
NXP Employee
NXP Employee

Hi Sergey

 

you are right reserved bits have not meaning, may be considered as copy/paste error.

 

Best regards
igor

0 Kudos
Reply