From the i.MX6Solo to Quad, there is pin to pin compatible design.
The only thing you need to take care is the number of i2c and spi.
D/Q : i2c:3 spi:5
DL/S: i2c:4 spi:4
Please check the following documents.
AN4397:Common Hardware Design for i.MX 6Dual/6Quad and i.MX 6Solo/6DualLite
All-In-One circuit
I2C requirements for migration
