From b7bc1b20099a64209320482722f836676be2133a Mon Sep 17 00:00:00 2001 From: Wu Gao Date: Mon, 22 Mar 2021 19:31:05 +0800 Subject: [PATCH] ARM: dts: qcom: Move cnss_wlan_mem to sdxlemur-cnss.dtsi Move cnss_wlan_mem to sdxlemur-cnss.dtsi since sdx65 512M doesn't support wlan. Change-Id: Ic5f32ff078cc0c11b0bc438cdbc52e9d2139bc51 --- qcom/sdxlemur-cnss.dtsi | 14 ++++++++++++++ qcom/sdxlemur.dtsi | 8 -------- 2 files changed, 14 insertions(+), 8 deletions(-) diff --git a/qcom/sdxlemur-cnss.dtsi b/qcom/sdxlemur-cnss.dtsi index bcbdd6ec0501..5fe1c865efd8 100644 --- a/qcom/sdxlemur-cnss.dtsi +++ b/qcom/sdxlemur-cnss.dtsi @@ -1,4 +1,18 @@ +&reserved_memory { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + cnss_wlan_mem: cnss_wlan_region { + compatible = "shared-dma-pool"; + alloc-ranges = <0x00000000 0xffffffff>; + reusable; + alignment = <0x400000>; + size = <0x1400000>; + }; +}; + &soc { wlan: qcom,cnss-qca6490@b0000000 { compatible = "qcom,cnss-qca6490"; diff --git a/qcom/sdxlemur.dtsi b/qcom/sdxlemur.dtsi index a90d8dd61418..167737c2ac67 100644 --- a/qcom/sdxlemur.dtsi +++ b/qcom/sdxlemur.dtsi @@ -76,14 +76,6 @@ reusable; size = <0x400000>; }; - - cnss_wlan_mem: cnss_wlan_region { - compatible = "shared-dma-pool"; - alloc-ranges = <0x00000000 0xffffffff>; - reusable; - alignment = <0x400000>; - size = <0x1400000>; - }; }; cpus {