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.

AM572x PCIe2

Other Parts Discussed in Thread: AM5728

Hi,

We are trying to use both PCIe1 and PCIe2 interfaces in single lane mode to connect wireless modules in each of the interfaces on a custom AM5728 board. I mean, we want to have two WLAN modules in each of the interfaces as shown in our schematics. Request you to please help us in configuration of the same. As of now, to enable PCIe2, we have enabled axi@1 by status = "okay"; in the device tree, but the problem is, the kernel doesn't even boot up when this change is incurred! We have tried to disable PCIe1 and enable PCIe2 only and that worked! We are able to get each of the interfaces to work individually,but not both at a time. Please let us know how to go by to achieve this. 

Best Regards,

Srinidhi S.

  • Hi,

    Can you share, which SDK are you using?

    Can you also post the changed dts files that you use (note that am57xx gp evm board uses: am57xx-beagle-x15.dts, am57xx-evm.dts, dra74x.dtsi & dra7.dtsi)?  Have you verified that the dts node settings don't conflict with any other setting in the dtb?

    Best Regards, 
    Yordan

  • Using the latest version: 02.00.01.07.

    ************************************
    Changes done to dra7.dtsi:
    ************************************

    axi@1 {
    compatible = "simple-bus";
    #size-cells = <1>;
    #address-cells = <1>;
    ranges = <0x51800000 0x51800000 0x3000
    0x0 0x30000000 0x10000000>;
    status = "okay"; /* CHANGE THAT WE HAVE DONE*/
    pcie@51000000 {
    compatible = "ti,dra7-pcie";
    reg = <0x51800000 0x2000>, <0x51802000 0x14c>, <0x1000 0x2000>;
    reg-names = "rc_dbics", "ti_conf", "config";
    interrupts = <0 355 0x4>, <0 356 0x4>;
    #address-cells = <3>;
    #size-cells = <2>;
    device_type = "pci";
    ranges = <0x81000000 0 0 0x03000 0 0x00010000
    0x82000000 0 0x30013000 0x13000 0 0xffed000>;
    #interrupt-cells = <1>;
    num-lanes = <1>;
    ti,hwmods = "pcie2";
    phys = <&pcie2_phy>;
    phy-names = "pcie-phy0";
    interrupt-map-mask = <0 0 0 7>;
    interrupt-map = <0 0 0 1 &pcie2_intc 1>,
    <0 0 0 2 &pcie2_intc 2>,
    <0 0 0 3 &pcie2_intc 3>,
    <0 0 0 4 &pcie2_intc 4>;
    pcie2_intc: interrupt-controller {
    interrupt-controller;
    #address-cells = <0>;
    #interrupt-cells = <1>;
    };
    };
    };
    ************************************************************************************************************************************

    And my reference is am57xx-beagle-x15.dts

    And i don't think there is any conflict in the dtb setting as i have not changed any other node. The only change is to have the status changed.

    Regards,
    Srinidhi S.
  • Hi all,

    I Meet the same problem, could you tell me how to modify dra7.dtsi to support pcie2 on am5728 evm.

    BR,
    Denny

  • Hi,

    Can anyone of you please update on this?

    We are also facing the same issue and not been able to test both PCIe-1 and PCIe-2 simultaneously on AM5728. Please share the required device tree changes to test x1 lanes of PCIe-1 and PCIe-2 together. In case there is a driver change required, please do share the patch. Note: We are using Linux PSDK v 2.0.0.0

    Regards,

    Shareef