]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: imx7d: Specify viewport count for PCIE block
authorAndrey Smirnov <andrew.smirnov@gmail.com>
Wed, 27 Mar 2019 06:38:40 +0000 (23:38 -0700)
committerShawn Guo <shawnguo@kernel.org>
Wed, 3 Apr 2019 09:39:56 +0000 (16:39 +0700)
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 <andrew.smirnov@gmail.com>
Cc: Richard Zhu <hongxing.zhu@nxp.com>
Cc: Chris Healy <cphealy@gmail.com>
Cc: Lucas Stach <l.stach@pengutronix.de>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx7d.dtsi

index 6eb98e7c568d4f9f350ffd37d291fbeaf6fed9fe..f33b560821b8a7d1de70228394022f33ff830f37 100644 (file)
@@ -154,6 +154,7 @@ pcie: pcie@33800000 {
                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>;