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