I am trying to access the GPIOs directly from user space and trying to send and receive audio data through PCM_DOUT and PCM_DIN GPIO pins. PCM_CLK, PCM_FS, PCM_DIN, and PCM_DOUT GPIO pins are configured in ALT0 Function Mode.
RPI Model used as "Raspberry Pi 2 Model B Rev 1.1", "Raspberry Pi 2 Model B Rev 1.2" and "Raspberry Pi Compute Module 3 Rev 1.0".
With the given below peripheral addresses I am getting successful results in 'Jessie-lite', but not in 'Stretch-lite'.
GPIO Peripheral Virtual Base Address: 0x3f000000
GPIO Peripheral Physical Base Address: 0x7e000000
GPIO Base Offset: 0x00200000
PCM Peripheral Bus address: 0x7e203000
PCM Base Offset: 0x00203000
PCM Audio Clock Offset: 0x00101098
DMA Base Offset: 0x00007000
Videocore Base Address: 0xc0000000
Page Size: 4096
Anyone got it working in Raspbian Stretch Lite?