On 1/28/2025 2:52 PM, Krzysztof Kozlowski wrote: > On 28/01/2025 10:10, Raj Kumar Bhagat wrote: >> + /* Default Profile >> + * +============+==============+=====================+ >> + * | | | | >> + * | Region | Start Offset | Size | >> + * | | | | >> + * +------------+--------------+---------------------+ >> + * | | | | >> + * | | | | >> + * | | | | >> + * | WLAN Q6 | 0x4A900000 | 43MB | >> + * | | | | >> + * | | | | >> + * +------------+--------------+---------------------+ >> + * | M3 Dump | 0x4D400000 | 1MB | >> + * +============+==============+=====================+ >> + * | | >> + * | | >> + * | | >> + * | Rest of memory for Linux | >> + * | | >> + * | | >> + * | | >> + * +=================================================+ >> + */ >> + >> + reserved-memory { >> + #address-cells = <2>; >> + #size-cells = <2>; >> + ranges; >> + >> + q6_region: wcss@4a900000 { >> + reg = <0x0 0x4a900000 0x0 0x02b00000>; >> + no-map; >> + }; >> + >> + m3_dump: m3-dump@4d400000 { > > This fails with your wireless patchset. > Yes, this will fail with v4 wireless patch. We have v5 (yet to be sent) to read the correct reserved memory. Since, in v4 I was asked to address and send DTS patch separately, The corresponding driver patches are yet to be sent. >> + reg = <0x0 0x4D400000 0x0 0x100000>; >> + no-map; >> + }; >> + }; >> }; >> >> &blsp1_i2c1 { >> @@ -63,3 +104,16 @@ data-pins { >> }; >> }; >> }; >> + >> +&wifi0 { >> + memory-region = <&q6_region>, <&m3_dump>; >> + memory-region-names = "q6-region", "m3-dump"; > > Binding said you have four items. I don't understand why this varies and > why this is 2 items instead. > In total we have 4 items, with minItems as 2. The other 2 items (q6-caldb & mlo-global-mem) functionalities are not yet enabled in ath12k driver. Hence these memory are not reserved yet.