OSDN Git Service

arm64: dts: imx8mq: specify dma-ranges
authorLucas Stach <l.stach@pengutronix.de>
Fri, 8 Feb 2019 18:53:49 +0000 (19:53 +0100)
committerShawn Guo <shawnguo@kernel.org>
Mon, 11 Feb 2019 05:44:12 +0000 (13:44 +0800)
The peripheral bus on the i.MX8MQ is still limited to 32bits, so
we need to declare the usable range for device DMA operations, as
the DRAM will extend across the 32bit boundary if more than 3GB
are installed.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mq.dtsi

index 8e130ec..c626ccb 100644 (file)
                #address-cells = <1>;
                #size-cells = <1>;
                ranges = <0x0 0x0 0x0 0x3e000000>;
+               dma-ranges = <0x40000000 0x0 0x40000000 0xc0000000>;
 
                bus@30000000 { /* AIPS1 */
                        compatible = "fsl,imx8mq-aips-bus", "simple-bus";