This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM6412: [GPIO][DTS][DEVICE-TREE][RESET][PCIE]

Part Number: AM6412

Hi,

I am using this GPIO - Y10 (PIN) : PRG1_PRU1_GPO16 as reset gpio for my PERST signal to my PCIe End Point device.

Instead of below &exp1 expander pin using direct AM6412 GPIO.

&pcie0_rc {
reset-gpios = <&exp1 5 GPIO_ACTIVE_HIGH>;
...
};

Thanks,

Akash Nair

  • Hi Akash,

    More information is needed.

    1. Can you please explain what your question is? I am unsure what the issue is and where the help is need.
    2. Are you using a TI Evaluation Module or custom hardware?
    3. Please provide more information about the device tree changes. Having the file name and the changes made to the file is useful.

    -Anshu

  • Hi,

    I am having a custom HW, in which the GPIO - Y10 (PIN) : PRG1_PRU1_GPO16 of AM6412 is connected to the PCIe End point as RESET pin.

    I want to use this PIN in device tree so that the time of boot up, it will be high. The dts file is k3-am642-evm.dts.

    Inside that you can see 

    &pcie0_rc {
    reset-gpios = <&exp1 5 GPIO_ACTIVE_HIGH>; 
    phys = <&serdes0_pcie_link>;
    phy-names = "pcie-phy";
    num-lanes = <1>;
    };

    Instead of expander I want to use the above mentioned gpio.

    How can I do it is my query.

    Thanks,

    Akash Nair

  • Hi Akash,

    I've routed this query to the PCIe expert. Please allow a few days for them to respond.

    -Anshu