background
: TX2 JETPACK 4.2 custom carrier board
questions:
I added the patch using the instructions in the link “https://elinux.org/Jetson/TX2_USB”, it make usb0 and usb1 work, but usb2 can not be used.
Patching the DTS
If you wish to patch and re-compile
your own Device Tree Source (DTS), you can do it by enabling battery_reg option in the source.
First, change the supply with battery_reg using the .dtsi file located at:
[TX2]
hardware/nvidia/platform/t18x/common/kernel-dts/t18x-common-platforms/tegra186-quill-power-tree-p3310-1000-a00-00.dtsi
[TX2i]
hardware/nvidia/platform/t18x/common/kernel-dts/t18x-common-platforms/tegra186-quill-power-tree-p3489-1000-a00-00.dtsi
Change vbus-2-supply from vdd_usb2_5v to battery_reg. The modifications are as follows:
Since I am now A dp and hdmi dual output, I would like to modify it based on “tegra186-quill-p3310-1000-*-00-dsi-hdmi-dp.dts”
1、In "source_code\hardware\nvidia\platform\t18x\quill\kernel-dts
" folder, there have a lot of dts file
“tegra186-quill-p3310-1000-a00-00-dsi-hdmi-dp.dts” and "tegra186-quill-p3310-1000-c03-00-dsi-hdmi-dp.dts"which one is need to be modify?
2、In “JetPack4.2\sdkmanage\nvidia_sdk\JetPack_4.2_Linux_P3310\Linux_for_Tegra\p2771-0000-dsi-hdmi-dp.conf”
file, it specified to be used “tegra186-quill-p3310-1000-a00-00-dsi-hdmi-dp.dtb”.After I compiled the new device tree with the source code,How do I update the device tree?
1.Do you have the block diagram of the chip, Same as this attachment? I was like a blind man trying to map the device line
2.my usb2 doesn’t work, is there anything wrong with my device tree?
Hi,
For display issue, you may make a new post for clearness. Keep this for the USB issue.
For the USB issue, you have three USB2 type A ports on your custom board? usb2-0 is B39, B40, usb2-1 is A38, A39 and usb2-0 is B42, B43? What are the VBUS pins?
We have clear guidance in adaptation and oem design guide. Please spend some time taking a look.