This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

The serial-dir of McASP in DTS

I find a property named serial-dir in DTS when I configure the McASP.

The documents said that:

- serial-dir : A list of serializer configuration. Each entry is a number
                     indication for serializer pin direction.
                     (0 - INACTIVE, 1 - TX, 2 - RX)

If I use am335x, the list of serializer is the following array or not?

< ARX0, ARX1, ARX2, ARX3>

  • Hi,

    Yes, ARX0, ARX1, ARX2 & ARX3 are the serial data pins. Each MCASP port has up to four serial data pins.

    As you stated in serial-dir node serializers are set as: 0- INACTIVE, 1 - TX, 2-RX, so if you want to specify that mcasp is using 4 serialzers, of which AXR0 is TX & AXR1 is RX and AXR2 & AXR3 are not used, then you need to define them as follows:

    &mcasp1 {

                       ...................

                       num-serializer = <4>;

                       serial-dir = <1 2 0 0>; /* 0:INACTIVE, 1:TX, 2:RX */

                       ....................

    };

    Best Regards,

    Yordan

  • Thank for your help, I got it.

    Best Regartds