For the upstream DT the ctrl_mod node is using a relative register address which is not translated by the current code.
Make address parsing understand relative addresses. Signed-off-by: Markus Schneider-Pargmann (TI.com) <[email protected]> --- drivers/usb/musb-new/ti-musb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/musb-new/ti-musb.c b/drivers/usb/musb-new/ti-musb.c index bcd31adba522fc55190fc43fd2dbd2dec93a2731..d3c3d3057c1df2a5cc62df3c57d8b071bb0f12b8 100644 --- a/drivers/usb/musb-new/ti-musb.c +++ b/drivers/usb/musb-new/ti-musb.c @@ -93,7 +93,7 @@ static int ti_musb_of_to_plat(struct udevice *dev) phys = fdtdec_lookup_phandle(fdt, node, "phys"); ctrl_mod = fdtdec_lookup_phandle(fdt, phys, "ti,ctrl_mod"); - plat->ctrl_mod_base = (void *)fdtdec_get_addr(fdt, ctrl_mod, "reg"); + plat->ctrl_mod_base = (void *)ofnode_get_addr(offset_to_ofnode(ctrl_mod)); usb_index = ti_musb_get_usb_index(node); switch (usb_index) { case 1: -- 2.51.0

