How to Enable PPS on Orin which pin to setup

I am setting up a GPS device GQ7 on Orin, but I wonder how to config it in a device tree, and what pin should I set, I found that in Xavier it can be done in this way

pps {
        gpios = <&tegra_aon_gpio TEGRA194_AON_GPIO(AA, 0) GPIO_ACTIVE_LOW>;
        compatible = "pps-gpio";
        status = "okay";
    };

I wonder how to do this in Orin, thanks!

Duplicated with How to Enable PPS on Orin which pin to setup - Autonomous Vehicles / DRIVE AGX Orin - NVIDIA Developer Forums

Wrong tag before, so I copied the topic to here

It seems that on the xavier agx AA,0 is pin 33
(NVIDIA Jetson AGX Xavier GPIO Header Pinout - JetsonHacks
, and Jetson AGX Xavier GPIO Expansion Header Mapping - Google Sheets)

So that would mean to get the same pin on the Orin devkit board the above would have to be: CAN1_DOUT or PAA.02 according to the Devkit Specification manual.

So for the Orin would this turn into

pps {
        gpios = <&tegra_aon_gpio TEGRA234_MAIN_GPIO(AA, 0) GPIO_ACTIVE_LOW>;
        compatible = "pps-gpio";
        status = "okay";
    };
1 Like

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