reset: uniphier: add ethernet reset control support for PXs3
authorKunihiko Hayashi <hayashi.kunihiko@socionext.com>
Fri, 23 Mar 2018 05:12:34 +0000 (14:12 +0900)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Tue, 27 Mar 2018 08:44:04 +0000 (10:44 +0200)
Add reset lines for ethernet controller on PXs3 SoC.

Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
Acked-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/reset/reset-uniphier.c

index 0fa2312..360e06b 100644 (file)
@@ -124,6 +124,8 @@ static const struct uniphier_reset_data uniphier_ld20_sys_reset_data[] = {
 static const struct uniphier_reset_data uniphier_pxs3_sys_reset_data[] = {
        UNIPHIER_RESETX(2, 0x200c, 0),          /* NAND */
        UNIPHIER_RESETX(4, 0x200c, 2),          /* eMMC */
+       UNIPHIER_RESETX(6, 0x200c, 9),          /* Ether0 */
+       UNIPHIER_RESETX(7, 0x200c, 10),         /* Ether1 */
        UNIPHIER_RESETX(8, 0x200c, 12),         /* STDMAC */
        UNIPHIER_RESETX(12, 0x200c, 4),         /* USB30 link (GIO0) */
        UNIPHIER_RESETX(13, 0x200c, 5),         /* USB31 link (GIO1) */