Omega2S SD Card / GPIO Pins



  • I designed my board using the SD GPIO pins to use as GPIO pins. In practice, it does not seem that I can get them to operate correctly. Can GPIO22-29 be used as normal GPIO pins? The documentation seems to indicate that they can. Do I need to do something with omega2-ctrl? Looking at the MediaTek documentation it seems like I might need to set some registers to get it to work. Any ideas?



  • to remove SD drive module
    ] rmmod mtk_sd

    and get GPIO1-MODE register value (ref. MT7688 page 61, bit[11:10] , b00 -> b01)
    ] devmem 0x10000060 w
    ] 0x50054045 (example)

    set SD -> GPIO mode
    ] devmem 0x10000060 32 0x50054445

    and try GPIO22~29 access...



  • Thanks so much for your reply. I will give that a try. This will save a me a lot of time soldering jumpers on 6 groups of pins on 25 boards.



  • That worked. Thanks so much.



Looks like your connection to Community was lost, please wait while we try to reconnect.