162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0+ */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * Copyright (C) 2016 Freescale Semiconductor, Inc. 462306a36Sopenharmony_ci * Copyright 2017~2018 NXP 562306a36Sopenharmony_ci * 662306a36Sopenharmony_ci */ 762306a36Sopenharmony_ci 862306a36Sopenharmony_ci#ifndef __DT_BINDINGS_CLOCK_IMX7ULP_H 962306a36Sopenharmony_ci#define __DT_BINDINGS_CLOCK_IMX7ULP_H 1062306a36Sopenharmony_ci 1162306a36Sopenharmony_ci/* SCG1 */ 1262306a36Sopenharmony_ci 1362306a36Sopenharmony_ci#define IMX7ULP_CLK_DUMMY 0 1462306a36Sopenharmony_ci#define IMX7ULP_CLK_ROSC 1 1562306a36Sopenharmony_ci#define IMX7ULP_CLK_SOSC 2 1662306a36Sopenharmony_ci#define IMX7ULP_CLK_FIRC 3 1762306a36Sopenharmony_ci#define IMX7ULP_CLK_SPLL_PRE_SEL 4 1862306a36Sopenharmony_ci#define IMX7ULP_CLK_SPLL_PRE_DIV 5 1962306a36Sopenharmony_ci#define IMX7ULP_CLK_SPLL 6 2062306a36Sopenharmony_ci#define IMX7ULP_CLK_SPLL_POST_DIV1 7 2162306a36Sopenharmony_ci#define IMX7ULP_CLK_SPLL_POST_DIV2 8 2262306a36Sopenharmony_ci#define IMX7ULP_CLK_SPLL_PFD0 9 2362306a36Sopenharmony_ci#define IMX7ULP_CLK_SPLL_PFD1 10 2462306a36Sopenharmony_ci#define IMX7ULP_CLK_SPLL_PFD2 11 2562306a36Sopenharmony_ci#define IMX7ULP_CLK_SPLL_PFD3 12 2662306a36Sopenharmony_ci#define IMX7ULP_CLK_SPLL_PFD_SEL 13 2762306a36Sopenharmony_ci#define IMX7ULP_CLK_SPLL_SEL 14 2862306a36Sopenharmony_ci#define IMX7ULP_CLK_APLL_PRE_SEL 15 2962306a36Sopenharmony_ci#define IMX7ULP_CLK_APLL_PRE_DIV 16 3062306a36Sopenharmony_ci#define IMX7ULP_CLK_APLL 17 3162306a36Sopenharmony_ci#define IMX7ULP_CLK_APLL_POST_DIV1 18 3262306a36Sopenharmony_ci#define IMX7ULP_CLK_APLL_POST_DIV2 19 3362306a36Sopenharmony_ci#define IMX7ULP_CLK_APLL_PFD0 20 3462306a36Sopenharmony_ci#define IMX7ULP_CLK_APLL_PFD1 21 3562306a36Sopenharmony_ci#define IMX7ULP_CLK_APLL_PFD2 22 3662306a36Sopenharmony_ci#define IMX7ULP_CLK_APLL_PFD3 23 3762306a36Sopenharmony_ci#define IMX7ULP_CLK_APLL_PFD_SEL 24 3862306a36Sopenharmony_ci#define IMX7ULP_CLK_APLL_SEL 25 3962306a36Sopenharmony_ci#define IMX7ULP_CLK_UPLL 26 4062306a36Sopenharmony_ci#define IMX7ULP_CLK_SYS_SEL 27 4162306a36Sopenharmony_ci#define IMX7ULP_CLK_CORE_DIV 28 4262306a36Sopenharmony_ci#define IMX7ULP_CLK_BUS_DIV 29 4362306a36Sopenharmony_ci#define IMX7ULP_CLK_PLAT_DIV 30 4462306a36Sopenharmony_ci#define IMX7ULP_CLK_DDR_SEL 31 4562306a36Sopenharmony_ci#define IMX7ULP_CLK_DDR_DIV 32 4662306a36Sopenharmony_ci#define IMX7ULP_CLK_NIC_SEL 33 4762306a36Sopenharmony_ci#define IMX7ULP_CLK_NIC0_DIV 34 4862306a36Sopenharmony_ci#define IMX7ULP_CLK_GPU_DIV 35 4962306a36Sopenharmony_ci#define IMX7ULP_CLK_NIC1_DIV 36 5062306a36Sopenharmony_ci#define IMX7ULP_CLK_NIC1_BUS_DIV 37 5162306a36Sopenharmony_ci#define IMX7ULP_CLK_NIC1_EXT_DIV 38 5262306a36Sopenharmony_ci/* IMX7ULP_CLK_MIPI_PLL is unsupported and shouldn't be used in DT */ 5362306a36Sopenharmony_ci#define IMX7ULP_CLK_MIPI_PLL 39 5462306a36Sopenharmony_ci#define IMX7ULP_CLK_SIRC 40 5562306a36Sopenharmony_ci#define IMX7ULP_CLK_SOSC_BUS_CLK 41 5662306a36Sopenharmony_ci#define IMX7ULP_CLK_FIRC_BUS_CLK 42 5762306a36Sopenharmony_ci#define IMX7ULP_CLK_SPLL_BUS_CLK 43 5862306a36Sopenharmony_ci#define IMX7ULP_CLK_HSRUN_SYS_SEL 44 5962306a36Sopenharmony_ci#define IMX7ULP_CLK_HSRUN_CORE_DIV 45 6062306a36Sopenharmony_ci 6162306a36Sopenharmony_ci#define IMX7ULP_CLK_CORE 46 6262306a36Sopenharmony_ci#define IMX7ULP_CLK_HSRUN_CORE 47 6362306a36Sopenharmony_ci 6462306a36Sopenharmony_ci#define IMX7ULP_CLK_SCG1_END 48 6562306a36Sopenharmony_ci 6662306a36Sopenharmony_ci/* PCC2 */ 6762306a36Sopenharmony_ci#define IMX7ULP_CLK_DMA1 0 6862306a36Sopenharmony_ci#define IMX7ULP_CLK_RGPIO2P1 1 6962306a36Sopenharmony_ci#define IMX7ULP_CLK_FLEXBUS 2 7062306a36Sopenharmony_ci#define IMX7ULP_CLK_SEMA42_1 3 7162306a36Sopenharmony_ci#define IMX7ULP_CLK_DMA_MUX1 4 7262306a36Sopenharmony_ci#define IMX7ULP_CLK_CAAM 6 7362306a36Sopenharmony_ci#define IMX7ULP_CLK_LPTPM4 7 7462306a36Sopenharmony_ci#define IMX7ULP_CLK_LPTPM5 8 7562306a36Sopenharmony_ci#define IMX7ULP_CLK_LPIT1 9 7662306a36Sopenharmony_ci#define IMX7ULP_CLK_LPSPI2 10 7762306a36Sopenharmony_ci#define IMX7ULP_CLK_LPSPI3 11 7862306a36Sopenharmony_ci#define IMX7ULP_CLK_LPI2C4 12 7962306a36Sopenharmony_ci#define IMX7ULP_CLK_LPI2C5 13 8062306a36Sopenharmony_ci#define IMX7ULP_CLK_LPUART4 14 8162306a36Sopenharmony_ci#define IMX7ULP_CLK_LPUART5 15 8262306a36Sopenharmony_ci#define IMX7ULP_CLK_FLEXIO1 16 8362306a36Sopenharmony_ci#define IMX7ULP_CLK_USB0 17 8462306a36Sopenharmony_ci#define IMX7ULP_CLK_USB1 18 8562306a36Sopenharmony_ci#define IMX7ULP_CLK_USB_PHY 19 8662306a36Sopenharmony_ci#define IMX7ULP_CLK_USB_PL301 20 8762306a36Sopenharmony_ci#define IMX7ULP_CLK_USDHC0 21 8862306a36Sopenharmony_ci#define IMX7ULP_CLK_USDHC1 22 8962306a36Sopenharmony_ci#define IMX7ULP_CLK_WDG1 23 9062306a36Sopenharmony_ci#define IMX7ULP_CLK_WDG2 24 9162306a36Sopenharmony_ci 9262306a36Sopenharmony_ci#define IMX7ULP_CLK_PCC2_END 25 9362306a36Sopenharmony_ci 9462306a36Sopenharmony_ci/* PCC3 */ 9562306a36Sopenharmony_ci#define IMX7ULP_CLK_LPTPM6 0 9662306a36Sopenharmony_ci#define IMX7ULP_CLK_LPTPM7 1 9762306a36Sopenharmony_ci#define IMX7ULP_CLK_LPI2C6 2 9862306a36Sopenharmony_ci#define IMX7ULP_CLK_LPI2C7 3 9962306a36Sopenharmony_ci#define IMX7ULP_CLK_LPUART6 4 10062306a36Sopenharmony_ci#define IMX7ULP_CLK_LPUART7 5 10162306a36Sopenharmony_ci#define IMX7ULP_CLK_VIU 6 10262306a36Sopenharmony_ci#define IMX7ULP_CLK_DSI 7 10362306a36Sopenharmony_ci#define IMX7ULP_CLK_LCDIF 8 10462306a36Sopenharmony_ci#define IMX7ULP_CLK_MMDC 9 10562306a36Sopenharmony_ci#define IMX7ULP_CLK_PCTLC 10 10662306a36Sopenharmony_ci#define IMX7ULP_CLK_PCTLD 11 10762306a36Sopenharmony_ci#define IMX7ULP_CLK_PCTLE 12 10862306a36Sopenharmony_ci#define IMX7ULP_CLK_PCTLF 13 10962306a36Sopenharmony_ci#define IMX7ULP_CLK_GPU3D 14 11062306a36Sopenharmony_ci#define IMX7ULP_CLK_GPU2D 15 11162306a36Sopenharmony_ci 11262306a36Sopenharmony_ci#define IMX7ULP_CLK_PCC3_END 16 11362306a36Sopenharmony_ci 11462306a36Sopenharmony_ci/* SMC1 */ 11562306a36Sopenharmony_ci#define IMX7ULP_CLK_ARM 0 11662306a36Sopenharmony_ci 11762306a36Sopenharmony_ci#define IMX7ULP_CLK_SMC1_END 1 11862306a36Sopenharmony_ci 11962306a36Sopenharmony_ci#endif /* __DT_BINDINGS_CLOCK_IMX7ULP_H */ 120