]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
reset: uniphier: fix compatible for SD reset node for LD11/LD20
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 29 Aug 2017 03:20:50 +0000 (12:20 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 30 Aug 2017 00:07:04 +0000 (09:07 +0900)
LD20 has SD ctrl instead of MIO ctrl.  LD11 has both of them.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
drivers/reset/reset-uniphier.c

index ebb2cae5eb3368eee2d1fed1674f761f762bb22d..8a037cf735dd30aff1c9596740a08f97bb7d9705 100644 (file)
@@ -294,7 +294,11 @@ static const struct udevice_id uniphier_reset_match[] = {
                .data = (ulong)uniphier_mio_reset_data,
        },
        {
-               .compatible = "socionext,uniphier-ld20-mio-reset",
+               .compatible = "socionext,uniphier-ld11-sd-reset",
+               .data = (ulong)uniphier_mio_reset_data,
+       },
+       {
+               .compatible = "socionext,uniphier-ld20-sd-reset",
                .data = (ulong)uniphier_mio_reset_data,
        },
        /* Peripheral reset */