i.mx8 iomuxc pinctrl values

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

i.mx8 iomuxc pinctrl values

跳至解决方案
1,422 次查看
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 项奖励
回复
1 解答
1,420 次查看
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 项奖励
回复
1 回复
1,421 次查看
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 项奖励
回复