Porting a device tree overlay to be Jetson compatible

Dear community,

I am currently using the following hardware components:

  • Jetson Orin NX
  • Avermedia d131 carrier board

After successfully flashing the image, I am attempting to connect a third party hardware component (a network card, requiring an SPI and GPIO connection) through the 40pin connector. The third party provided me with a device tree overlay (.dts) file originally meant for the raspberry pi 4.

My goal is to make this work for the Jetson 40pin header. I am completely lost on where to start with this. Can someone point me in the right direction?

For reference; this is the .dts file that I am trying to port: https://github.com/newracom/nrc7292_sw_pkg/blob/master/dts/newracom.dts

I really appreciate any help you can provide.

Hi p.tolsma,

What’s your Jetpack version in use?

Do you know how to use dtc tool to decompile the dtb to dts?
Please share /boot/dtb/kernel_XXX.dtb from your board for further check.

Hi Kevin,

Thanks for your assistance.
My jetpack version is 5.1.2.

The decompiled device tree can be found here: https://pastes.io/92tepz7bve

Kind regards,

I can not access the file in your link.
Please use the following command to decompile the dtb to dts and update the file(check.dts) here.

$ sudo dtc -I dtb -O dts -o check.dts kernel_XXX.dtb

My apologies. Since im not allowed to upload .dts files, I added a .txt extension. Hopefully this works.

kernel_tree.dts.txt (418.2 KB)

It seems we don’t have node for brcm-XXXX, which is used for Raspberry Pi.
The pins here are also not used for Jetson device.

			nrc_pins: nrc_pins {
				brcm,pins = <5 7 8 9 10 11>;
				brcm,function = <0 1 1 4 4 4>;
				brcm,pull = <1 2 2 2 2 1>;
			};

May I know what’s your use case?

Which network card are you using?

Hi,

Thanks for looking into this. What you are saying indeed seems to be the challenge here; porting this DTO to be compatible with the Jetson.

Our goal is to connect this third party network card (AHPI7292S – ALFA Network Inc.) to the Jetson through the D131 carrier board.

The aim for this is to allow the Jetson to communicate via WiFi HaLow.

Kind regards

For the overlay dtbo, you could add it in board config.

You have to confirm which driver is for your network driver and how did you connect the card on Jetson.
I would suggest asking for the porting guide from your vendor first.
You should also know which SPI interface are you using and GPIO you used.