Tool/software: Linux
We are utilizing an AM5728 design similar to the EVM.
We'd like to setup the PCIe SS1 SS2 as two separate single lane RCs.
1) Does the dra7 driver support this configuration?
2) Can you provide assistance in how to achieve this?
We have the single controller two lane mode working. I suspect that breaking it into two controllers requires changes to the dra7.dtsi section:
pcie1_rc: pcie_rc@51000000 { compatible = "ti,dra7-pcie"; reg = <0x51000000 0x2000>, <0x51002000 0x14c>, $ reg-names = "rc_dbics", "ti_conf", "config"; interrupts = <0 232 0x4>, <0 233 0x4>; #address-cells = <3>; #size-cells = <2>; device_type = "pci"; ranges = <0x81000000 0 0 0x03000 0 0x0$ 0x82000000 0 0x20013000 0x13000 0 0xf$ #interrupt-cells = <1>; num-lanes = <1>; linux,pci-domain = <0>; ti,hwmods = "pcie1"; phys = <&pcie1_phy>; phy-names = "pcie-phy0"; interrupt-map-mask = <0 0 0 7>; interrupt-map = <0 0 0 1 &pcie1_intc 1>, <0 0 0 2 &pcie1_intc 2>, <0 0 0 3 &pcie1_intc 3>, <0 0 0 4 &pcie1_intc 4>; status = "disabled"; pcie1_intc: interrupt-controller { interrupt-controller; #address-cells = <0>; #interrupt-cells = <1>; }; };