I compiled full-armbian image for nanopi air.
root@nanopiair:~# uname -a
Linux nanopiair 4.19.25-sunxi #5.76 SMP Wed Feb 27 13:46:35 KST 2019 armv7l GNU/Linux
and by armbian-config, on armbianEnv.txt
overlays=spdif-out
root@nanopiair:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: SPDIF [On-board SPDIF], device 0: spdif-dit-hifi dit-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
root@nanopiair:~# speaker-