Orin nx - spi , usb2, thermals

Hello Nvidia

I’m using tegra234-p3767-0000+p3509-a02-hdr40.dtbo
to fix an spi fpga chip, and spi wifi chip, not accessible without it.

Problem is, when adding this dtbo, usb2 hub and the thermals disapear.

I corrected the thermals on our device tree, but the usb2 is still gone.

Do U have an elegant correction for the hdr40.dtbo ?
thanks.

Hi noam.le,

Are you using the devkit or custom board for Orin NX?
What’s the Jetpack version in use?

Could you share this dtbo and the full dmesg before and after you apply the overlay dtbo?

Hello Kevin

We’re using Jetpack6.2 , with our carrier board.

The “tegra234-p3737-0000+p3701-0000-hdr40.dtbo” is part of the Jetpack.

We use it to fix the access to an spi fpga chip (and also spi wifi chip) that is not accessible without it.

When we include it on p3768-0000-p3767-0000-a0.conf :

OVERLAY_DTB_FILE=“tegra234-p3767-0000+p3509-a02-hdr40.dtbo,tegra234-carveouts.dtbo,BootOrderNvme.dtbo”;

It corrects the spi chips, but ruins our usb2 hubs and Orin’s thermals.
We fix the thermals on our devicetree like that:

thermal-zones {
soc0-thermal {
cooling-maps {
map-cpufreq { cooling-device = <0x134 0xffffffff 0xffffffff 0x136 0xffffffff 0xffffffff 0x138 0xffffffff 0xffffffff 0x13a 0xffffffff 0xffffffff>; };
};
};
soc1-thermal {
cooling-maps {
map-cpufreq { cooling-device = <0x134 0xffffffff 0xffffffff 0x136 0xffffffff 0xffffffff 0x138 0xffffffff 0xffffffff 0x13a 0xffffffff 0xffffffff>; };
};
};
soc2-thermal {
cooling-maps {
map-cpufreq { cooling-device = <0x134 0xffffffff 0xffffffff 0x136 0xffffffff 0xffffffff 0x138 0xffffffff 0xffffffff 0x13a 0xffffffff 0xffffffff>; };
};
};
};

but the usb2 hub is still unrecognized.

I currently can’t load the full dmesg log, but these are the error diffs when the usb2 doesnt work:

12.568585] fusb301 1-0025: failed to read device id, err : 0xffffff87
[ 12.568591] fusb301 1-0025: fusb301 not support
[ 12.568596] fusb301: probe of 1-0025 failed with error -22

(I’ll be able to load the full log next week if needed.)

lsusb with the hdr40.dtbo:

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 10c4:ea60 Silicon Labs CP210x UART Bridge
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

lsusb without hdr40.dtbo:

Bus 002 Device 002: ID 1ab2:0001 Allied Vision Vision device
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 10c4:ea60 Silicon Labs CP210x UART Bridge
Bus 001 Device 006: ID 0424:724a Microchip Technology, Inc. (formerly SMSC) USB2 Controller Hub
Bus 001 Device 009: ID 1199:68c0 Sierra Wireless, Inc. Sierra Wireless WP7610
Bus 001 Device 008: ID 10c4:ea71 Silicon Labs CP2108 Quad UART Bridge
Bus 001 Device 007: ID 0403:6010 Future Technology Devices International, Ltd FT2232C/D/H Dual UART/FIFO IC
Bus 001 Device 005: ID 0451:8142 Texas Instruments, Inc. TUSB8041 4-Port Hub
Bus 001 Device 004: ID 0451:8142 Texas Instruments, Inc. TUSB8041 4-Port Hub
Bus 001 Device 002: ID 0424:4206 Microchip Technology, Inc. (formerly SMSC) USB4206 Smart Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

thanks.

Are you including tegra234-p3767-0000+p3509-a02-hdr40.dtbo or tegra234-p3737-0000+p3701-0000-hdr40.dtbo?
The later one should be valid for AGX Orin rather than Orin NX/Nano.

I’m including “tegra234-p3767-0000+p3509-a02-hdr40.dtbo” . Yes we saw in general that 3701 dt files don’t fit orin nx at all.

I’m testing a truncated version of the hdr40 file. that includes only spi1 spi3 entries.

Could you help to clarify which configuration in tegra234-p3767-0000+p3509-a02-hdr40.dtbo causes current issue on your custom board?
You can debug it through remove the nodes in overlay dtbo one-by-one.

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