From: Josep Orga Date: Fri, 13 Aug 2021 09:41:28 +0000 (+0200) Subject: arm64: dts: imx8mm-somdevices.dtsi: Configure memory and allocate less cma memory. X-Git-Tag: rel_imx_5.10.35_2.0.0-somdevices.0~35 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=07de3da1a5c07f35ca9328fa683d23056760498b;p=linux.git arm64: dts: imx8mm-somdevices.dtsi: Configure memory and allocate less cma memory. Signed-off-by: Josep Orga --- diff --git a/arch/arm64/boot/dts/freescale/imx8mm-somdevices.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-somdevices.dtsi index 64a9b6f023b7..8703d6983b91 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-somdevices.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-somdevices.dtsi @@ -18,7 +18,7 @@ memory@40000000 { device_type = "memory"; - reg = <0x0 0x40000000 0 0x80000000>; + reg = <0x0 0x40000000 0 0x40000000>; }; leds { @@ -394,6 +394,17 @@ status = "disabled"; }; +&resmem { + /* global autoconfigured region for contiguous allocations */ + linux,cma { + compatible = "shared-dma-pool"; + reusable; + size = <0 0x14000000>; + alloc-ranges = <0 0x40000000 0 0x40000000>; + linux,cma-default; + }; +}; + &sai1 { pinctrl-names = "default", "dsd"; pinctrl-0 = <&pinctrl_sai1>;