162306a36Sopenharmony_ci/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * Meson-AXG clock tree IDs 462306a36Sopenharmony_ci * 562306a36Sopenharmony_ci * Copyright (c) 2017 Amlogic, Inc. All rights reserved. 662306a36Sopenharmony_ci */ 762306a36Sopenharmony_ci 862306a36Sopenharmony_ci#ifndef __AXG_CLKC_H 962306a36Sopenharmony_ci#define __AXG_CLKC_H 1062306a36Sopenharmony_ci 1162306a36Sopenharmony_ci#define CLKID_SYS_PLL 0 1262306a36Sopenharmony_ci#define CLKID_FIXED_PLL 1 1362306a36Sopenharmony_ci#define CLKID_FCLK_DIV2 2 1462306a36Sopenharmony_ci#define CLKID_FCLK_DIV3 3 1562306a36Sopenharmony_ci#define CLKID_FCLK_DIV4 4 1662306a36Sopenharmony_ci#define CLKID_FCLK_DIV5 5 1762306a36Sopenharmony_ci#define CLKID_FCLK_DIV7 6 1862306a36Sopenharmony_ci#define CLKID_GP0_PLL 7 1962306a36Sopenharmony_ci#define CLKID_MPEG_SEL 8 2062306a36Sopenharmony_ci#define CLKID_MPEG_DIV 9 2162306a36Sopenharmony_ci#define CLKID_CLK81 10 2262306a36Sopenharmony_ci#define CLKID_MPLL0 11 2362306a36Sopenharmony_ci#define CLKID_MPLL1 12 2462306a36Sopenharmony_ci#define CLKID_MPLL2 13 2562306a36Sopenharmony_ci#define CLKID_MPLL3 14 2662306a36Sopenharmony_ci#define CLKID_DDR 15 2762306a36Sopenharmony_ci#define CLKID_AUDIO_LOCKER 16 2862306a36Sopenharmony_ci#define CLKID_MIPI_DSI_HOST 17 2962306a36Sopenharmony_ci#define CLKID_ISA 18 3062306a36Sopenharmony_ci#define CLKID_PL301 19 3162306a36Sopenharmony_ci#define CLKID_PERIPHS 20 3262306a36Sopenharmony_ci#define CLKID_SPICC0 21 3362306a36Sopenharmony_ci#define CLKID_I2C 22 3462306a36Sopenharmony_ci#define CLKID_RNG0 23 3562306a36Sopenharmony_ci#define CLKID_UART0 24 3662306a36Sopenharmony_ci#define CLKID_MIPI_DSI_PHY 25 3762306a36Sopenharmony_ci#define CLKID_SPICC1 26 3862306a36Sopenharmony_ci#define CLKID_PCIE_A 27 3962306a36Sopenharmony_ci#define CLKID_PCIE_B 28 4062306a36Sopenharmony_ci#define CLKID_HIU_IFACE 29 4162306a36Sopenharmony_ci#define CLKID_ASSIST_MISC 30 4262306a36Sopenharmony_ci#define CLKID_SD_EMMC_B 31 4362306a36Sopenharmony_ci#define CLKID_SD_EMMC_C 32 4462306a36Sopenharmony_ci#define CLKID_DMA 33 4562306a36Sopenharmony_ci#define CLKID_SPI 34 4662306a36Sopenharmony_ci#define CLKID_AUDIO 35 4762306a36Sopenharmony_ci#define CLKID_ETH 36 4862306a36Sopenharmony_ci#define CLKID_UART1 37 4962306a36Sopenharmony_ci#define CLKID_G2D 38 5062306a36Sopenharmony_ci#define CLKID_USB0 39 5162306a36Sopenharmony_ci#define CLKID_USB1 40 5262306a36Sopenharmony_ci#define CLKID_RESET 41 5362306a36Sopenharmony_ci#define CLKID_USB 42 5462306a36Sopenharmony_ci#define CLKID_AHB_ARB0 43 5562306a36Sopenharmony_ci#define CLKID_EFUSE 44 5662306a36Sopenharmony_ci#define CLKID_BOOT_ROM 45 5762306a36Sopenharmony_ci#define CLKID_AHB_DATA_BUS 46 5862306a36Sopenharmony_ci#define CLKID_AHB_CTRL_BUS 47 5962306a36Sopenharmony_ci#define CLKID_USB1_DDR_BRIDGE 48 6062306a36Sopenharmony_ci#define CLKID_USB0_DDR_BRIDGE 49 6162306a36Sopenharmony_ci#define CLKID_MMC_PCLK 50 6262306a36Sopenharmony_ci#define CLKID_VPU_INTR 51 6362306a36Sopenharmony_ci#define CLKID_SEC_AHB_AHB3_BRIDGE 52 6462306a36Sopenharmony_ci#define CLKID_GIC 53 6562306a36Sopenharmony_ci#define CLKID_AO_MEDIA_CPU 54 6662306a36Sopenharmony_ci#define CLKID_AO_AHB_SRAM 55 6762306a36Sopenharmony_ci#define CLKID_AO_AHB_BUS 56 6862306a36Sopenharmony_ci#define CLKID_AO_IFACE 57 6962306a36Sopenharmony_ci#define CLKID_AO_I2C 58 7062306a36Sopenharmony_ci#define CLKID_SD_EMMC_B_CLK0 59 7162306a36Sopenharmony_ci#define CLKID_SD_EMMC_C_CLK0 60 7262306a36Sopenharmony_ci#define CLKID_SD_EMMC_B_CLK0_SEL 61 7362306a36Sopenharmony_ci#define CLKID_SD_EMMC_B_CLK0_DIV 62 7462306a36Sopenharmony_ci#define CLKID_SD_EMMC_C_CLK0_SEL 63 7562306a36Sopenharmony_ci#define CLKID_SD_EMMC_C_CLK0_DIV 64 7662306a36Sopenharmony_ci#define CLKID_MPLL0_DIV 65 7762306a36Sopenharmony_ci#define CLKID_MPLL1_DIV 66 7862306a36Sopenharmony_ci#define CLKID_MPLL2_DIV 67 7962306a36Sopenharmony_ci#define CLKID_MPLL3_DIV 68 8062306a36Sopenharmony_ci#define CLKID_HIFI_PLL 69 8162306a36Sopenharmony_ci#define CLKID_MPLL_PREDIV 70 8262306a36Sopenharmony_ci#define CLKID_FCLK_DIV2_DIV 71 8362306a36Sopenharmony_ci#define CLKID_FCLK_DIV3_DIV 72 8462306a36Sopenharmony_ci#define CLKID_FCLK_DIV4_DIV 73 8562306a36Sopenharmony_ci#define CLKID_FCLK_DIV5_DIV 74 8662306a36Sopenharmony_ci#define CLKID_FCLK_DIV7_DIV 75 8762306a36Sopenharmony_ci#define CLKID_PCIE_PLL 76 8862306a36Sopenharmony_ci#define CLKID_PCIE_MUX 77 8962306a36Sopenharmony_ci#define CLKID_PCIE_REF 78 9062306a36Sopenharmony_ci#define CLKID_PCIE_CML_EN0 79 9162306a36Sopenharmony_ci#define CLKID_PCIE_CML_EN1 80 9262306a36Sopenharmony_ci#define CLKID_GEN_CLK_SEL 82 9362306a36Sopenharmony_ci#define CLKID_GEN_CLK_DIV 83 9462306a36Sopenharmony_ci#define CLKID_GEN_CLK 84 9562306a36Sopenharmony_ci#define CLKID_SYS_PLL_DCO 85 9662306a36Sopenharmony_ci#define CLKID_FIXED_PLL_DCO 86 9762306a36Sopenharmony_ci#define CLKID_GP0_PLL_DCO 87 9862306a36Sopenharmony_ci#define CLKID_HIFI_PLL_DCO 88 9962306a36Sopenharmony_ci#define CLKID_PCIE_PLL_DCO 89 10062306a36Sopenharmony_ci#define CLKID_PCIE_PLL_OD 90 10162306a36Sopenharmony_ci#define CLKID_VPU_0_DIV 91 10262306a36Sopenharmony_ci#define CLKID_VPU_0_SEL 92 10362306a36Sopenharmony_ci#define CLKID_VPU_0 93 10462306a36Sopenharmony_ci#define CLKID_VPU_1_DIV 94 10562306a36Sopenharmony_ci#define CLKID_VPU_1_SEL 95 10662306a36Sopenharmony_ci#define CLKID_VPU_1 96 10762306a36Sopenharmony_ci#define CLKID_VPU 97 10862306a36Sopenharmony_ci#define CLKID_VAPB_0_DIV 98 10962306a36Sopenharmony_ci#define CLKID_VAPB_0_SEL 99 11062306a36Sopenharmony_ci#define CLKID_VAPB_0 100 11162306a36Sopenharmony_ci#define CLKID_VAPB_1_DIV 101 11262306a36Sopenharmony_ci#define CLKID_VAPB_1_SEL 102 11362306a36Sopenharmony_ci#define CLKID_VAPB_1 103 11462306a36Sopenharmony_ci#define CLKID_VAPB_SEL 104 11562306a36Sopenharmony_ci#define CLKID_VAPB 105 11662306a36Sopenharmony_ci#define CLKID_VCLK 106 11762306a36Sopenharmony_ci#define CLKID_VCLK2 107 11862306a36Sopenharmony_ci#define CLKID_VCLK_SEL 108 11962306a36Sopenharmony_ci#define CLKID_VCLK2_SEL 109 12062306a36Sopenharmony_ci#define CLKID_VCLK_INPUT 110 12162306a36Sopenharmony_ci#define CLKID_VCLK2_INPUT 111 12262306a36Sopenharmony_ci#define CLKID_VCLK_DIV 112 12362306a36Sopenharmony_ci#define CLKID_VCLK2_DIV 113 12462306a36Sopenharmony_ci#define CLKID_VCLK_DIV2_EN 114 12562306a36Sopenharmony_ci#define CLKID_VCLK_DIV4_EN 115 12662306a36Sopenharmony_ci#define CLKID_VCLK_DIV6_EN 116 12762306a36Sopenharmony_ci#define CLKID_VCLK_DIV12_EN 117 12862306a36Sopenharmony_ci#define CLKID_VCLK2_DIV2_EN 118 12962306a36Sopenharmony_ci#define CLKID_VCLK2_DIV4_EN 119 13062306a36Sopenharmony_ci#define CLKID_VCLK2_DIV6_EN 120 13162306a36Sopenharmony_ci#define CLKID_VCLK2_DIV12_EN 121 13262306a36Sopenharmony_ci#define CLKID_VCLK_DIV1 122 13362306a36Sopenharmony_ci#define CLKID_VCLK_DIV2 123 13462306a36Sopenharmony_ci#define CLKID_VCLK_DIV4 124 13562306a36Sopenharmony_ci#define CLKID_VCLK_DIV6 125 13662306a36Sopenharmony_ci#define CLKID_VCLK_DIV12 126 13762306a36Sopenharmony_ci#define CLKID_VCLK2_DIV1 127 13862306a36Sopenharmony_ci#define CLKID_VCLK2_DIV2 128 13962306a36Sopenharmony_ci#define CLKID_VCLK2_DIV4 129 14062306a36Sopenharmony_ci#define CLKID_VCLK2_DIV6 130 14162306a36Sopenharmony_ci#define CLKID_VCLK2_DIV12 131 14262306a36Sopenharmony_ci#define CLKID_CTS_ENCL_SEL 132 14362306a36Sopenharmony_ci#define CLKID_CTS_ENCL 133 14462306a36Sopenharmony_ci#define CLKID_VDIN_MEAS_SEL 134 14562306a36Sopenharmony_ci#define CLKID_VDIN_MEAS_DIV 135 14662306a36Sopenharmony_ci#define CLKID_VDIN_MEAS 136 14762306a36Sopenharmony_ci 14862306a36Sopenharmony_ci#endif /* __AXG_CLKC_H */ 149