14a85e826SThéo Lebrun /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ 24a85e826SThéo Lebrun /* 34a85e826SThéo Lebrun * Copyright (C) 2024 Mobileye Vision Technologies Ltd. 44a85e826SThéo Lebrun */ 54a85e826SThéo Lebrun 64a85e826SThéo Lebrun #ifndef _DT_BINDINGS_CLOCK_MOBILEYE_EYEQ5_CLK_H 74a85e826SThéo Lebrun #define _DT_BINDINGS_CLOCK_MOBILEYE_EYEQ5_CLK_H 84a85e826SThéo Lebrun 94a85e826SThéo Lebrun #define EQ5C_PLL_CPU 0 104a85e826SThéo Lebrun #define EQ5C_PLL_VMP 1 114a85e826SThéo Lebrun #define EQ5C_PLL_PMA 2 124a85e826SThéo Lebrun #define EQ5C_PLL_VDI 3 134a85e826SThéo Lebrun #define EQ5C_PLL_DDR0 4 144a85e826SThéo Lebrun #define EQ5C_PLL_PCI 5 154a85e826SThéo Lebrun #define EQ5C_PLL_PER 6 164a85e826SThéo Lebrun #define EQ5C_PLL_PMAC 7 174a85e826SThéo Lebrun #define EQ5C_PLL_MPC 8 184a85e826SThéo Lebrun #define EQ5C_PLL_DDR1 9 194a85e826SThéo Lebrun 204a85e826SThéo Lebrun #define EQ5C_DIV_OSPI 10 214a85e826SThéo Lebrun 22*6a46b75aSThéo Lebrun /* EQ5C_PLL_CPU children */ 23*6a46b75aSThéo Lebrun #define EQ5C_CPU_CORE0 11 24*6a46b75aSThéo Lebrun #define EQ5C_CPU_CORE1 12 25*6a46b75aSThéo Lebrun #define EQ5C_CPU_CORE2 13 26*6a46b75aSThéo Lebrun #define EQ5C_CPU_CORE3 14 27*6a46b75aSThéo Lebrun 28*6a46b75aSThéo Lebrun /* EQ5C_PLL_PER children */ 29*6a46b75aSThéo Lebrun #define EQ5C_PER_OCC 15 30*6a46b75aSThéo Lebrun #define EQ5C_PER_UART 16 31*6a46b75aSThéo Lebrun #define EQ5C_PER_SPI 17 32*6a46b75aSThéo Lebrun #define EQ5C_PER_I2C 18 33*6a46b75aSThéo Lebrun #define EQ5C_PER_GPIO 19 34*6a46b75aSThéo Lebrun #define EQ5C_PER_EMMC 20 35*6a46b75aSThéo Lebrun #define EQ5C_PER_OCC_PCI 21 36*6a46b75aSThéo Lebrun 37bae7aff5SThéo Lebrun #define EQ6LC_PLL_DDR 0 38bae7aff5SThéo Lebrun #define EQ6LC_PLL_CPU 1 39bae7aff5SThéo Lebrun #define EQ6LC_PLL_PER 2 40bae7aff5SThéo Lebrun #define EQ6LC_PLL_VDI 3 41bae7aff5SThéo Lebrun 42*6a46b75aSThéo Lebrun #define EQ6HC_CENTRAL_PLL_CPU 0 43*6a46b75aSThéo Lebrun #define EQ6HC_CENTRAL_CPU_OCC 1 44*6a46b75aSThéo Lebrun 45*6a46b75aSThéo Lebrun #define EQ6HC_WEST_PLL_PER 0 46*6a46b75aSThéo Lebrun #define EQ6HC_WEST_PER_OCC 1 47*6a46b75aSThéo Lebrun #define EQ6HC_WEST_PER_UART 2 48*6a46b75aSThéo Lebrun 49bae7aff5SThéo Lebrun #define EQ6HC_SOUTH_PLL_VDI 0 50bae7aff5SThéo Lebrun #define EQ6HC_SOUTH_PLL_PCIE 1 51bae7aff5SThéo Lebrun #define EQ6HC_SOUTH_PLL_PER 2 52bae7aff5SThéo Lebrun #define EQ6HC_SOUTH_PLL_ISP 3 53bae7aff5SThéo Lebrun 54bae7aff5SThéo Lebrun #define EQ6HC_SOUTH_DIV_EMMC 4 55bae7aff5SThéo Lebrun #define EQ6HC_SOUTH_DIV_OSPI_REF 5 56bae7aff5SThéo Lebrun #define EQ6HC_SOUTH_DIV_OSPI_SYS 6 57bae7aff5SThéo Lebrun #define EQ6HC_SOUTH_DIV_TSU 7 58bae7aff5SThéo Lebrun 59bae7aff5SThéo Lebrun #define EQ6HC_ACC_PLL_XNN 0 60bae7aff5SThéo Lebrun #define EQ6HC_ACC_PLL_VMP 1 61bae7aff5SThéo Lebrun #define EQ6HC_ACC_PLL_PMA 2 62bae7aff5SThéo Lebrun #define EQ6HC_ACC_PLL_MPC 3 63bae7aff5SThéo Lebrun #define EQ6HC_ACC_PLL_NOC 4 64bae7aff5SThéo Lebrun 654a85e826SThéo Lebrun #endif 66