1 /* 2 * Copyright (c) 2019, Intel Corporation. All rights reserved. 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 #ifndef AGX_NOC_H 8 #define AGX_NOC_H 9 10 11 #define AXI_AP (1<<0) 12 #define FPGA2SOC (1<<16) 13 #define MPU (1<<24) 14 #define AGX_NOC_PER_SCR_NAND 0xffd21000 15 #define AGX_NOC_PER_SCR_NAND_DATA 0xffd21004 16 #define AGX_NOC_PER_SCR_USB0 0xffd2100c 17 #define AGX_NOC_PER_SCR_USB1 0xffd21010 18 #define AGX_NOC_PER_SCR_SPI_M0 0xffd2101c 19 #define AGX_NOC_PER_SCR_SPI_M1 0xffd21020 20 #define AGX_NOC_PER_SCR_SPI_S0 0xffd21024 21 #define AGX_NOC_PER_SCR_SPI_S1 0xffd21028 22 #define AGX_NOC_PER_SCR_EMAC0 0xffd2102c 23 #define AGX_NOC_PER_SCR_EMAC1 0xffd21030 24 #define AGX_NOC_PER_SCR_EMAC2 0xffd21034 25 #define AGX_NOC_PER_SCR_SDMMC 0xffd21040 26 #define AGX_NOC_PER_SCR_GPIO0 0xffd21044 27 #define AGX_NOC_PER_SCR_GPIO1 0xffd21048 28 #define AGX_NOC_PER_SCR_I2C0 0xffd21050 29 #define AGX_NOC_PER_SCR_I2C1 0xffd21058 30 #define AGX_NOC_PER_SCR_I2C2 0xffd2105c 31 #define AGX_NOC_PER_SCR_I2C3 0xffd21060 32 #define AGX_NOC_PER_SCR_SP_TIMER0 0xffd21064 33 #define AGX_NOC_PER_SCR_SP_TIMER1 0xffd21068 34 #define AGX_NOC_PER_SCR_UART0 0xffd2106c 35 #define AGX_NOC_PER_SCR_UART1 0xffd21070 36 37 38 #define AGX_NOC_SYS_SCR_DMA_ECC 0xffd21108 39 #define AGX_NOC_SYS_SCR_EMAC0RX_ECC 0xffd2110c 40 #define AGX_NOC_SYS_SCR_EMAC0TX_ECC 0xffd21110 41 #define AGX_NOC_SYS_SCR_EMAC1RX_ECC 0xffd21114 42 #define AGX_NOC_SYS_SCR_EMAC1TX_ECC 0xffd21118 43 #define AGX_NOC_SYS_SCR_EMAC2RX_ECC 0xffd2111c 44 #define AGX_NOC_SYS_SCR_EMAC2TX_ECC 0xffd21120 45 #define AGX_NOC_SYS_SCR_NAND_ECC 0xffd2112c 46 #define AGX_NOC_SYS_SCR_NAND_READ_ECC 0xffd21130 47 #define AGX_NOC_SYS_SCR_NAND_WRITE_ECC 0xffd21134 48 #define AGX_NOC_SYS_SCR_OCRAM_ECC 0xffd21138 49 #define AGX_NOC_SYS_SCR_SDMMC_ECC 0xffd21140 50 #define AGX_NOC_SYS_SCR_USB0_ECC 0xffd21144 51 #define AGX_NOC_SYS_SCR_USB1_ECC 0xffd21148 52 #define AGX_NOC_SYS_SCR_CLK_MGR 0xffd2114c 53 #define AGX_NOC_SYS_SCR_IO_MGR 0xffd21154 54 #define AGX_NOC_SYS_SCR_RST_MGR 0xffd21158 55 #define AGX_NOC_SYS_SCR_SYS_MGR 0xffd2115c 56 #define AGX_NOC_SYS_SCR_OSC0_TIMER 0xffd21160 57 #define AGX_NOC_SYS_SCR_OSC1_TIMER 0xffd21164 58 #define AGX_NOC_SYS_SCR_WATCHDOG0 0xffd21168 59 #define AGX_NOC_SYS_SCR_WATCHDOG1 0xffd2116c 60 #define AGX_NOC_SYS_SCR_WATCHDOG2 0xffd21170 61 #define AGX_NOC_SYS_SCR_WATCHDOG3 0xffd21174 62 #define AGX_NOC_SYS_SCR_DAP 0xffd21178 63 #define AGX_NOC_SYS_SCR_L4_NOC_PROBES 0xffd21190 64 #define AGX_NOC_SYS_SCR_L4_NOC_QOS 0xffd21194 65 66 #define AGX_CCU_NOC_BRIDGE_CPU0_RAM 0xf7004688 67 #define AGX_CCU_NOC_BRIDGE_IOM_RAM 0xf7004688 68 69 #endif 70