How to change GPIO mode for LS1046A pb on Vxwork7

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

How to change GPIO mode for LS1046A pb on Vxwork7

Jump to solution
336 Views
Sally_Jay
Contributor I

There are 4 serial configure on 1046 dts.

serial@21c0500 {
compatible = "fsl,ns16550", "ns16550a";
reg = <0x0 0x21c0500 0x0 0x100>;
interrupts = <0x56 0x0 0x4>;
interrupt-parent = <0x1>;
clocks = <0x6>;
status = "okay";
};
 
serial@21c0600 {
compatible = "fsl,ns16550", "ns16550a";
reg = <0x0 0x21c0600 0x0 0x100>;
interrupts = <0x56 0x0 0x4>;
interrupt-parent = <0x1>;
clocks = <0x6>;
status = "disabled";
};
 
serial@21d0500 {
compatible = "fsl,ns16550", "ns16550a";
reg = <0x0 0x21d0500 0x0 0x100>;
interrupts = <0x57 0x0 0x4>;
interrupt-parent = <0x1>;
clocks = <0x7>;
status = "disabled";
};
 
serial@21d0600 {
compatible = "fsl,ns16550", "ns16550a";
reg = <0x0 0x21d0600 0x0 0x100>;
interrupts = <0x57 0x0 0x4>;
interrupt-parent = <0x1>;
clocks = <0x7>;
status = "disabled";
};
 
Now I want to use the tx and rx of uart2 and uart4 to use GPIO mode which I can pull up/down the GPIO status manually.
 
for example,I want to change the GPIO1_19 20 21 22 to GPIO mode.
How can I do it?

Sally_Jay_0-1721122027892.png

 

0 Kudos
Reply
1 Solution
315 Views
yipingwang
NXP TechSupport
NXP TechSupport

For Vxwork7 problem, please contact Wind River.

View solution in original post

0 Kudos
Reply
2 Replies
316 Views
yipingwang
NXP TechSupport
NXP TechSupport

For Vxwork7 problem, please contact Wind River.

0 Kudos
Reply
299 Views
Sally_Jay
Contributor I
Is there any register to configure the GPIO mode?
0 Kudos
Reply