1aec6adc5SSerge Semin /* SPDX-License-Identifier: GPL-2.0-only */ 2aec6adc5SSerge Semin /* 3aec6adc5SSerge Semin * Copyright (C) 2020 BAIKAL ELECTRONICS, JSC 4aec6adc5SSerge Semin * 5aec6adc5SSerge Semin * Baikal-T1 CCU clock indices 6aec6adc5SSerge Semin */ 7aec6adc5SSerge Semin #ifndef __DT_BINDINGS_CLOCK_BT1_CCU_H 8aec6adc5SSerge Semin #define __DT_BINDINGS_CLOCK_BT1_CCU_H 9aec6adc5SSerge Semin 10aec6adc5SSerge Semin #define CCU_CPU_PLL 0 11aec6adc5SSerge Semin #define CCU_SATA_PLL 1 12aec6adc5SSerge Semin #define CCU_DDR_PLL 2 13aec6adc5SSerge Semin #define CCU_PCIE_PLL 3 14aec6adc5SSerge Semin #define CCU_ETH_PLL 4 15aec6adc5SSerge Semin 16*11ea09b9SSerge Semin #define CCU_AXI_MAIN_CLK 0 17*11ea09b9SSerge Semin #define CCU_AXI_DDR_CLK 1 18*11ea09b9SSerge Semin #define CCU_AXI_SATA_CLK 2 19*11ea09b9SSerge Semin #define CCU_AXI_GMAC0_CLK 3 20*11ea09b9SSerge Semin #define CCU_AXI_GMAC1_CLK 4 21*11ea09b9SSerge Semin #define CCU_AXI_XGMAC_CLK 5 22*11ea09b9SSerge Semin #define CCU_AXI_PCIE_M_CLK 6 23*11ea09b9SSerge Semin #define CCU_AXI_PCIE_S_CLK 7 24*11ea09b9SSerge Semin #define CCU_AXI_USB_CLK 8 25*11ea09b9SSerge Semin #define CCU_AXI_HWA_CLK 9 26*11ea09b9SSerge Semin #define CCU_AXI_SRAM_CLK 10 27*11ea09b9SSerge Semin 28*11ea09b9SSerge Semin #define CCU_SYS_SATA_REF_CLK 0 29*11ea09b9SSerge Semin #define CCU_SYS_APB_CLK 1 30*11ea09b9SSerge Semin #define CCU_SYS_GMAC0_TX_CLK 2 31*11ea09b9SSerge Semin #define CCU_SYS_GMAC0_PTP_CLK 3 32*11ea09b9SSerge Semin #define CCU_SYS_GMAC1_TX_CLK 4 33*11ea09b9SSerge Semin #define CCU_SYS_GMAC1_PTP_CLK 5 34*11ea09b9SSerge Semin #define CCU_SYS_XGMAC_REF_CLK 6 35*11ea09b9SSerge Semin #define CCU_SYS_XGMAC_PTP_CLK 7 36*11ea09b9SSerge Semin #define CCU_SYS_USB_CLK 8 37*11ea09b9SSerge Semin #define CCU_SYS_PVT_CLK 9 38*11ea09b9SSerge Semin #define CCU_SYS_HWA_CLK 10 39*11ea09b9SSerge Semin #define CCU_SYS_UART_CLK 11 40*11ea09b9SSerge Semin #define CCU_SYS_I2C1_CLK 12 41*11ea09b9SSerge Semin #define CCU_SYS_I2C2_CLK 13 42*11ea09b9SSerge Semin #define CCU_SYS_GPIO_CLK 14 43*11ea09b9SSerge Semin #define CCU_SYS_TIMER0_CLK 15 44*11ea09b9SSerge Semin #define CCU_SYS_TIMER1_CLK 16 45*11ea09b9SSerge Semin #define CCU_SYS_TIMER2_CLK 17 46*11ea09b9SSerge Semin #define CCU_SYS_WDT_CLK 18 47*11ea09b9SSerge Semin 48aec6adc5SSerge Semin #endif /* __DT_BINDINGS_CLOCK_BT1_CCU_H */ 49