# SPI and Device Tree

**URL:** <https://forums.developer.nvidia.com/t/spi-and-device-tree/200250>\
**Category:** Jetson AGX Xavier\
**Tags:** spi\
**Created:** [January 12, 2022, 12:24am UTC](https://forums.developer.nvidia.com/t/spi-and-device-tree/200250 "2022-01-12T00:24:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![malcolm.mcdowell](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@malcolm.mcdowell](https://forums.developer.nvidia.com/u/malcolm.mcdowell)\
**Post date:** [January 12, 2022, 12:24am UTC](https://forums.developer.nvidia.com/t/spi-and-device-tree/200250/1 "2022-01-12T00:24:03Z")

</div>

Hi

I am working on the NX Xavier module. I have been trying to get spi0 to show up in the folder /dev through the device tree. It hasn’t showed up.

A few months back, a colleague of mine mentioned that he had to use jetson-io.py to see the spi device in /dev. He was using your custom image on an NX dev kit module and it wasn’t shown either.

Can you provide guidance on how to get the spi0 to show up in /dev. Why did jetson-io.py have to be used to enable the SPI in /dev.

Thanks  
Malcolm

---

<div class="post-metadata">

**Author:** ![ShaneCCC](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/shaneccc/32/14043_2.png) [@ShaneCCC](https://forums.developer.nvidia.com/u/ShaneCCC)\
**Post date:** [January 12, 2022, 5:03am UTC](https://forums.developer.nvidia.com/t/spi-and-device-tree/200250/3 "2022-01-12T05:03:43Z")

</div>

Need below command to load spidev driver.

```auto
sudo modprobe spidev

```

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/system/32/68080_2.png) [@system](https://forums.developer.nvidia.com/u/system)\
**Post date:** [February 2, 2022, 5:30am UTC](https://forums.developer.nvidia.com/t/spi-and-device-tree/200250/5 "2022-02-02T05:30:47Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
