1*354d7675SEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0-only */ 2*354d7675SEmmanuel Vadot /* 3*354d7675SEmmanuel Vadot * Copyright (c) 2020, Konrad Dybcio 4*354d7675SEmmanuel Vadot */ 5*354d7675SEmmanuel Vadot 6*354d7675SEmmanuel Vadot #ifndef _DT_BINDINGS_CLK_MSM_MMCC_8994_H 7*354d7675SEmmanuel Vadot #define _DT_BINDINGS_CLK_MSM_MMCC_8994_H 8*354d7675SEmmanuel Vadot 9*354d7675SEmmanuel Vadot /* Clocks */ 10*354d7675SEmmanuel Vadot #define MMPLL0_EARLY 0 11*354d7675SEmmanuel Vadot #define MMPLL0_PLL 1 12*354d7675SEmmanuel Vadot #define MMPLL1_EARLY 2 13*354d7675SEmmanuel Vadot #define MMPLL1_PLL 3 14*354d7675SEmmanuel Vadot #define MMPLL3_EARLY 4 15*354d7675SEmmanuel Vadot #define MMPLL3_PLL 5 16*354d7675SEmmanuel Vadot #define MMPLL4_EARLY 6 17*354d7675SEmmanuel Vadot #define MMPLL4_PLL 7 18*354d7675SEmmanuel Vadot #define MMPLL5_EARLY 8 19*354d7675SEmmanuel Vadot #define MMPLL5_PLL 9 20*354d7675SEmmanuel Vadot #define AXI_CLK_SRC 10 21*354d7675SEmmanuel Vadot #define RBBMTIMER_CLK_SRC 11 22*354d7675SEmmanuel Vadot #define PCLK0_CLK_SRC 12 23*354d7675SEmmanuel Vadot #define PCLK1_CLK_SRC 13 24*354d7675SEmmanuel Vadot #define MDP_CLK_SRC 14 25*354d7675SEmmanuel Vadot #define VSYNC_CLK_SRC 15 26*354d7675SEmmanuel Vadot #define BYTE0_CLK_SRC 16 27*354d7675SEmmanuel Vadot #define BYTE1_CLK_SRC 17 28*354d7675SEmmanuel Vadot #define ESC0_CLK_SRC 18 29*354d7675SEmmanuel Vadot #define ESC1_CLK_SRC 19 30*354d7675SEmmanuel Vadot #define MDSS_AHB_CLK 20 31*354d7675SEmmanuel Vadot #define MDSS_PCLK0_CLK 21 32*354d7675SEmmanuel Vadot #define MDSS_PCLK1_CLK 22 33*354d7675SEmmanuel Vadot #define MDSS_VSYNC_CLK 23 34*354d7675SEmmanuel Vadot #define MDSS_BYTE0_CLK 24 35*354d7675SEmmanuel Vadot #define MDSS_BYTE1_CLK 25 36*354d7675SEmmanuel Vadot #define MDSS_ESC0_CLK 26 37*354d7675SEmmanuel Vadot #define MDSS_ESC1_CLK 27 38*354d7675SEmmanuel Vadot #define CSI0_CLK_SRC 28 39*354d7675SEmmanuel Vadot #define CSI1_CLK_SRC 29 40*354d7675SEmmanuel Vadot #define CSI2_CLK_SRC 30 41*354d7675SEmmanuel Vadot #define CSI3_CLK_SRC 31 42*354d7675SEmmanuel Vadot #define VFE0_CLK_SRC 32 43*354d7675SEmmanuel Vadot #define VFE1_CLK_SRC 33 44*354d7675SEmmanuel Vadot #define CPP_CLK_SRC 34 45*354d7675SEmmanuel Vadot #define JPEG0_CLK_SRC 35 46*354d7675SEmmanuel Vadot #define JPEG1_CLK_SRC 36 47*354d7675SEmmanuel Vadot #define JPEG2_CLK_SRC 37 48*354d7675SEmmanuel Vadot #define CSI2PHYTIMER_CLK_SRC 38 49*354d7675SEmmanuel Vadot #define FD_CORE_CLK_SRC 39 50*354d7675SEmmanuel Vadot #define OCMEMNOC_CLK_SRC 40 51*354d7675SEmmanuel Vadot #define CCI_CLK_SRC 41 52*354d7675SEmmanuel Vadot #define MMSS_GP0_CLK_SRC 42 53*354d7675SEmmanuel Vadot #define MMSS_GP1_CLK_SRC 43 54*354d7675SEmmanuel Vadot #define JPEG_DMA_CLK_SRC 44 55*354d7675SEmmanuel Vadot #define MCLK0_CLK_SRC 45 56*354d7675SEmmanuel Vadot #define MCLK1_CLK_SRC 46 57*354d7675SEmmanuel Vadot #define MCLK2_CLK_SRC 47 58*354d7675SEmmanuel Vadot #define MCLK3_CLK_SRC 48 59*354d7675SEmmanuel Vadot #define CSI0PHYTIMER_CLK_SRC 49 60*354d7675SEmmanuel Vadot #define CSI1PHYTIMER_CLK_SRC 50 61*354d7675SEmmanuel Vadot #define EXTPCLK_CLK_SRC 51 62*354d7675SEmmanuel Vadot #define HDMI_CLK_SRC 52 63*354d7675SEmmanuel Vadot #define CAMSS_AHB_CLK 53 64*354d7675SEmmanuel Vadot #define CAMSS_CCI_CCI_AHB_CLK 54 65*354d7675SEmmanuel Vadot #define CAMSS_CCI_CCI_CLK 55 66*354d7675SEmmanuel Vadot #define CAMSS_VFE_CPP_AHB_CLK 56 67*354d7675SEmmanuel Vadot #define CAMSS_VFE_CPP_AXI_CLK 57 68*354d7675SEmmanuel Vadot #define CAMSS_VFE_CPP_CLK 58 69*354d7675SEmmanuel Vadot #define CAMSS_CSI0_AHB_CLK 59 70*354d7675SEmmanuel Vadot #define CAMSS_CSI0_CLK 60 71*354d7675SEmmanuel Vadot #define CAMSS_CSI0PHY_CLK 61 72*354d7675SEmmanuel Vadot #define CAMSS_CSI0PIX_CLK 62 73*354d7675SEmmanuel Vadot #define CAMSS_CSI0RDI_CLK 63 74*354d7675SEmmanuel Vadot #define CAMSS_CSI1_AHB_CLK 64 75*354d7675SEmmanuel Vadot #define CAMSS_CSI1_CLK 65 76*354d7675SEmmanuel Vadot #define CAMSS_CSI1PHY_CLK 66 77*354d7675SEmmanuel Vadot #define CAMSS_CSI1PIX_CLK 67 78*354d7675SEmmanuel Vadot #define CAMSS_CSI1RDI_CLK 68 79*354d7675SEmmanuel Vadot #define CAMSS_CSI2_AHB_CLK 69 80*354d7675SEmmanuel Vadot #define CAMSS_CSI2_CLK 70 81*354d7675SEmmanuel Vadot #define CAMSS_CSI2PHY_CLK 71 82*354d7675SEmmanuel Vadot #define CAMSS_CSI2PIX_CLK 72 83*354d7675SEmmanuel Vadot #define CAMSS_CSI2RDI_CLK 73 84*354d7675SEmmanuel Vadot #define CAMSS_CSI3_AHB_CLK 74 85*354d7675SEmmanuel Vadot #define CAMSS_CSI3_CLK 75 86*354d7675SEmmanuel Vadot #define CAMSS_CSI3PHY_CLK 76 87*354d7675SEmmanuel Vadot #define CAMSS_CSI3PIX_CLK 77 88*354d7675SEmmanuel Vadot #define CAMSS_CSI3RDI_CLK 78 89*354d7675SEmmanuel Vadot #define CAMSS_CSI_VFE0_CLK 79 90*354d7675SEmmanuel Vadot #define CAMSS_CSI_VFE1_CLK 80 91*354d7675SEmmanuel Vadot #define CAMSS_GP0_CLK 81 92*354d7675SEmmanuel Vadot #define CAMSS_GP1_CLK 82 93*354d7675SEmmanuel Vadot #define CAMSS_ISPIF_AHB_CLK 83 94*354d7675SEmmanuel Vadot #define CAMSS_JPEG_DMA_CLK 84 95*354d7675SEmmanuel Vadot #define CAMSS_JPEG_JPEG0_CLK 85 96*354d7675SEmmanuel Vadot #define CAMSS_JPEG_JPEG1_CLK 86 97*354d7675SEmmanuel Vadot #define CAMSS_JPEG_JPEG2_CLK 87 98*354d7675SEmmanuel Vadot #define CAMSS_JPEG_JPEG_AHB_CLK 88 99*354d7675SEmmanuel Vadot #define CAMSS_JPEG_JPEG_AXI_CLK 89 100*354d7675SEmmanuel Vadot #define CAMSS_MCLK0_CLK 90 101*354d7675SEmmanuel Vadot #define CAMSS_MCLK1_CLK 91 102*354d7675SEmmanuel Vadot #define CAMSS_MCLK2_CLK 92 103*354d7675SEmmanuel Vadot #define CAMSS_MCLK3_CLK 93 104*354d7675SEmmanuel Vadot #define CAMSS_MICRO_AHB_CLK 94 105*354d7675SEmmanuel Vadot #define CAMSS_PHY0_CSI0PHYTIMER_CLK 95 106*354d7675SEmmanuel Vadot #define CAMSS_PHY1_CSI1PHYTIMER_CLK 96 107*354d7675SEmmanuel Vadot #define CAMSS_PHY2_CSI2PHYTIMER_CLK 97 108*354d7675SEmmanuel Vadot #define CAMSS_TOP_AHB_CLK 98 109*354d7675SEmmanuel Vadot #define CAMSS_VFE_VFE0_CLK 99 110*354d7675SEmmanuel Vadot #define CAMSS_VFE_VFE1_CLK 100 111*354d7675SEmmanuel Vadot #define CAMSS_VFE_VFE_AHB_CLK 101 112*354d7675SEmmanuel Vadot #define CAMSS_VFE_VFE_AXI_CLK 102 113*354d7675SEmmanuel Vadot #define FD_AXI_CLK 103 114*354d7675SEmmanuel Vadot #define FD_CORE_CLK 104 115*354d7675SEmmanuel Vadot #define FD_CORE_UAR_CLK 105 116*354d7675SEmmanuel Vadot #define MDSS_AXI_CLK 106 117*354d7675SEmmanuel Vadot #define MDSS_EXTPCLK_CLK 107 118*354d7675SEmmanuel Vadot #define MDSS_HDMI_AHB_CLK 108 119*354d7675SEmmanuel Vadot #define MDSS_HDMI_CLK 109 120*354d7675SEmmanuel Vadot #define MDSS_MDP_CLK 110 121*354d7675SEmmanuel Vadot #define MMSS_MISC_AHB_CLK 111 122*354d7675SEmmanuel Vadot #define MMSS_MMSSNOC_AXI_CLK 112 123*354d7675SEmmanuel Vadot #define MMSS_S0_AXI_CLK 113 124*354d7675SEmmanuel Vadot #define OCMEMCX_OCMEMNOC_CLK 114 125*354d7675SEmmanuel Vadot #define OXILI_GFX3D_CLK 115 126*354d7675SEmmanuel Vadot #define OXILI_RBBMTIMER_CLK 116 127*354d7675SEmmanuel Vadot #define OXILICX_AHB_CLK 117 128*354d7675SEmmanuel Vadot #define VENUS0_AHB_CLK 118 129*354d7675SEmmanuel Vadot #define VENUS0_AXI_CLK 119 130*354d7675SEmmanuel Vadot #define VENUS0_OCMEMNOC_CLK 120 131*354d7675SEmmanuel Vadot #define VENUS0_VCODEC0_CLK 121 132*354d7675SEmmanuel Vadot #define VENUS0_CORE0_VCODEC_CLK 122 133*354d7675SEmmanuel Vadot #define VENUS0_CORE1_VCODEC_CLK 123 134*354d7675SEmmanuel Vadot #define VENUS0_CORE2_VCODEC_CLK 124 135*354d7675SEmmanuel Vadot #define AHB_CLK_SRC 125 136*354d7675SEmmanuel Vadot #define FD_AHB_CLK 126 137*354d7675SEmmanuel Vadot 138*354d7675SEmmanuel Vadot /* GDSCs */ 139*354d7675SEmmanuel Vadot #define VENUS_GDSC 0 140*354d7675SEmmanuel Vadot #define VENUS_CORE0_GDSC 1 141*354d7675SEmmanuel Vadot #define VENUS_CORE1_GDSC 2 142*354d7675SEmmanuel Vadot #define VENUS_CORE2_GDSC 3 143*354d7675SEmmanuel Vadot #define CAMSS_TOP_GDSC 4 144*354d7675SEmmanuel Vadot #define MDSS_GDSC 5 145*354d7675SEmmanuel Vadot #define JPEG_GDSC 6 146*354d7675SEmmanuel Vadot #define VFE_GDSC 7 147*354d7675SEmmanuel Vadot #define CPP_GDSC 8 148*354d7675SEmmanuel Vadot #define OXILI_GX_GDSC 9 149*354d7675SEmmanuel Vadot #define OXILI_CX_GDSC 10 150*354d7675SEmmanuel Vadot #define FD_GDSC 11 151*354d7675SEmmanuel Vadot 152*354d7675SEmmanuel Vadot /* Resets */ 153*354d7675SEmmanuel Vadot #define CAMSS_MICRO_BCR 0 154*354d7675SEmmanuel Vadot 155*354d7675SEmmanuel Vadot #endif 156