Layerscape 1043A GPIO Pin Configuration

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

Layerscape 1043A GPIO Pin Configuration

跳至解决方案
2,857 次查看
danielberhe
Contributor IV

Hi All, 

I have been trying to figure out how to configure a Layerscape 1043A pin as GPIO. I'm trying to do this in the device tree and was hoping it would be similar to the IMX processors like shown below but haven't been able to find a device tree to demonstrate this.

&iomuxc {

    pinctrl_hog: hoggrp {
        fsl,pins = <
            MX6SX_PAD_SD1_DATA0__GPIO6_IO_2 0x00000010
            MX6SX_PAD_SD1_DATA3__GPIO6_IO_5 0x00000010
            MX6SX_PAD_CSI_DATA03__GPIO1_IO_17 0x00000010
            MX6SX_PAD_LCD1_DATA00__GPIO3_IO_1 0x00000010
            MX6SX_PAD_LCD1_DATA01__GPIO3_IO_2 0x00000010
         >;
      };
};

Does anyone have have an example showing how this is done for the Layerscape 1043A?

Daniel

0 项奖励
回复
1 解答
2,707 次查看
ufedor
NXP Employee
NXP Employee

The LS1043A is capable to configure multiplexed pins functions only during POR using the RCW data. Run-time reconfiguration is not possible.

Please refer to the QorIQ LS1043A Reference Manual, Table 4-14. RCW Field Descriptions.

在原帖中查看解决方案

0 项奖励
回复
3 回复数
2,707 次查看
danielberhe
Contributor IV

Thank you ufedor!

0 项奖励
回复
2,708 次查看
ufedor
NXP Employee
NXP Employee

The LS1043A is capable to configure multiplexed pins functions only during POR using the RCW data. Run-time reconfiguration is not possible.

Please refer to the QorIQ LS1043A Reference Manual, Table 4-14. RCW Field Descriptions.

0 项奖励
回复
1,925 次查看
pb3
Contributor II

How about LS1028A? I assume that once the pinmux is configured through RCW, there is no way to reconfigure it in the runtime? What if I need to update over the air the RCW when the device had already been deployed and it's operational?

0 项奖励
回复