meson: axg: search dtb for meson-axg-usb-ctrl on board axg
USB controller for AXG is described as meson-axg-usb-ctrl, see arch/arm/dts/meson-axg.dtsi Look for that name instead of meson-gxl-usb-ctrl. Signed-off-by: Sergei Antonov <saproj@gmail.com> Acked-by: Neil Armstrong <narmstrong@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Link: https://lore.kernel.org/r/20220509113618.2891126-1-saproj@gmail.com
This commit is contained in:
parent
6f00b97d7e
commit
fdc55a6ba8
@ -106,7 +106,7 @@ int board_usb_init(int index, enum usb_init_type init)
|
||||
|
||||
/* find the usb glue node */
|
||||
node = fdt_node_offset_by_compatible(blob, -1,
|
||||
"amlogic,meson-gxl-usb-ctrl");
|
||||
"amlogic,meson-axg-usb-ctrl");
|
||||
if (node < 0) {
|
||||
debug("Not found usb-control node\n");
|
||||
return -ENODEV;
|
||||
@ -192,7 +192,7 @@ int board_usb_cleanup(int index, enum usb_init_type init)
|
||||
|
||||
/* find the usb glue node */
|
||||
node = fdt_node_offset_by_compatible(blob, -1,
|
||||
"amlogic,meson-gxl-usb-ctrl");
|
||||
"amlogic,meson-axg-usb-ctrl");
|
||||
if (node < 0) {
|
||||
debug("Not found usb-control node\n");
|
||||
return -ENODEV;
|
||||
|
Loading…
Reference in New Issue
Block a user