1 1.1 jmcneill /* $NetBSD: axg-clkc.h,v 1.1.1.3 2021/11/07 16:50:00 jmcneill Exp $ */ 2 1.1 jmcneill 3 1.1 jmcneill /* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ 4 1.1 jmcneill /* 5 1.1 jmcneill * Meson-AXG clock tree IDs 6 1.1 jmcneill * 7 1.1 jmcneill * Copyright (c) 2017 Amlogic, Inc. All rights reserved. 8 1.1 jmcneill */ 9 1.1 jmcneill 10 1.1 jmcneill #ifndef __AXG_CLKC_H 11 1.1 jmcneill #define __AXG_CLKC_H 12 1.1 jmcneill 13 1.1 jmcneill #define CLKID_SYS_PLL 0 14 1.1 jmcneill #define CLKID_FIXED_PLL 1 15 1.1 jmcneill #define CLKID_FCLK_DIV2 2 16 1.1 jmcneill #define CLKID_FCLK_DIV3 3 17 1.1 jmcneill #define CLKID_FCLK_DIV4 4 18 1.1 jmcneill #define CLKID_FCLK_DIV5 5 19 1.1 jmcneill #define CLKID_FCLK_DIV7 6 20 1.1 jmcneill #define CLKID_GP0_PLL 7 21 1.1 jmcneill #define CLKID_CLK81 10 22 1.1 jmcneill #define CLKID_MPLL0 11 23 1.1 jmcneill #define CLKID_MPLL1 12 24 1.1 jmcneill #define CLKID_MPLL2 13 25 1.1 jmcneill #define CLKID_MPLL3 14 26 1.1 jmcneill #define CLKID_DDR 15 27 1.1 jmcneill #define CLKID_AUDIO_LOCKER 16 28 1.1 jmcneill #define CLKID_MIPI_DSI_HOST 17 29 1.1 jmcneill #define CLKID_ISA 18 30 1.1 jmcneill #define CLKID_PL301 19 31 1.1 jmcneill #define CLKID_PERIPHS 20 32 1.1 jmcneill #define CLKID_SPICC0 21 33 1.1 jmcneill #define CLKID_I2C 22 34 1.1 jmcneill #define CLKID_RNG0 23 35 1.1 jmcneill #define CLKID_UART0 24 36 1.1 jmcneill #define CLKID_MIPI_DSI_PHY 25 37 1.1 jmcneill #define CLKID_SPICC1 26 38 1.1 jmcneill #define CLKID_PCIE_A 27 39 1.1 jmcneill #define CLKID_PCIE_B 28 40 1.1 jmcneill #define CLKID_HIU_IFACE 29 41 1.1 jmcneill #define CLKID_ASSIST_MISC 30 42 1.1 jmcneill #define CLKID_SD_EMMC_B 31 43 1.1 jmcneill #define CLKID_SD_EMMC_C 32 44 1.1 jmcneill #define CLKID_DMA 33 45 1.1 jmcneill #define CLKID_SPI 34 46 1.1 jmcneill #define CLKID_AUDIO 35 47 1.1 jmcneill #define CLKID_ETH 36 48 1.1 jmcneill #define CLKID_UART1 37 49 1.1 jmcneill #define CLKID_G2D 38 50 1.1 jmcneill #define CLKID_USB0 39 51 1.1 jmcneill #define CLKID_USB1 40 52 1.1 jmcneill #define CLKID_RESET 41 53 1.1 jmcneill #define CLKID_USB 42 54 1.1 jmcneill #define CLKID_AHB_ARB0 43 55 1.1 jmcneill #define CLKID_EFUSE 44 56 1.1 jmcneill #define CLKID_BOOT_ROM 45 57 1.1 jmcneill #define CLKID_AHB_DATA_BUS 46 58 1.1 jmcneill #define CLKID_AHB_CTRL_BUS 47 59 1.1 jmcneill #define CLKID_USB1_DDR_BRIDGE 48 60 1.1 jmcneill #define CLKID_USB0_DDR_BRIDGE 49 61 1.1 jmcneill #define CLKID_MMC_PCLK 50 62 1.1 jmcneill #define CLKID_VPU_INTR 51 63 1.1 jmcneill #define CLKID_SEC_AHB_AHB3_BRIDGE 52 64 1.1 jmcneill #define CLKID_GIC 53 65 1.1 jmcneill #define CLKID_AO_MEDIA_CPU 54 66 1.1 jmcneill #define CLKID_AO_AHB_SRAM 55 67 1.1 jmcneill #define CLKID_AO_AHB_BUS 56 68 1.1 jmcneill #define CLKID_AO_IFACE 57 69 1.1 jmcneill #define CLKID_AO_I2C 58 70 1.1 jmcneill #define CLKID_SD_EMMC_B_CLK0 59 71 1.1 jmcneill #define CLKID_SD_EMMC_C_CLK0 60 72 1.1 jmcneill #define CLKID_HIFI_PLL 69 73 1.1.1.2 jmcneill #define CLKID_PCIE_CML_EN0 79 74 1.1.1.2 jmcneill #define CLKID_PCIE_CML_EN1 80 75 1.1.1.2 jmcneill #define CLKID_GEN_CLK 84 76 1.1.1.3 jmcneill #define CLKID_VPU_0_SEL 92 77 1.1.1.3 jmcneill #define CLKID_VPU_0 93 78 1.1.1.3 jmcneill #define CLKID_VPU_1_SEL 95 79 1.1.1.3 jmcneill #define CLKID_VPU_1 96 80 1.1.1.3 jmcneill #define CLKID_VPU 97 81 1.1.1.3 jmcneill #define CLKID_VAPB_0_SEL 99 82 1.1.1.3 jmcneill #define CLKID_VAPB_0 100 83 1.1.1.3 jmcneill #define CLKID_VAPB_1_SEL 102 84 1.1.1.3 jmcneill #define CLKID_VAPB_1 103 85 1.1.1.3 jmcneill #define CLKID_VAPB_SEL 104 86 1.1.1.3 jmcneill #define CLKID_VAPB 105 87 1.1.1.3 jmcneill #define CLKID_VCLK 106 88 1.1.1.3 jmcneill #define CLKID_VCLK2 107 89 1.1.1.3 jmcneill #define CLKID_VCLK_DIV1 122 90 1.1.1.3 jmcneill #define CLKID_VCLK_DIV2 123 91 1.1.1.3 jmcneill #define CLKID_VCLK_DIV4 124 92 1.1.1.3 jmcneill #define CLKID_VCLK_DIV6 125 93 1.1.1.3 jmcneill #define CLKID_VCLK_DIV12 126 94 1.1.1.3 jmcneill #define CLKID_VCLK2_DIV1 127 95 1.1.1.3 jmcneill #define CLKID_VCLK2_DIV2 128 96 1.1.1.3 jmcneill #define CLKID_VCLK2_DIV4 129 97 1.1.1.3 jmcneill #define CLKID_VCLK2_DIV6 130 98 1.1.1.3 jmcneill #define CLKID_VCLK2_DIV12 131 99 1.1.1.3 jmcneill #define CLKID_CTS_ENCL 133 100 1.1.1.3 jmcneill #define CLKID_VDIN_MEAS 136 101 1.1 jmcneill 102 1.1 jmcneill #endif /* __AXG_CLKC_H */ 103