reset-uniphier.c (dec173ccbcb730686084ca37afe933e42023c0e7) | reset-uniphier.c (94e10c221e970e9591a3f984e38ac0c5a651c6cf) |
---|---|
1/* 2 * Copyright (C) 2016 Socionext Inc. 3 * Author: Masahiro Yamada <yamada.masahiro@socionext.com> 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 2 of the License, or 8 * (at your option) any later version. --- 79 unchanged lines hidden (view full) --- 88 UNIPHIER_RESET(29, 0x2014, 8), /* SATA-PHY (active high) */ 89 UNIPHIER_RESET_END, 90}; 91 92static const struct uniphier_reset_data uniphier_ld11_sys_reset_data[] = { 93 UNIPHIER_RESETX(2, 0x200c, 0), /* NAND */ 94 UNIPHIER_RESETX(4, 0x200c, 2), /* eMMC */ 95 UNIPHIER_RESETX(8, 0x200c, 8), /* STDMAC (HSC, MIO) */ | 1/* 2 * Copyright (C) 2016 Socionext Inc. 3 * Author: Masahiro Yamada <yamada.masahiro@socionext.com> 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 2 of the License, or 8 * (at your option) any later version. --- 79 unchanged lines hidden (view full) --- 88 UNIPHIER_RESET(29, 0x2014, 8), /* SATA-PHY (active high) */ 89 UNIPHIER_RESET_END, 90}; 91 92static const struct uniphier_reset_data uniphier_ld11_sys_reset_data[] = { 93 UNIPHIER_RESETX(2, 0x200c, 0), /* NAND */ 94 UNIPHIER_RESETX(4, 0x200c, 2), /* eMMC */ 95 UNIPHIER_RESETX(8, 0x200c, 8), /* STDMAC (HSC, MIO) */ |
96 UNIPHIER_RESETX(40, 0x2008, 0), /* AIO */ 97 UNIPHIER_RESETX(41, 0x2008, 1), /* EVEA */ |
|
96 UNIPHIER_RESET_END, 97}; 98 99static const struct uniphier_reset_data uniphier_ld20_sys_reset_data[] = { 100 UNIPHIER_RESETX(2, 0x200c, 0), /* NAND */ 101 UNIPHIER_RESETX(4, 0x200c, 2), /* eMMC */ 102 UNIPHIER_RESETX(8, 0x200c, 8), /* STDMAC (HSC) */ 103 UNIPHIER_RESETX(12, 0x200c, 5), /* GIO (PCIe, USB3) */ 104 UNIPHIER_RESETX(16, 0x200c, 12), /* USB30-PHY0 */ 105 UNIPHIER_RESETX(17, 0x200c, 13), /* USB30-PHY1 */ 106 UNIPHIER_RESETX(18, 0x200c, 14), /* USB30-PHY2 */ 107 UNIPHIER_RESETX(19, 0x200c, 15), /* USB30-PHY3 */ | 98 UNIPHIER_RESET_END, 99}; 100 101static const struct uniphier_reset_data uniphier_ld20_sys_reset_data[] = { 102 UNIPHIER_RESETX(2, 0x200c, 0), /* NAND */ 103 UNIPHIER_RESETX(4, 0x200c, 2), /* eMMC */ 104 UNIPHIER_RESETX(8, 0x200c, 8), /* STDMAC (HSC) */ 105 UNIPHIER_RESETX(12, 0x200c, 5), /* GIO (PCIe, USB3) */ 106 UNIPHIER_RESETX(16, 0x200c, 12), /* USB30-PHY0 */ 107 UNIPHIER_RESETX(17, 0x200c, 13), /* USB30-PHY1 */ 108 UNIPHIER_RESETX(18, 0x200c, 14), /* USB30-PHY2 */ 109 UNIPHIER_RESETX(19, 0x200c, 15), /* USB30-PHY3 */ |
110 UNIPHIER_RESETX(40, 0x2008, 0), /* AIO */ 111 UNIPHIER_RESETX(41, 0x2008, 1), /* EVEA */ |
|
108 UNIPHIER_RESET_END, 109}; 110 111/* Media I/O reset data */ 112#define UNIPHIER_MIO_RESET_SD(id, ch) \ 113 UNIPHIER_RESETX((id), 0x110 + 0x200 * (ch), 0) 114 115#define UNIPHIER_MIO_RESET_SD_BRIDGE(id, ch) \ --- 312 unchanged lines hidden --- | 112 UNIPHIER_RESET_END, 113}; 114 115/* Media I/O reset data */ 116#define UNIPHIER_MIO_RESET_SD(id, ch) \ 117 UNIPHIER_RESETX((id), 0x110 + 0x200 * (ch), 0) 118 119#define UNIPHIER_MIO_RESET_SD_BRIDGE(id, ch) \ --- 312 unchanged lines hidden --- |