Layerscape 1043A GPIO Pin Configuration

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

Layerscape 1043A GPIO Pin Configuration

Jump to solution
1,372 Views
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 Kudos
Reply
1 Solution
1,223 Views
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.

View solution in original post

0 Kudos
Reply
3 Replies
1,223 Views
danielberhe
Contributor IV

Thank you ufedor!

0 Kudos
Reply
1,224 Views
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 Kudos
Reply
441 Views
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 Kudos
Reply