i.MX7D comes with 4 viewports, so configure PCIE node accordingly so
that the driver won't assume we only have 2.

Signed-off-by: Andrey Smirnov <[email protected]>
Cc: Richard Zhu <[email protected]>
Cc: Chris Healy <[email protected]>
Cc: Lucas Stach <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: [email protected]
Cc: [email protected]
---
 arch/arm/boot/dts/imx7d.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/imx7d.dtsi b/arch/arm/boot/dts/imx7d.dtsi
index 6eb98e7c568d..f33b560821b8 100644
--- a/arch/arm/boot/dts/imx7d.dtsi
+++ b/arch/arm/boot/dts/imx7d.dtsi
@@ -154,6 +154,7 @@
                ranges = <0x81000000 0 0          0x4ff80000 0 0x00010000   /* 
downstream I/O */
                          0x82000000 0 0x40000000 0x40000000 0 0x0ff00000>; /* 
non-prefetchable memory */
                num-lanes = <1>;
+               num-viewport = <4>;
                interrupts = <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>;
                interrupt-names = "msi";
                #interrupt-cells = <1>;
-- 
2.20.1

Reply via email to