1 /* $NetBSD: qcom,gcc-ipq8074.h,v 1.1.1.1.2.2 2017/12/03 11:38:35 jdolecek Exp $ */ 2 3 /* 4 * Copyright (c) 2016-2017, The Linux Foundation. All rights reserved. 5 * 6 * This software is licensed under the terms of the GNU General Public 7 * License version 2, as published by the Free Software Foundation, and 8 * may be copied, distributed, and modified under those terms. 9 * 10 * This program is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU General Public License for more details. 14 */ 15 16 #ifndef _DT_BINDINGS_CLOCK_IPQ_GCC_8074_H 17 #define _DT_BINDINGS_CLOCK_IPQ_GCC_8074_H 18 19 #define GPLL0 0 20 #define GPLL0_MAIN 1 21 #define GCC_SLEEP_CLK_SRC 2 22 #define BLSP1_QUP1_I2C_APPS_CLK_SRC 3 23 #define BLSP1_QUP1_SPI_APPS_CLK_SRC 4 24 #define BLSP1_QUP2_I2C_APPS_CLK_SRC 5 25 #define BLSP1_QUP2_SPI_APPS_CLK_SRC 6 26 #define BLSP1_QUP3_I2C_APPS_CLK_SRC 7 27 #define BLSP1_QUP3_SPI_APPS_CLK_SRC 8 28 #define BLSP1_QUP4_I2C_APPS_CLK_SRC 9 29 #define BLSP1_QUP4_SPI_APPS_CLK_SRC 10 30 #define BLSP1_QUP5_I2C_APPS_CLK_SRC 11 31 #define BLSP1_QUP5_SPI_APPS_CLK_SRC 12 32 #define BLSP1_QUP6_I2C_APPS_CLK_SRC 13 33 #define BLSP1_QUP6_SPI_APPS_CLK_SRC 14 34 #define BLSP1_UART1_APPS_CLK_SRC 15 35 #define BLSP1_UART2_APPS_CLK_SRC 16 36 #define BLSP1_UART3_APPS_CLK_SRC 17 37 #define BLSP1_UART4_APPS_CLK_SRC 18 38 #define BLSP1_UART5_APPS_CLK_SRC 19 39 #define BLSP1_UART6_APPS_CLK_SRC 20 40 #define GCC_BLSP1_AHB_CLK 21 41 #define GCC_BLSP1_QUP1_I2C_APPS_CLK 22 42 #define GCC_BLSP1_QUP1_SPI_APPS_CLK 23 43 #define GCC_BLSP1_QUP2_I2C_APPS_CLK 24 44 #define GCC_BLSP1_QUP2_SPI_APPS_CLK 25 45 #define GCC_BLSP1_QUP3_I2C_APPS_CLK 26 46 #define GCC_BLSP1_QUP3_SPI_APPS_CLK 27 47 #define GCC_BLSP1_QUP4_I2C_APPS_CLK 28 48 #define GCC_BLSP1_QUP4_SPI_APPS_CLK 29 49 #define GCC_BLSP1_QUP5_I2C_APPS_CLK 30 50 #define GCC_BLSP1_QUP5_SPI_APPS_CLK 31 51 #define GCC_BLSP1_QUP6_I2C_APPS_CLK 32 52 #define GCC_BLSP1_QUP6_SPI_APPS_CLK 33 53 #define GCC_BLSP1_UART1_APPS_CLK 34 54 #define GCC_BLSP1_UART2_APPS_CLK 35 55 #define GCC_BLSP1_UART3_APPS_CLK 36 56 #define GCC_BLSP1_UART4_APPS_CLK 37 57 #define GCC_BLSP1_UART5_APPS_CLK 38 58 #define GCC_BLSP1_UART6_APPS_CLK 39 59 #define GCC_PRNG_AHB_CLK 40 60 #define GCC_QPIC_AHB_CLK 41 61 #define GCC_QPIC_CLK 42 62 #define PCNOC_BFDCD_CLK_SRC 43 63 64 #define GCC_BLSP1_BCR 0 65 #define GCC_BLSP1_QUP1_BCR 1 66 #define GCC_BLSP1_UART1_BCR 2 67 #define GCC_BLSP1_QUP2_BCR 3 68 #define GCC_BLSP1_UART2_BCR 4 69 #define GCC_BLSP1_QUP3_BCR 5 70 #define GCC_BLSP1_UART3_BCR 6 71 #define GCC_BLSP1_QUP4_BCR 7 72 #define GCC_BLSP1_UART4_BCR 8 73 #define GCC_BLSP1_QUP5_BCR 9 74 #define GCC_BLSP1_UART5_BCR 10 75 #define GCC_BLSP1_QUP6_BCR 11 76 #define GCC_BLSP1_UART6_BCR 12 77 #define GCC_IMEM_BCR 13 78 #define GCC_SMMU_BCR 14 79 #define GCC_APSS_TCU_BCR 15 80 #define GCC_SMMU_XPU_BCR 16 81 #define GCC_PCNOC_TBU_BCR 17 82 #define GCC_SMMU_CFG_BCR 18 83 #define GCC_PRNG_BCR 19 84 #define GCC_BOOT_ROM_BCR 20 85 #define GCC_CRYPTO_BCR 21 86 #define GCC_WCSS_BCR 22 87 #define GCC_WCSS_Q6_BCR 23 88 #define GCC_NSS_BCR 24 89 #define GCC_SEC_CTRL_BCR 25 90 #define GCC_ADSS_BCR 26 91 #define GCC_DDRSS_BCR 27 92 #define GCC_SYSTEM_NOC_BCR 28 93 #define GCC_PCNOC_BCR 29 94 #define GCC_TCSR_BCR 30 95 #define GCC_QDSS_BCR 31 96 #define GCC_DCD_BCR 32 97 #define GCC_MSG_RAM_BCR 33 98 #define GCC_MPM_BCR 34 99 #define GCC_SPMI_BCR 35 100 #define GCC_SPDM_BCR 36 101 #define GCC_RBCPR_BCR 37 102 #define GCC_RBCPR_MX_BCR 38 103 #define GCC_TLMM_BCR 39 104 #define GCC_RBCPR_WCSS_BCR 40 105 #define GCC_USB0_PHY_BCR 41 106 #define GCC_USB3PHY_0_PHY_BCR 42 107 #define GCC_USB0_BCR 43 108 #define GCC_USB1_PHY_BCR 44 109 #define GCC_USB3PHY_1_PHY_BCR 45 110 #define GCC_USB1_BCR 46 111 #define GCC_QUSB2_0_PHY_BCR 47 112 #define GCC_QUSB2_1_PHY_BCR 48 113 #define GCC_SDCC1_BCR 49 114 #define GCC_SDCC2_BCR 50 115 #define GCC_SNOC_BUS_TIMEOUT0_BCR 51 116 #define GCC_SNOC_BUS_TIMEOUT2_BCR 52 117 #define GCC_SNOC_BUS_TIMEOUT3_BCR 53 118 #define GCC_PCNOC_BUS_TIMEOUT0_BCR 54 119 #define GCC_PCNOC_BUS_TIMEOUT1_BCR 55 120 #define GCC_PCNOC_BUS_TIMEOUT2_BCR 56 121 #define GCC_PCNOC_BUS_TIMEOUT3_BCR 57 122 #define GCC_PCNOC_BUS_TIMEOUT4_BCR 58 123 #define GCC_PCNOC_BUS_TIMEOUT5_BCR 59 124 #define GCC_PCNOC_BUS_TIMEOUT6_BCR 60 125 #define GCC_PCNOC_BUS_TIMEOUT7_BCR 61 126 #define GCC_PCNOC_BUS_TIMEOUT8_BCR 62 127 #define GCC_PCNOC_BUS_TIMEOUT9_BCR 63 128 #define GCC_UNIPHY0_BCR 64 129 #define GCC_UNIPHY1_BCR 65 130 #define GCC_UNIPHY2_BCR 66 131 #define GCC_CMN_12GPLL_BCR 67 132 #define GCC_QPIC_BCR 68 133 #define GCC_MDIO_BCR 69 134 #define GCC_PCIE1_TBU_BCR 70 135 #define GCC_WCSS_CORE_TBU_BCR 71 136 #define GCC_WCSS_Q6_TBU_BCR 72 137 #define GCC_USB0_TBU_BCR 73 138 #define GCC_USB1_TBU_BCR 74 139 #define GCC_PCIE0_TBU_BCR 75 140 #define GCC_NSS_NOC_TBU_BCR 76 141 #define GCC_PCIE0_BCR 77 142 #define GCC_PCIE0_PHY_BCR 78 143 #define GCC_PCIE0PHY_PHY_BCR 79 144 #define GCC_PCIE0_LINK_DOWN_BCR 80 145 #define GCC_PCIE1_BCR 81 146 #define GCC_PCIE1_PHY_BCR 82 147 #define GCC_PCIE1PHY_PHY_BCR 83 148 #define GCC_PCIE1_LINK_DOWN_BCR 84 149 #define GCC_DCC_BCR 85 150 #define GCC_APC0_VOLTAGE_DROOP_DETECTOR_BCR 86 151 #define GCC_APC1_VOLTAGE_DROOP_DETECTOR_BCR 87 152 #define GCC_SMMU_CATS_BCR 88 153 154 #endif 155