1*af013592SPeng Fan /* 2*af013592SPeng Fan * Copyright (C) 2016 Freescale Semiconductor, Inc. 3*af013592SPeng Fan * 4*af013592SPeng Fan * SPDX-License-Identifier: GPL-2.0+ 5*af013592SPeng Fan */ 6*af013592SPeng Fan 7*af013592SPeng Fan #ifndef __MX7D_RDC_H__ 8*af013592SPeng Fan #define __MX7D_RDC_H__ 9*af013592SPeng Fan 10*af013592SPeng Fan #define RDC_SEMA_PROC_ID 2 /* The processor ID for main CPU */ 11*af013592SPeng Fan 12*af013592SPeng Fan enum { 13*af013592SPeng Fan RDC_PER_GPIO1 = 0, 14*af013592SPeng Fan RDC_PER_GPIO2, 15*af013592SPeng Fan RDC_PER_GPIO3, 16*af013592SPeng Fan RDC_PER_GPIO4, 17*af013592SPeng Fan RDC_PER_GPIO5, 18*af013592SPeng Fan RDC_PER_GPIO6, 19*af013592SPeng Fan RDC_PER_GPIO7, 20*af013592SPeng Fan RDC_PER_IOMUXC_LPSR_GPR, 21*af013592SPeng Fan RDC_PER_WDOG1, 22*af013592SPeng Fan RDC_PER_WDOG2, 23*af013592SPeng Fan RDC_PER_WDOG3, 24*af013592SPeng Fan RDC_PER_WDOG4, 25*af013592SPeng Fan RDC_PER_IOMUXC_LPSR, 26*af013592SPeng Fan RDC_PER_GPT1, 27*af013592SPeng Fan RDC_PER_GPT2, 28*af013592SPeng Fan RDC_PER_GPT3, 29*af013592SPeng Fan RDC_PER_GPT4, 30*af013592SPeng Fan RDC_PER_ROMCP, 31*af013592SPeng Fan RDC_PER_KPP, 32*af013592SPeng Fan RDC_PER_IOMUXC, 33*af013592SPeng Fan RDC_PER_IOMUXCGPR, 34*af013592SPeng Fan RDC_PER_OCOTP, 35*af013592SPeng Fan RDC_PER_ANATOP_DIG, 36*af013592SPeng Fan RDC_PER_SNVS_HP, 37*af013592SPeng Fan RDC_PER_CCM, 38*af013592SPeng Fan RDC_PER_SRC, 39*af013592SPeng Fan RDC_PER_GPC, 40*af013592SPeng Fan RDC_PER_SEMA1, 41*af013592SPeng Fan RDC_PER_SEMA2, 42*af013592SPeng Fan RDC_PER_RDC, 43*af013592SPeng Fan RDC_PER_CSU, 44*af013592SPeng Fan RDC_PER_RESERVED1, 45*af013592SPeng Fan RDC_PER_RESERVED2, 46*af013592SPeng Fan RDC_PER_ADC1, 47*af013592SPeng Fan RDC_PER_ADC2, 48*af013592SPeng Fan RDC_PER_ECSPI4, 49*af013592SPeng Fan RDC_PER_FLEX_TIMER1, 50*af013592SPeng Fan RDC_PER_FLEX_TIMER2, 51*af013592SPeng Fan RDC_PER_PWM1, 52*af013592SPeng Fan RDC_PER_PWM2, 53*af013592SPeng Fan RDC_PER_PWM3, 54*af013592SPeng Fan RDC_PER_PWM4, 55*af013592SPeng Fan RDC_PER_SYSTEM_COUNTER_READ, 56*af013592SPeng Fan RDC_PER_SYSTEM_COUNTER_COMPARE, 57*af013592SPeng Fan RDC_PER_SYSTEM_COUNTER_CONTROL, 58*af013592SPeng Fan RDC_PER_PCIE_PHY, 59*af013592SPeng Fan RDC_PER_RESERVED3, 60*af013592SPeng Fan RDC_PER_EPDC, 61*af013592SPeng Fan RDC_PER_PXP, 62*af013592SPeng Fan RDC_PER_CSI, 63*af013592SPeng Fan RDC_PER_RESERVED4, 64*af013592SPeng Fan RDC_PER_LCDIF, 65*af013592SPeng Fan RDC_PER_RESERVED5, 66*af013592SPeng Fan RDC_PER_MIPI_CSI, 67*af013592SPeng Fan RDC_PER_MIPI_DSI, 68*af013592SPeng Fan RDC_PER_RESERVED6, 69*af013592SPeng Fan RDC_PER_TZASC, 70*af013592SPeng Fan RDC_PER_DDR_PHY, 71*af013592SPeng Fan RDC_PER_DDRC, 72*af013592SPeng Fan RDC_PER_RESERVED7, 73*af013592SPeng Fan RDC_PER_PERFMON1, 74*af013592SPeng Fan RDC_PER_PERFMON2, 75*af013592SPeng Fan RDC_PER_AXI_DEBUG_MON, 76*af013592SPeng Fan RDC_PER_QOSC, 77*af013592SPeng Fan RDC_PER_FLEXCAN1, 78*af013592SPeng Fan RDC_PER_FLEXCAN2, 79*af013592SPeng Fan RDC_PER_I2C1, 80*af013592SPeng Fan RDC_PER_I2C2, 81*af013592SPeng Fan RDC_PER_I2C3, 82*af013592SPeng Fan RDC_PER_I2C4, 83*af013592SPeng Fan RDC_PER_UART4, 84*af013592SPeng Fan RDC_PER_UART5, 85*af013592SPeng Fan RDC_PER_UART6, 86*af013592SPeng Fan RDC_PER_UART7, 87*af013592SPeng Fan RDC_PER_MU_A, 88*af013592SPeng Fan RDC_PER_MU_B, 89*af013592SPeng Fan RDC_PER_SEMAPHORE_HS, 90*af013592SPeng Fan RDC_PER_USB_PL301, 91*af013592SPeng Fan RDC_PER_RESERVED8, 92*af013592SPeng Fan RDC_PER_RESERVED9, 93*af013592SPeng Fan RDC_PER_RESERVED10, 94*af013592SPeng Fan RDC_PER_USB1, 95*af013592SPeng Fan RDC_PER_USB2, 96*af013592SPeng Fan RDC_PER_USB3, 97*af013592SPeng Fan RDC_PER_USDHC1, 98*af013592SPeng Fan RDC_PER_USDHC2, 99*af013592SPeng Fan RDC_PER_USDHC3, 100*af013592SPeng Fan RDC_PER_RESERVED11, 101*af013592SPeng Fan RDC_PER_RESERVED12, 102*af013592SPeng Fan RDC_PER_SIM1, 103*af013592SPeng Fan RDC_PER_SIM2, 104*af013592SPeng Fan RDC_PER_QSPI, 105*af013592SPeng Fan RDC_PER_WEIM, 106*af013592SPeng Fan RDC_PER_SDMA, 107*af013592SPeng Fan RDC_PER_ENET1, 108*af013592SPeng Fan RDC_PER_ENET2, 109*af013592SPeng Fan RDC_PER_RESERVED13, 110*af013592SPeng Fan RDC_PER_RESERVED14, 111*af013592SPeng Fan RDC_PER_ECSPI1, 112*af013592SPeng Fan RDC_PER_ECSPI2, 113*af013592SPeng Fan RDC_PER_ECSPI3, 114*af013592SPeng Fan RDC_PER_RESERVED15, 115*af013592SPeng Fan RDC_PER_UART1, 116*af013592SPeng Fan RDC_PER_UART2, 117*af013592SPeng Fan RDC_PER_UART3, 118*af013592SPeng Fan RDC_PER_RESERVED16, 119*af013592SPeng Fan RDC_PER_SAI1, 120*af013592SPeng Fan RDC_PER_SAI2, 121*af013592SPeng Fan RDC_PER_SAI3, 122*af013592SPeng Fan RDC_PER_RESERVED17, 123*af013592SPeng Fan RDC_PER_RESERVED18, 124*af013592SPeng Fan RDC_PER_SPBA, 125*af013592SPeng Fan RDC_PER_DAP, 126*af013592SPeng Fan RDC_PER_RESERVED19, 127*af013592SPeng Fan RDC_PER_RESERVED20, 128*af013592SPeng Fan RDC_PER_RESERVED21, 129*af013592SPeng Fan RDC_PER_CAAM, 130*af013592SPeng Fan RDC_PER_RESERVED22, 131*af013592SPeng Fan }; 132*af013592SPeng Fan 133*af013592SPeng Fan enum { 134*af013592SPeng Fan RDC_MA_A7 = 0, 135*af013592SPeng Fan RDC_MA_M4, 136*af013592SPeng Fan RDC_MA_PCIE, 137*af013592SPeng Fan RDC_MA_CSI, 138*af013592SPeng Fan RDC_MA_EPDC, 139*af013592SPeng Fan RDC_MA_LCDIF, 140*af013592SPeng Fan RDC_MA_DISPLAY_PORT, 141*af013592SPeng Fan RDC_MA_PXP, 142*af013592SPeng Fan RDC_MA_CORESIGHT, 143*af013592SPeng Fan RDC_MA_DAP, 144*af013592SPeng Fan RDC_MA_CAAM, 145*af013592SPeng Fan RDC_MA_SDMA_PERI, 146*af013592SPeng Fan RDC_MA_SDMA_BURST, 147*af013592SPeng Fan RDC_MA_APBHDMA, 148*af013592SPeng Fan RDC_MA_RAWNAND, 149*af013592SPeng Fan RDC_MA_USDHC1, 150*af013592SPeng Fan RDC_MA_USDHC2, 151*af013592SPeng Fan RDC_MA_USDHC3, 152*af013592SPeng Fan RDC_MA_NC1, 153*af013592SPeng Fan RDC_MA_USB, 154*af013592SPeng Fan RDC_MA_NC2, 155*af013592SPeng Fan RDC_MA_TEST, 156*af013592SPeng Fan RDC_MA_ENET1_TX, 157*af013592SPeng Fan RDC_MA_ENET1_RX, 158*af013592SPeng Fan RDC_MA_ENET2_TX, 159*af013592SPeng Fan RDC_MA_ENET2_RX, 160*af013592SPeng Fan RDC_MA_SDMA, 161*af013592SPeng Fan }; 162*af013592SPeng Fan 163*af013592SPeng Fan #endif /* __MX7D_RDC_H__*/ 164