Pavel Pogodin reacted to
nikkov in NanoPi NEO3 and SPDIF
SPDIF may be enabled by simple overlay file with this content:
/dts-v1/;
/plugin/;
/ {
compatible = "friendlyelec,nanopi-neo3", "rockchip,rk3328";
fragment@0 {
target = <&spdif_out>;
__overlay__ {
status = "okay";
};
};
};
compile and install:
sudo armbian-add-overlay spdif-out-enable.dts
reboot and check:
nik@nanopineo3:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: I2S [I2S], device 0: ff010000.i2s-pcm5102a-hifi pcm5102a-hifi-0 [ff010000.i2s-pcm5102a-hifi pcm5102a-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: SPDIF [SPDIF], device 0: ff030000.spdif-dit-hifi dit-hifi-0 [ff030000.spdif-dit-hifi dit-hifi-0]
Subdevices: 1/1
Subdevice #0: subdevice #0