This repository was archived by the owner on Apr 29, 2026. It is now read-only.
[Orange Pi 5 Plus] I2S output with 40 pin GPIO header on 24.10 builds (mainline-6.11 oracular) #1116
nobara256
started this conversation in
Show and tell
Replies: 3 comments 11 replies
|
I'm stuck here:
I reboot the system, but the device does not appear. I haven't connected the pcm5102 board yet. But I'm not sure that the reason is its absence. Tell me, what am I doing wrong? |
3 replies
|
I specifically purchased orange5 plus but the situation has not changed. Tell me what I am doing wrong?
|
7 replies
|
Coming to this late, but wondering if the above is effective to get I2S output via the GPIO. Is it confirmed? |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
RK3588 has total 4 i2s interfaces (i2s0/i2s1 with 8 channels and i2s2/i2s3 with 2 channels).
Orange Pi 5 Plus GPIO Pinout diagrams on the internet don't have any specific clue if any of these i2s interfaces are exposed via the 40 pin GPIO header.
However the Orange Pi 5 Plus schematics on the official downloads has something interesting

The Pins 40, 38, 35, 31, 12 seems to have some PCM functionalities.
Further diving into the dts files in the oracular branch
from

rk3588-base-pinctrl.dtsiwe conform that these are indeed i2s3 pins.again in

rk3588-base.dtsithe i2s3_2c interface is already there with proper pins assigned.So with my zero knowledge with dts, after a lot of trial and errors, I made this overlay to add a pcm5102 node, for simple i2s output.
compile it with
device-tree-compilercopy the
.dtboto the path/lib/firmware/$(uname -r)/device-tree/rockchip/overlay(create the path if not exists) and then edit the/etc/default/u-bootlike this.Result appear as
alsa_output.platform-pcm5102.stereo-fallbackandBuilt-in Audio Stereoalongside the onboardes8328that doesn't seem to work for on the mainline builds.With the same procedure I am able to add I2C, SPI, PWM overlays as well, which are missing from the mainline but still has every thing defined in the
rk3588-base.dtsi&rk3588-base-pinctrl.dtsi.I have been looking for i2s on Orange Pi 5 Plus for more than a year. There is very little documentation on this topic, I hope this would help someone out.
All reactions