On a custom board based on the imx8mp we have pcie up and running and can install pcie adapters and use them without issue. However, we are using the internal clock and need it to be off by default and to be able to turn it on when a board is plugged in. Without a pcie board plugged in we get:
00:00.0 PCI bridge: Synopsys, Inc. DWC_usb3 / PCIe bridge (rev 01)
We believe that the clock should be off and we would probably not see the bridge until a board is plugged in and the clock is turned on. We have the gpio for the clkreq assigned to:
MX8MP_IOMUXC_I2C4_SCL__PCIE_CLKREQ_B
However, we cannot see a time when the clock is off. How do we set the clock to off by default?