18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Copyright (C) 2020 BAIKAL ELECTRONICS, JSC
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci * Baikal-T1 CCU clock indices
68c2ecf20Sopenharmony_ci */
78c2ecf20Sopenharmony_ci#ifndef __DT_BINDINGS_CLOCK_BT1_CCU_H
88c2ecf20Sopenharmony_ci#define __DT_BINDINGS_CLOCK_BT1_CCU_H
98c2ecf20Sopenharmony_ci
108c2ecf20Sopenharmony_ci#define CCU_CPU_PLL			0
118c2ecf20Sopenharmony_ci#define CCU_SATA_PLL			1
128c2ecf20Sopenharmony_ci#define CCU_DDR_PLL			2
138c2ecf20Sopenharmony_ci#define CCU_PCIE_PLL			3
148c2ecf20Sopenharmony_ci#define CCU_ETH_PLL			4
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ci#define CCU_AXI_MAIN_CLK		0
178c2ecf20Sopenharmony_ci#define CCU_AXI_DDR_CLK			1
188c2ecf20Sopenharmony_ci#define CCU_AXI_SATA_CLK		2
198c2ecf20Sopenharmony_ci#define CCU_AXI_GMAC0_CLK		3
208c2ecf20Sopenharmony_ci#define CCU_AXI_GMAC1_CLK		4
218c2ecf20Sopenharmony_ci#define CCU_AXI_XGMAC_CLK		5
228c2ecf20Sopenharmony_ci#define CCU_AXI_PCIE_M_CLK		6
238c2ecf20Sopenharmony_ci#define CCU_AXI_PCIE_S_CLK		7
248c2ecf20Sopenharmony_ci#define CCU_AXI_USB_CLK			8
258c2ecf20Sopenharmony_ci#define CCU_AXI_HWA_CLK			9
268c2ecf20Sopenharmony_ci#define CCU_AXI_SRAM_CLK		10
278c2ecf20Sopenharmony_ci
288c2ecf20Sopenharmony_ci#define CCU_SYS_SATA_REF_CLK		0
298c2ecf20Sopenharmony_ci#define CCU_SYS_APB_CLK			1
308c2ecf20Sopenharmony_ci#define CCU_SYS_GMAC0_TX_CLK		2
318c2ecf20Sopenharmony_ci#define CCU_SYS_GMAC0_PTP_CLK		3
328c2ecf20Sopenharmony_ci#define CCU_SYS_GMAC1_TX_CLK		4
338c2ecf20Sopenharmony_ci#define CCU_SYS_GMAC1_PTP_CLK		5
348c2ecf20Sopenharmony_ci#define CCU_SYS_XGMAC_REF_CLK		6
358c2ecf20Sopenharmony_ci#define CCU_SYS_XGMAC_PTP_CLK		7
368c2ecf20Sopenharmony_ci#define CCU_SYS_USB_CLK			8
378c2ecf20Sopenharmony_ci#define CCU_SYS_PVT_CLK			9
388c2ecf20Sopenharmony_ci#define CCU_SYS_HWA_CLK			10
398c2ecf20Sopenharmony_ci#define CCU_SYS_UART_CLK		11
408c2ecf20Sopenharmony_ci#define CCU_SYS_I2C1_CLK		12
418c2ecf20Sopenharmony_ci#define CCU_SYS_I2C2_CLK		13
428c2ecf20Sopenharmony_ci#define CCU_SYS_GPIO_CLK		14
438c2ecf20Sopenharmony_ci#define CCU_SYS_TIMER0_CLK		15
448c2ecf20Sopenharmony_ci#define CCU_SYS_TIMER1_CLK		16
458c2ecf20Sopenharmony_ci#define CCU_SYS_TIMER2_CLK		17
468c2ecf20Sopenharmony_ci#define CCU_SYS_WDT_CLK			18
478c2ecf20Sopenharmony_ci
488c2ecf20Sopenharmony_ci#endif /* __DT_BINDINGS_CLOCK_BT1_CCU_H */
49