11.1Sjmcneill/* $NetBSD: qcom,gcc-ipq4019.h,v 1.1.1.1 2017/06/15 20:14:23 jmcneill Exp $ */ 21.1Sjmcneill 31.1Sjmcneill/* Copyright (c) 2015 The Linux Foundation. All rights reserved. 41.1Sjmcneill * 51.1Sjmcneill * Permission to use, copy, modify, and/or distribute this software for any 61.1Sjmcneill * purpose with or without fee is hereby granted, provided that the above 71.1Sjmcneill * copyright notice and this permission notice appear in all copies. 81.1Sjmcneill * 91.1Sjmcneill * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 101.1Sjmcneill * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 111.1Sjmcneill * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 121.1Sjmcneill * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 131.1Sjmcneill * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 141.1Sjmcneill * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 151.1Sjmcneill * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 161.1Sjmcneill * 171.1Sjmcneill */ 181.1Sjmcneill#ifndef __QCOM_CLK_IPQ4019_H__ 191.1Sjmcneill#define __QCOM_CLK_IPQ4019_H__ 201.1Sjmcneill 211.1Sjmcneill#define GCC_DUMMY_CLK 0 221.1Sjmcneill#define AUDIO_CLK_SRC 1 231.1Sjmcneill#define BLSP1_QUP1_I2C_APPS_CLK_SRC 2 241.1Sjmcneill#define BLSP1_QUP1_SPI_APPS_CLK_SRC 3 251.1Sjmcneill#define BLSP1_QUP2_I2C_APPS_CLK_SRC 4 261.1Sjmcneill#define BLSP1_QUP2_SPI_APPS_CLK_SRC 5 271.1Sjmcneill#define BLSP1_UART1_APPS_CLK_SRC 6 281.1Sjmcneill#define BLSP1_UART2_APPS_CLK_SRC 7 291.1Sjmcneill#define GCC_USB3_MOCK_UTMI_CLK_SRC 8 301.1Sjmcneill#define GCC_APPS_CLK_SRC 9 311.1Sjmcneill#define GCC_APPS_AHB_CLK_SRC 10 321.1Sjmcneill#define GP1_CLK_SRC 11 331.1Sjmcneill#define GP2_CLK_SRC 12 341.1Sjmcneill#define GP3_CLK_SRC 13 351.1Sjmcneill#define SDCC1_APPS_CLK_SRC 14 361.1Sjmcneill#define FEPHY_125M_DLY_CLK_SRC 15 371.1Sjmcneill#define WCSS2G_CLK_SRC 16 381.1Sjmcneill#define WCSS5G_CLK_SRC 17 391.1Sjmcneill#define GCC_APSS_AHB_CLK 18 401.1Sjmcneill#define GCC_AUDIO_AHB_CLK 19 411.1Sjmcneill#define GCC_AUDIO_PWM_CLK 20 421.1Sjmcneill#define GCC_BLSP1_AHB_CLK 21 431.1Sjmcneill#define GCC_BLSP1_QUP1_I2C_APPS_CLK 22 441.1Sjmcneill#define GCC_BLSP1_QUP1_SPI_APPS_CLK 23 451.1Sjmcneill#define GCC_BLSP1_QUP2_I2C_APPS_CLK 24 461.1Sjmcneill#define GCC_BLSP1_QUP2_SPI_APPS_CLK 25 471.1Sjmcneill#define GCC_BLSP1_UART1_APPS_CLK 26 481.1Sjmcneill#define GCC_BLSP1_UART2_APPS_CLK 27 491.1Sjmcneill#define GCC_DCD_XO_CLK 28 501.1Sjmcneill#define GCC_GP1_CLK 29 511.1Sjmcneill#define GCC_GP2_CLK 30 521.1Sjmcneill#define GCC_GP3_CLK 31 531.1Sjmcneill#define GCC_BOOT_ROM_AHB_CLK 32 541.1Sjmcneill#define GCC_CRYPTO_AHB_CLK 33 551.1Sjmcneill#define GCC_CRYPTO_AXI_CLK 34 561.1Sjmcneill#define GCC_CRYPTO_CLK 35 571.1Sjmcneill#define GCC_ESS_CLK 36 581.1Sjmcneill#define GCC_IMEM_AXI_CLK 37 591.1Sjmcneill#define GCC_IMEM_CFG_AHB_CLK 38 601.1Sjmcneill#define GCC_PCIE_AHB_CLK 39 611.1Sjmcneill#define GCC_PCIE_AXI_M_CLK 40 621.1Sjmcneill#define GCC_PCIE_AXI_S_CLK 41 631.1Sjmcneill#define GCC_PCNOC_AHB_CLK 42 641.1Sjmcneill#define GCC_PRNG_AHB_CLK 43 651.1Sjmcneill#define GCC_QPIC_AHB_CLK 44 661.1Sjmcneill#define GCC_QPIC_CLK 45 671.1Sjmcneill#define GCC_SDCC1_AHB_CLK 46 681.1Sjmcneill#define GCC_SDCC1_APPS_CLK 47 691.1Sjmcneill#define GCC_SNOC_PCNOC_AHB_CLK 48 701.1Sjmcneill#define GCC_SYS_NOC_125M_CLK 49 711.1Sjmcneill#define GCC_SYS_NOC_AXI_CLK 50 721.1Sjmcneill#define GCC_TCSR_AHB_CLK 51 731.1Sjmcneill#define GCC_TLMM_AHB_CLK 52 741.1Sjmcneill#define GCC_USB2_MASTER_CLK 53 751.1Sjmcneill#define GCC_USB2_SLEEP_CLK 54 761.1Sjmcneill#define GCC_USB2_MOCK_UTMI_CLK 55 771.1Sjmcneill#define GCC_USB3_MASTER_CLK 56 781.1Sjmcneill#define GCC_USB3_SLEEP_CLK 57 791.1Sjmcneill#define GCC_USB3_MOCK_UTMI_CLK 58 801.1Sjmcneill#define GCC_WCSS2G_CLK 59 811.1Sjmcneill#define GCC_WCSS2G_REF_CLK 60 821.1Sjmcneill#define GCC_WCSS2G_RTC_CLK 61 831.1Sjmcneill#define GCC_WCSS5G_CLK 62 841.1Sjmcneill#define GCC_WCSS5G_REF_CLK 63 851.1Sjmcneill#define GCC_WCSS5G_RTC_CLK 64 861.1Sjmcneill#define GCC_APSS_DDRPLL_VCO 65 871.1Sjmcneill#define GCC_SDCC_PLLDIV_CLK 66 881.1Sjmcneill#define GCC_FEPLL_VCO 67 891.1Sjmcneill#define GCC_FEPLL125_CLK 68 901.1Sjmcneill#define GCC_FEPLL125DLY_CLK 69 911.1Sjmcneill#define GCC_FEPLL200_CLK 70 921.1Sjmcneill#define GCC_FEPLL500_CLK 71 931.1Sjmcneill#define GCC_FEPLL_WCSS2G_CLK 72 941.1Sjmcneill#define GCC_FEPLL_WCSS5G_CLK 73 951.1Sjmcneill#define GCC_APSS_CPU_PLLDIV_CLK 74 961.1Sjmcneill#define GCC_PCNOC_AHB_CLK_SRC 75 971.1Sjmcneill 981.1Sjmcneill#define WIFI0_CPU_INIT_RESET 0 991.1Sjmcneill#define WIFI0_RADIO_SRIF_RESET 1 1001.1Sjmcneill#define WIFI0_RADIO_WARM_RESET 2 1011.1Sjmcneill#define WIFI0_RADIO_COLD_RESET 3 1021.1Sjmcneill#define WIFI0_CORE_WARM_RESET 4 1031.1Sjmcneill#define WIFI0_CORE_COLD_RESET 5 1041.1Sjmcneill#define WIFI1_CPU_INIT_RESET 6 1051.1Sjmcneill#define WIFI1_RADIO_SRIF_RESET 7 1061.1Sjmcneill#define WIFI1_RADIO_WARM_RESET 8 1071.1Sjmcneill#define WIFI1_RADIO_COLD_RESET 9 1081.1Sjmcneill#define WIFI1_CORE_WARM_RESET 10 1091.1Sjmcneill#define WIFI1_CORE_COLD_RESET 11 1101.1Sjmcneill#define USB3_UNIPHY_PHY_ARES 12 1111.1Sjmcneill#define USB3_HSPHY_POR_ARES 13 1121.1Sjmcneill#define USB3_HSPHY_S_ARES 14 1131.1Sjmcneill#define USB2_HSPHY_POR_ARES 15 1141.1Sjmcneill#define USB2_HSPHY_S_ARES 16 1151.1Sjmcneill#define PCIE_PHY_AHB_ARES 17 1161.1Sjmcneill#define PCIE_AHB_ARES 18 1171.1Sjmcneill#define PCIE_PWR_ARES 19 1181.1Sjmcneill#define PCIE_PIPE_STICKY_ARES 20 1191.1Sjmcneill#define PCIE_AXI_M_STICKY_ARES 21 1201.1Sjmcneill#define PCIE_PHY_ARES 22 1211.1Sjmcneill#define PCIE_PARF_XPU_ARES 23 1221.1Sjmcneill#define PCIE_AXI_S_XPU_ARES 24 1231.1Sjmcneill#define PCIE_AXI_M_VMIDMT_ARES 25 1241.1Sjmcneill#define PCIE_PIPE_ARES 26 1251.1Sjmcneill#define PCIE_AXI_S_ARES 27 1261.1Sjmcneill#define PCIE_AXI_M_ARES 28 1271.1Sjmcneill#define ESS_RESET 29 1281.1Sjmcneill#define GCC_BLSP1_BCR 30 1291.1Sjmcneill#define GCC_BLSP1_QUP1_BCR 31 1301.1Sjmcneill#define GCC_BLSP1_UART1_BCR 32 1311.1Sjmcneill#define GCC_BLSP1_QUP2_BCR 33 1321.1Sjmcneill#define GCC_BLSP1_UART2_BCR 34 1331.1Sjmcneill#define GCC_BIMC_BCR 35 1341.1Sjmcneill#define GCC_TLMM_BCR 36 1351.1Sjmcneill#define GCC_IMEM_BCR 37 1361.1Sjmcneill#define GCC_ESS_BCR 38 1371.1Sjmcneill#define GCC_PRNG_BCR 39 1381.1Sjmcneill#define GCC_BOOT_ROM_BCR 40 1391.1Sjmcneill#define GCC_CRYPTO_BCR 41 1401.1Sjmcneill#define GCC_SDCC1_BCR 42 1411.1Sjmcneill#define GCC_SEC_CTRL_BCR 43 1421.1Sjmcneill#define GCC_AUDIO_BCR 44 1431.1Sjmcneill#define GCC_QPIC_BCR 45 1441.1Sjmcneill#define GCC_PCIE_BCR 46 1451.1Sjmcneill#define GCC_USB2_BCR 47 1461.1Sjmcneill#define GCC_USB2_PHY_BCR 48 1471.1Sjmcneill#define GCC_USB3_BCR 49 1481.1Sjmcneill#define GCC_USB3_PHY_BCR 50 1491.1Sjmcneill#define GCC_SYSTEM_NOC_BCR 51 1501.1Sjmcneill#define GCC_PCNOC_BCR 52 1511.1Sjmcneill#define GCC_DCD_BCR 53 1521.1Sjmcneill#define GCC_SNOC_BUS_TIMEOUT0_BCR 54 1531.1Sjmcneill#define GCC_SNOC_BUS_TIMEOUT1_BCR 55 1541.1Sjmcneill#define GCC_SNOC_BUS_TIMEOUT2_BCR 56 1551.1Sjmcneill#define GCC_SNOC_BUS_TIMEOUT3_BCR 57 1561.1Sjmcneill#define GCC_PCNOC_BUS_TIMEOUT0_BCR 58 1571.1Sjmcneill#define GCC_PCNOC_BUS_TIMEOUT1_BCR 59 1581.1Sjmcneill#define GCC_PCNOC_BUS_TIMEOUT2_BCR 60 1591.1Sjmcneill#define GCC_PCNOC_BUS_TIMEOUT3_BCR 61 1601.1Sjmcneill#define GCC_PCNOC_BUS_TIMEOUT4_BCR 62 1611.1Sjmcneill#define GCC_PCNOC_BUS_TIMEOUT5_BCR 63 1621.1Sjmcneill#define GCC_PCNOC_BUS_TIMEOUT6_BCR 64 1631.1Sjmcneill#define GCC_PCNOC_BUS_TIMEOUT7_BCR 65 1641.1Sjmcneill#define GCC_PCNOC_BUS_TIMEOUT8_BCR 66 1651.1Sjmcneill#define GCC_PCNOC_BUS_TIMEOUT9_BCR 67 1661.1Sjmcneill#define GCC_TCSR_BCR 68 1671.1Sjmcneill#define GCC_QDSS_BCR 69 1681.1Sjmcneill#define GCC_MPM_BCR 70 1691.1Sjmcneill#define GCC_SPDM_BCR 71 1701.1Sjmcneill 1711.1Sjmcneill#endif 172