Ryan Chen | ce5ecc1 | 2020-12-14 13:54:23 +0800 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
| 2 | /* |
| 3 | * Copyright (C) ASPEED Technology Inc. |
| 4 | */ |
| 5 | |
| 6 | #define ASPEED_CLK_GATE_ECLK 0 |
| 7 | #define ASPEED_CLK_GATE_GCLK 1 |
| 8 | #define ASPEED_CLK_GATE_MCLK 2 |
| 9 | #define ASPEED_CLK_GATE_VCLK 3 |
| 10 | #define ASPEED_CLK_GATE_BCLK 4 |
| 11 | #define ASPEED_CLK_GATE_DCLK 5 |
| 12 | #define ASPEED_CLK_GATE_LCLK 6 |
| 13 | #define ASPEED_CLK_GATE_YCLK 7 |
| 14 | #define ASPEED_CLK_GATE_LHCCLK 8 |
| 15 | #define ASPEED_CLK_GATE_REFCLK 9 |
| 16 | #define ASPEED_CLK_GATE_ESPICLK 10 |
| 17 | #define ASPEED_CLK_GATE_UART1CLK 11 |
| 18 | #define ASPEED_CLK_GATE_UART2CLK 12 |
| 19 | #define ASPEED_CLK_GATE_UART3CLK 13 |
| 20 | #define ASPEED_CLK_GATE_UART4CLK 14 |
| 21 | #define ASPEED_CLK_GATE_UART5CLK 15 |
| 22 | #define ASPEED_CLK_GATE_UART6CLK 16 |
| 23 | #define ASPEED_CLK_GATE_UART7CLK 17 |
| 24 | #define ASPEED_CLK_GATE_UART8CLK 18 |
| 25 | #define ASPEED_CLK_GATE_UART9CLK 19 |
| 26 | #define ASPEED_CLK_GATE_UART10CLK 20 |
| 27 | #define ASPEED_CLK_GATE_UART11CLK 21 |
| 28 | #define ASPEED_CLK_GATE_UART12CLK 22 |
| 29 | #define ASPEED_CLK_GATE_UART13CLK 23 |
| 30 | #define ASPEED_CLK_GATE_MAC1CLK 24 |
| 31 | #define ASPEED_CLK_GATE_MAC2CLK 25 |
| 32 | #define ASPEED_CLK_GATE_MAC3CLK 26 |
| 33 | #define ASPEED_CLK_GATE_MAC4CLK 27 |
| 34 | #define ASPEED_CLK_GATE_RSACLK 28 |
| 35 | #define ASPEED_CLK_GATE_SDCLK 29 |
| 36 | #define ASPEED_CLK_GATE_SDEXTCLK 30 |
| 37 | #define ASPEED_CLK_GATE_EMMCCLK 31 |
| 38 | #define ASPEED_CLK_GATE_EMMCEXTCLK 32 |
| 39 | #define ASPEED_CLK_GATE_USBUHCICLK 33 |
| 40 | #define ASPEED_CLK_GATE_USBPORT1CLK 34 |
| 41 | #define ASPEED_CLK_GATE_USBPORT2CLK 35 |
| 42 | #define ASPEED_CLK_GATE_FSICLK 36 |
| 43 | |
| 44 | #define ASPEED_CLK_APLL 37 |
| 45 | #define ASPEED_CLK_EPLL 38 |
| 46 | #define ASPEED_CLK_DPLL 39 |
| 47 | #define ASPEED_CLK_HPLL 40 |
| 48 | #define ASPEED_CLK_AHB 41 |
| 49 | #define ASPEED_CLK_APB1 42 |
| 50 | #define ASPEED_CLK_APB2 43 |
| 51 | #define ASPEED_CLK_UART 44 |
| 52 | #define ASPEED_CLK_SDIO 45 |
| 53 | #define ASPEED_CLK_ECLK 46 |
| 54 | #define ASPEED_CLK_ECLK_MUX 47 |
| 55 | #define ASPEED_CLK_LHCLK 48 |
| 56 | #define ASPEED_CLK_MAC 49 |
| 57 | #define ASPEED_CLK_BCLK 50 |
| 58 | #define ASPEED_CLK_MPLL 51 |
| 59 | #define ASPEED_CLK_24M 52 |
| 60 | #define ASPEED_CLK_EMMC 53 |
| 61 | #define ASPEED_CLK_UARTX 54 |
| 62 | #define ASPEED_CLK_HUARTX 55 |