On 17/06/2024 20:19, Frank Li wrote: >>> + reg: >>> + maxItems: 1 >>> + >>> + ranges: true >> >> That's odd. Why do you need ranges without children? > > It think it is legacy method in driver. > > muram_node = of_find_matching_node(fm_node, fman_muram_match); > if (!muram_node) { > err = -EINVAL; > dev_err(&of_dev->dev, "%s: could not find MURAM node\n", > __func__); > goto fman_free; > } > > err = of_address_to_resource(muram_node, 0, > &fman->dts_params.muram_res); > if (err) { > of_node_put(muram_node); > dev_err(&of_dev->dev, "%s: of_address_to_resource() = %d\n", > __func__, err); > goto fman_free; > } And how is this related to ranges? >> Best regards, Krzysztof