]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
meson: axg: search dtb for meson-axg-usb-ctrl on board axg
authorSergei Antonov <saproj@gmail.com>
Mon, 9 May 2022 11:36:18 +0000 (14:36 +0300)
committerNeil Armstrong <narmstrong@baylibre.com>
Mon, 23 May 2022 08:40:01 +0000 (10:40 +0200)
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
arch/arm/mach-meson/board-axg.c

index 71ac65c636c87bded3f8dde022b4684b3adca7be..236ec8157995b6d4317aba3597ac48a0ff184d09 100644 (file)
@@ -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;