Minor correction. On Tue, May 02, 2023, Thinh Nguyen wrote: > > Did you try this? > > dwc_res.start = DWC3_RTK_ABC_GLOBAL_OFFSET; Ignore the line above due to copy-paste error. > > if (dev->of_node) { > struct device_node *parent = of_get_parent(dev->of_node); > > if (of_device_is_compatible(parent, "your-compatible")) > dwc_res.start = DWC3_RTK_ABC_GLOBAL_OFFSET; > > of_node_put(parent); > } >