gkkpch
December 1, 2023, 8:01pm
21
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
In the Radxa Zero wiki there is an article describing how to build u-boot (and kernel), is something similar available for the Zer0 3W/E?
I would already be happy knowing which u-boot repo and branch and which config to use.
Thanks,
Gé
This is because the same power domain is used to power the status LED:
You could turn off the status LED in rsetup, and that should remove the interference.
gkkpch
December 5, 2023, 11:04pm
23
Sorry, I went off-topic here my apologies.
Anyway, with the overlay for pin 32 (GPIO3_C0), spdif rocks, no need to use the default one.
1 Like