We tried to get spdif working on rockpi 4b, but failed (at first).
It seems the default pin 15 (GPIO4_C5) has some sort of pulsing signal (looks like heartbeat) on it.
So we replaced the pinctrl-0 setting for spdif and created an overlay for it:
/dts-v1/;
/plugin/;
/ {
fragment@0 {
target = <&spdif>;
__overlay__ {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&spdif_bus_1>;
};
};
};
SPDIF is now on pin 32 (GPIO3_C0) and works fine.
An issue you could help me with in return
Thanks,
Gé