From: Josep Orga Date: Fri, 8 Oct 2021 17:26:54 +0000 (+0200) Subject: arm64: dts: imx8mn-somdevices.dtsi: Configure memory and allocate less cma memory. X-Git-Tag: rel_imx_5.10.35_2.0.0-somdevices.0~17 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=e19578dd497df7e60068d5066c35e4b62e02cfcc;p=linux.git arm64: dts: imx8mn-somdevices.dtsi: Configure memory and allocate less cma memory. Signed-off-by: Josep Orga --- diff --git a/arch/arm64/boot/dts/freescale/imx8mn-somdevices.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-somdevices.dtsi index cbd125069dd0..c9b040380261 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn-somdevices.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn-somdevices.dtsi @@ -29,7 +29,7 @@ memory@40000000 { device_type = "memory"; - reg = <0x0 0x40000000 0 0x80000000>; + reg = <0x0 0x40000000 0 0x20000000>; }; modem_reset: modem-reset { @@ -291,6 +291,17 @@ }; }; +&resmem { + /* global autoconfigured region for contiguous allocations */ + linux,cma { + compatible = "shared-dma-pool"; + reusable; + size = <0 0xA000000>; + alloc-ranges = <0 0x40000000 0 0x40000000>; + linux,cma-default; + }; +}; + &sai5 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_sai5>;