Swap mosi and miso pins in bbb revision c

Hello im just a newbie at embedded linux and bbb, im testing a custom cape for the bbb im trying to test and lcd that is connected to the spi0 on the bb, the thing is that the hardware engineer that desing this board connected the MOSI pin to p9_21 i triyed everything i found, to swap this pins by the overlays but i didnt success can some one please help me ?

Why create a second post for the same question ?

Anyway as per the other post you need to edit the SPI overlay file and either include or remove the option
ti,pindir-d0-out-d1-in

You will then need to recompile the overlay and load it at boot.

The devicetree source files are somewhere in /opt/source I think.

That was me, catching up the queue with being gone for a few weeks…