Changes between Version 33 and Version 34 of serial


Ignore:
Timestamp:
12/11/2024 06:25:56 PM (10 days ago)
Author:
Ryan Erbstoesser
Comment:

add 7100 example

Legend:

Unmodified
Added
Removed
Modified
  • serial

    v33 v34  
    105105||          ||         || UART3    || ttymxc2  || RS232 J16 ||
    106106|| ||
    107  1. Depends on software configuration
     107 1. Depends on software configuration, see below example
    108108 2. UART2/UART3 are configured in early boot firmware via the hwconfig variable (see [wiki:newport/bootloader#serialconfig here). Additionally CN80XX UART2 and UART3 can be steered via software PINSEL via software modification to any of the GPIO signals including the off-board DIO's - contact support@gateworks.com for details
     109
     110==== GW7100 Serial Port Pin Muxing
     111Some SPI lines can be converted to UART on the GW7100 on the J4 header.
     112
     113J4 pins 7 and 9.
     114
     115Note of course you have to give up some hardware features that reply on the SPI bus:
     116- Make sure U13 TPM is unloaded
     117
     118To make spi2 uart4 (2-wire UART, no flow control) you could do the following device tree fragment at the bottom of the device-tree (ie can modify imx8mm-venice-gw71xx-0x.dts):
     119{{{
     120&ecspi2 {
     121        status = "disabled";
     122};
     123
     124&uart4 {
     125        pinctrl-names = "default";
     126        pinctrl-0 = <&pinctrl_uart4>;
     127        status = "okay";
     128};
     129
     130&iomuxc {
     131        pinctrl_uart4: uart4grp {
     132                fsl,pins = <
     133                        MX8MM_IOMUXC_ECSPI2_MOSI_UART4_DCE_TX   0x140
     134                        MX8MM_IOMUXC_ECSPI2_SCLK_UART4_DCE_RX   0x140
     135        >;
     136};
     137}}}
     138
     139
     140More is discussed here:
     141[wiki:venice/DigitalIO]
    109142
    110143