Jetson Nano SPI and PWM not working

When I use Jetson-io.py to enable the SPI device, using sudo /opt/nvidia/jetson-io/config.by.function.py -l enable
Show the following:
Enabled functions (pins)

  1. pwm0 (32)
  2. spi1 (19, 21, 23, 24, 26)

but when running ls /dev/spi* /dev/pwm*
I get

ls: connot access ‘/dev/spi*’: No such file or directory
ls: connot access ‘/dev/pwm*’: No such file or directory

How can I confirm if these devices are setup corectly and working?

Also when trying to acces the SPI with python I reciee and error-

OSError: /dev/spidev0.0 does not exist

For the SPI you need sudo modprobe spidev

Thank you for the help. Is there a way to have this setting be permanent?
Everytime I restart the baord I have to re-enter " sudo modprobe spidev ", is there a way to fix this?

Check this to add a script for it.