How does TX2 PCIE modify the device tree configuration to be a PCIE X4 and a PCIE X1

Hello, I now need to configure the PCIE of TX2 as a PCIE X4 and a PCIE X1. How do I configure it?

Hi,

Why do you need to configure it? The default setting of TX2 pcie is x4 and x1 from jetpack.
No modification is needed.