Hi,
I have two questions.
Is there any DT property for the PCIe controller that can be used to bind to a GPIO pin (that drives an LED) to drive it when the PCIe Link is up?
The end result would be to have an LED light up when the PCIe link is established.
How can I drive a GPIO hi or low in user space?
Thank you
Hi,
If you are designing a custom base board, then it means some adaptation configurations are needed.
Otherwise, your board may not work fine.
For Orin AGX series, you could refer to below document
https://docs.nvidia.com/jetson/archives/r36.3/DeveloperGuide/HR/JetsonModuleAdaptationAndBringUp/JetsonAgxOrinSeries.html?highlight=universal%20serial%20bus#jetson-agx-orin-platform-adaptation-and-bring-up
(please be aware that above link is for rel-36.3/jetpack6.0)
This document includes below configuration
pinmux change & GPIO configuration
EEPROM change as most custom boards do not have an EEPROM on it.
Kernel porting
PCIe configuration
USB configuration
MGBE configuration
RGMII configuration
Thanks!
Hi velorin0,
Are you using the devkit or custom board for AGX Orin?
It seems you have to add a custom node and customize the PCIe driver for this use case.
We would suggest using gpiod to control GPIO in r36.4.0.
Please remember to configure the pinmux spreadsheet for the pins as Output/Drive0 or Drive 1.
It is a custom board.
OK, thank you for the answer.
system
Closed
January 16, 2025, 7:59am
7
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.