162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * m5441xsim.h -- Coldfire 5441x register definitions 462306a36Sopenharmony_ci * 562306a36Sopenharmony_ci * (C) Copyright 2012, Steven King <sfking@fdwdc.com> 662306a36Sopenharmony_ci*/ 762306a36Sopenharmony_ci 862306a36Sopenharmony_ci#ifndef m5441xsim_h 962306a36Sopenharmony_ci#define m5441xsim_h 1062306a36Sopenharmony_ci 1162306a36Sopenharmony_ci#define CPU_NAME "COLDFIRE(m5441x)" 1262306a36Sopenharmony_ci#define CPU_INSTR_PER_JIFFY 2 1362306a36Sopenharmony_ci#define MCF_BUSCLK (MCF_CLK / 2) 1462306a36Sopenharmony_ci#define MACHINE MACH_M5441X 1562306a36Sopenharmony_ci#define FPUTYPE 0 1662306a36Sopenharmony_ci#define IOMEMBASE 0xe0000000 1762306a36Sopenharmony_ci#define IOMEMSIZE 0x20000000 1862306a36Sopenharmony_ci 1962306a36Sopenharmony_ci#include <asm/m54xxacr.h> 2062306a36Sopenharmony_ci 2162306a36Sopenharmony_ci/* 2262306a36Sopenharmony_ci * Reset Controller Module. 2362306a36Sopenharmony_ci */ 2462306a36Sopenharmony_ci 2562306a36Sopenharmony_ci#define MCF_RCR 0xec090000 2662306a36Sopenharmony_ci#define MCF_RSR 0xec090001 2762306a36Sopenharmony_ci 2862306a36Sopenharmony_ci#define MCF_RCR_SWRESET 0x80 /* Software reset bit */ 2962306a36Sopenharmony_ci#define MCF_RCR_FRCSTOUT 0x40 /* Force external reset */ 3062306a36Sopenharmony_ci 3162306a36Sopenharmony_ci/* 3262306a36Sopenharmony_ci * Interrupt Controller Modules. 3362306a36Sopenharmony_ci */ 3462306a36Sopenharmony_ci/* the 5441x have 3 interrupt controllers, each control 64 interrupts */ 3562306a36Sopenharmony_ci#define MCFINT_VECBASE 64 3662306a36Sopenharmony_ci#define MCFINT0_VECBASE MCFINT_VECBASE 3762306a36Sopenharmony_ci#define MCFINT1_VECBASE (MCFINT0_VECBASE + 64) 3862306a36Sopenharmony_ci#define MCFINT2_VECBASE (MCFINT1_VECBASE + 64) 3962306a36Sopenharmony_ci 4062306a36Sopenharmony_ci/* interrupt controller 0 */ 4162306a36Sopenharmony_ci#define MCFINTC0_SIMR 0xfc04801c 4262306a36Sopenharmony_ci#define MCFINTC0_CIMR 0xfc04801d 4362306a36Sopenharmony_ci#define MCFINTC0_ICR0 0xfc048040 4462306a36Sopenharmony_ci/* interrupt controller 1 */ 4562306a36Sopenharmony_ci#define MCFINTC1_SIMR 0xfc04c01c 4662306a36Sopenharmony_ci#define MCFINTC1_CIMR 0xfc04c01d 4762306a36Sopenharmony_ci#define MCFINTC1_ICR0 0xfc04c040 4862306a36Sopenharmony_ci/* interrupt controller 2 */ 4962306a36Sopenharmony_ci#define MCFINTC2_SIMR 0xfc05001c 5062306a36Sopenharmony_ci#define MCFINTC2_CIMR 0xfc05001d 5162306a36Sopenharmony_ci#define MCFINTC2_ICR0 0xfc050040 5262306a36Sopenharmony_ci 5362306a36Sopenharmony_ci/* on interrupt controller 0 */ 5462306a36Sopenharmony_ci#define MCFINT0_EPORT0 1 5562306a36Sopenharmony_ci#define MCFINT0_UART0 26 5662306a36Sopenharmony_ci#define MCFINT0_UART1 27 5762306a36Sopenharmony_ci#define MCFINT0_UART2 28 5862306a36Sopenharmony_ci#define MCFINT0_UART3 29 5962306a36Sopenharmony_ci#define MCFINT0_I2C0 30 6062306a36Sopenharmony_ci#define MCFINT0_DSPI0 31 6162306a36Sopenharmony_ci 6262306a36Sopenharmony_ci#define MCFINT0_TIMER0 32 6362306a36Sopenharmony_ci#define MCFINT0_TIMER1 33 6462306a36Sopenharmony_ci#define MCFINT0_TIMER2 34 6562306a36Sopenharmony_ci#define MCFINT0_TIMER3 35 6662306a36Sopenharmony_ci 6762306a36Sopenharmony_ci#define MCFINT0_FECRX0 36 6862306a36Sopenharmony_ci#define MCFINT0_FECTX0 40 6962306a36Sopenharmony_ci#define MCFINT0_FECENTC0 42 7062306a36Sopenharmony_ci 7162306a36Sopenharmony_ci#define MCFINT0_FECRX1 49 7262306a36Sopenharmony_ci#define MCFINT0_FECTX1 53 7362306a36Sopenharmony_ci#define MCFINT0_FECENTC1 55 7462306a36Sopenharmony_ci 7562306a36Sopenharmony_ci/* on interrupt controller 1 */ 7662306a36Sopenharmony_ci#define MCFINT1_FLEXCAN0_IFL 0 7762306a36Sopenharmony_ci#define MCFINT1_FLEXCAN0_BOFF 1 7862306a36Sopenharmony_ci#define MCFINT1_FLEXCAN0_ERR 3 7962306a36Sopenharmony_ci#define MCFINT1_FLEXCAN1_IFL 4 8062306a36Sopenharmony_ci#define MCFINT1_FLEXCAN1_BOFF 5 8162306a36Sopenharmony_ci#define MCFINT1_FLEXCAN1_ERR 7 8262306a36Sopenharmony_ci#define MCFINT1_UART4 48 8362306a36Sopenharmony_ci#define MCFINT1_UART5 49 8462306a36Sopenharmony_ci#define MCFINT1_UART6 50 8562306a36Sopenharmony_ci#define MCFINT1_UART7 51 8662306a36Sopenharmony_ci#define MCFINT1_UART8 52 8762306a36Sopenharmony_ci#define MCFINT1_UART9 53 8862306a36Sopenharmony_ci#define MCFINT1_DSPI1 54 8962306a36Sopenharmony_ci#define MCFINT1_DSPI2 55 9062306a36Sopenharmony_ci#define MCFINT1_DSPI3 56 9162306a36Sopenharmony_ci#define MCFINT1_I2C1 57 9262306a36Sopenharmony_ci#define MCFINT1_I2C2 58 9362306a36Sopenharmony_ci#define MCFINT1_I2C3 59 9462306a36Sopenharmony_ci#define MCFINT1_I2C4 60 9562306a36Sopenharmony_ci#define MCFINT1_I2C5 61 9662306a36Sopenharmony_ci 9762306a36Sopenharmony_ci/* on interrupt controller 2 */ 9862306a36Sopenharmony_ci#define MCFINT2_PIT0 13 9962306a36Sopenharmony_ci#define MCFINT2_PIT1 14 10062306a36Sopenharmony_ci#define MCFINT2_PIT2 15 10162306a36Sopenharmony_ci#define MCFINT2_PIT3 16 10262306a36Sopenharmony_ci#define MCFINT2_RTC 26 10362306a36Sopenharmony_ci 10462306a36Sopenharmony_ci/* 10562306a36Sopenharmony_ci * PIT timer module. 10662306a36Sopenharmony_ci */ 10762306a36Sopenharmony_ci#define MCFPIT_BASE0 0xFC080000 /* Base address of TIMER0 */ 10862306a36Sopenharmony_ci#define MCFPIT_BASE1 0xFC084000 /* Base address of TIMER1 */ 10962306a36Sopenharmony_ci#define MCFPIT_BASE2 0xFC088000 /* Base address of TIMER2 */ 11062306a36Sopenharmony_ci#define MCFPIT_BASE3 0xFC08C000 /* Base address of TIMER3 */ 11162306a36Sopenharmony_ci 11262306a36Sopenharmony_ci 11362306a36Sopenharmony_ci#define MCF_IRQ_PIT1 (MCFINT2_VECBASE + MCFINT2_PIT1) 11462306a36Sopenharmony_ci 11562306a36Sopenharmony_ci/* 11662306a36Sopenharmony_ci * Power Management 11762306a36Sopenharmony_ci */ 11862306a36Sopenharmony_ci#define MCFPM_WCR 0xfc040013 11962306a36Sopenharmony_ci#define MCFPM_PPMSR0 0xfc04002c 12062306a36Sopenharmony_ci#define MCFPM_PPMCR0 0xfc04002d 12162306a36Sopenharmony_ci#define MCFPM_PPMSR1 0xfc04002e 12262306a36Sopenharmony_ci#define MCFPM_PPMCR1 0xfc04002f 12362306a36Sopenharmony_ci#define MCFPM_PPMHR0 0xfc040030 12462306a36Sopenharmony_ci#define MCFPM_PPMLR0 0xfc040034 12562306a36Sopenharmony_ci#define MCFPM_PPMHR1 0xfc040038 12662306a36Sopenharmony_ci#define MCFPM_PPMLR1 0xfc04003c 12762306a36Sopenharmony_ci#define MCFPM_LPCR 0xec090007 12862306a36Sopenharmony_ci/* 12962306a36Sopenharmony_ci * UART module. 13062306a36Sopenharmony_ci */ 13162306a36Sopenharmony_ci#define MCFUART_BASE0 0xfc060000 /* Base address of UART0 */ 13262306a36Sopenharmony_ci#define MCFUART_BASE1 0xfc064000 /* Base address of UART1 */ 13362306a36Sopenharmony_ci#define MCFUART_BASE2 0xfc068000 /* Base address of UART2 */ 13462306a36Sopenharmony_ci#define MCFUART_BASE3 0xfc06c000 /* Base address of UART3 */ 13562306a36Sopenharmony_ci#define MCFUART_BASE4 0xec060000 /* Base address of UART4 */ 13662306a36Sopenharmony_ci#define MCFUART_BASE5 0xec064000 /* Base address of UART5 */ 13762306a36Sopenharmony_ci#define MCFUART_BASE6 0xec068000 /* Base address of UART6 */ 13862306a36Sopenharmony_ci#define MCFUART_BASE7 0xec06c000 /* Base address of UART7 */ 13962306a36Sopenharmony_ci#define MCFUART_BASE8 0xec070000 /* Base address of UART8 */ 14062306a36Sopenharmony_ci#define MCFUART_BASE9 0xec074000 /* Base address of UART9 */ 14162306a36Sopenharmony_ci 14262306a36Sopenharmony_ci#define MCF_IRQ_UART0 (MCFINT0_VECBASE + MCFINT0_UART0) 14362306a36Sopenharmony_ci#define MCF_IRQ_UART1 (MCFINT0_VECBASE + MCFINT0_UART1) 14462306a36Sopenharmony_ci#define MCF_IRQ_UART2 (MCFINT0_VECBASE + MCFINT0_UART2) 14562306a36Sopenharmony_ci#define MCF_IRQ_UART3 (MCFINT0_VECBASE + MCFINT0_UART3) 14662306a36Sopenharmony_ci#define MCF_IRQ_UART4 (MCFINT1_VECBASE + MCFINT1_UART4) 14762306a36Sopenharmony_ci#define MCF_IRQ_UART5 (MCFINT1_VECBASE + MCFINT1_UART5) 14862306a36Sopenharmony_ci#define MCF_IRQ_UART6 (MCFINT1_VECBASE + MCFINT1_UART6) 14962306a36Sopenharmony_ci#define MCF_IRQ_UART7 (MCFINT1_VECBASE + MCFINT1_UART7) 15062306a36Sopenharmony_ci#define MCF_IRQ_UART8 (MCFINT1_VECBASE + MCFINT1_UART8) 15162306a36Sopenharmony_ci#define MCF_IRQ_UART9 (MCFINT1_VECBASE + MCFINT1_UART9) 15262306a36Sopenharmony_ci/* 15362306a36Sopenharmony_ci * FEC modules. 15462306a36Sopenharmony_ci */ 15562306a36Sopenharmony_ci#define MCFFEC_BASE0 0xfc0d4000 15662306a36Sopenharmony_ci#define MCFFEC_SIZE0 0x800 15762306a36Sopenharmony_ci#define MCF_IRQ_FECRX0 (MCFINT0_VECBASE + MCFINT0_FECRX0) 15862306a36Sopenharmony_ci#define MCF_IRQ_FECTX0 (MCFINT0_VECBASE + MCFINT0_FECTX0) 15962306a36Sopenharmony_ci#define MCF_IRQ_FECENTC0 (MCFINT0_VECBASE + MCFINT0_FECENTC0) 16062306a36Sopenharmony_ci 16162306a36Sopenharmony_ci#define MCFFEC_BASE1 0xfc0d8000 16262306a36Sopenharmony_ci#define MCFFEC_SIZE1 0x800 16362306a36Sopenharmony_ci#define MCF_IRQ_FECRX1 (MCFINT0_VECBASE + MCFINT0_FECRX1) 16462306a36Sopenharmony_ci#define MCF_IRQ_FECTX1 (MCFINT0_VECBASE + MCFINT0_FECTX1) 16562306a36Sopenharmony_ci#define MCF_IRQ_FECENTC1 (MCFINT0_VECBASE + MCFINT0_FECENTC1) 16662306a36Sopenharmony_ci/* 16762306a36Sopenharmony_ci * I2C modules. 16862306a36Sopenharmony_ci */ 16962306a36Sopenharmony_ci#define MCFI2C_BASE0 0xfc058000 17062306a36Sopenharmony_ci#define MCFI2C_SIZE0 0x20 17162306a36Sopenharmony_ci#define MCFI2C_BASE1 0xfc038000 17262306a36Sopenharmony_ci#define MCFI2C_SIZE1 0x20 17362306a36Sopenharmony_ci#define MCFI2C_BASE2 0xec010000 17462306a36Sopenharmony_ci#define MCFI2C_SIZE2 0x20 17562306a36Sopenharmony_ci#define MCFI2C_BASE3 0xec014000 17662306a36Sopenharmony_ci#define MCFI2C_SIZE3 0x20 17762306a36Sopenharmony_ci#define MCFI2C_BASE4 0xec018000 17862306a36Sopenharmony_ci#define MCFI2C_SIZE4 0x20 17962306a36Sopenharmony_ci#define MCFI2C_BASE5 0xec01c000 18062306a36Sopenharmony_ci#define MCFI2C_SIZE5 0x20 18162306a36Sopenharmony_ci 18262306a36Sopenharmony_ci#define MCF_IRQ_I2C0 (MCFINT0_VECBASE + MCFINT0_I2C0) 18362306a36Sopenharmony_ci#define MCF_IRQ_I2C1 (MCFINT1_VECBASE + MCFINT1_I2C1) 18462306a36Sopenharmony_ci#define MCF_IRQ_I2C2 (MCFINT1_VECBASE + MCFINT1_I2C2) 18562306a36Sopenharmony_ci#define MCF_IRQ_I2C3 (MCFINT1_VECBASE + MCFINT1_I2C3) 18662306a36Sopenharmony_ci#define MCF_IRQ_I2C4 (MCFINT1_VECBASE + MCFINT1_I2C4) 18762306a36Sopenharmony_ci#define MCF_IRQ_I2C5 (MCFINT1_VECBASE + MCFINT1_I2C5) 18862306a36Sopenharmony_ci/* 18962306a36Sopenharmony_ci * EPORT Module. 19062306a36Sopenharmony_ci */ 19162306a36Sopenharmony_ci#define MCFEPORT_EPPAR 0xfc090000 19262306a36Sopenharmony_ci#define MCFEPORT_EPIER 0xfc090003 19362306a36Sopenharmony_ci#define MCFEPORT_EPFR 0xfc090006 19462306a36Sopenharmony_ci/* 19562306a36Sopenharmony_ci * RTC Module. 19662306a36Sopenharmony_ci */ 19762306a36Sopenharmony_ci#define MCFRTC_BASE 0xfc0a8000 19862306a36Sopenharmony_ci#define MCFRTC_SIZE (0xfc0a8840 - 0xfc0a8000) 19962306a36Sopenharmony_ci#define MCF_IRQ_RTC (MCFINT2_VECBASE + MCFINT2_RTC) 20062306a36Sopenharmony_ci 20162306a36Sopenharmony_ci/* 20262306a36Sopenharmony_ci * GPIO Module. 20362306a36Sopenharmony_ci */ 20462306a36Sopenharmony_ci#define MCFGPIO_PODR_A 0xec094000 20562306a36Sopenharmony_ci#define MCFGPIO_PODR_B 0xec094001 20662306a36Sopenharmony_ci#define MCFGPIO_PODR_C 0xec094002 20762306a36Sopenharmony_ci#define MCFGPIO_PODR_D 0xec094003 20862306a36Sopenharmony_ci#define MCFGPIO_PODR_E 0xec094004 20962306a36Sopenharmony_ci#define MCFGPIO_PODR_F 0xec094005 21062306a36Sopenharmony_ci#define MCFGPIO_PODR_G 0xec094006 21162306a36Sopenharmony_ci#define MCFGPIO_PODR_H 0xec094007 21262306a36Sopenharmony_ci#define MCFGPIO_PODR_I 0xec094008 21362306a36Sopenharmony_ci#define MCFGPIO_PODR_J 0xec094009 21462306a36Sopenharmony_ci#define MCFGPIO_PODR_K 0xec09400a 21562306a36Sopenharmony_ci 21662306a36Sopenharmony_ci#define MCFGPIO_PDDR_A 0xec09400c 21762306a36Sopenharmony_ci#define MCFGPIO_PDDR_B 0xec09400d 21862306a36Sopenharmony_ci#define MCFGPIO_PDDR_C 0xec09400e 21962306a36Sopenharmony_ci#define MCFGPIO_PDDR_D 0xec09400f 22062306a36Sopenharmony_ci#define MCFGPIO_PDDR_E 0xec094010 22162306a36Sopenharmony_ci#define MCFGPIO_PDDR_F 0xec094011 22262306a36Sopenharmony_ci#define MCFGPIO_PDDR_G 0xec094012 22362306a36Sopenharmony_ci#define MCFGPIO_PDDR_H 0xec094013 22462306a36Sopenharmony_ci#define MCFGPIO_PDDR_I 0xec094014 22562306a36Sopenharmony_ci#define MCFGPIO_PDDR_J 0xec094015 22662306a36Sopenharmony_ci#define MCFGPIO_PDDR_K 0xec094016 22762306a36Sopenharmony_ci 22862306a36Sopenharmony_ci#define MCFGPIO_PPDSDR_A 0xec094018 22962306a36Sopenharmony_ci#define MCFGPIO_PPDSDR_B 0xec094019 23062306a36Sopenharmony_ci#define MCFGPIO_PPDSDR_C 0xec09401a 23162306a36Sopenharmony_ci#define MCFGPIO_PPDSDR_D 0xec09401b 23262306a36Sopenharmony_ci#define MCFGPIO_PPDSDR_E 0xec09401c 23362306a36Sopenharmony_ci#define MCFGPIO_PPDSDR_F 0xec09401d 23462306a36Sopenharmony_ci#define MCFGPIO_PPDSDR_G 0xec09401e 23562306a36Sopenharmony_ci#define MCFGPIO_PPDSDR_H 0xec09401f 23662306a36Sopenharmony_ci#define MCFGPIO_PPDSDR_I 0xec094020 23762306a36Sopenharmony_ci#define MCFGPIO_PPDSDR_J 0xec094021 23862306a36Sopenharmony_ci#define MCFGPIO_PPDSDR_K 0xec094022 23962306a36Sopenharmony_ci 24062306a36Sopenharmony_ci#define MCFGPIO_PCLRR_A 0xec094024 24162306a36Sopenharmony_ci#define MCFGPIO_PCLRR_B 0xec094025 24262306a36Sopenharmony_ci#define MCFGPIO_PCLRR_C 0xec094026 24362306a36Sopenharmony_ci#define MCFGPIO_PCLRR_D 0xec094027 24462306a36Sopenharmony_ci#define MCFGPIO_PCLRR_E 0xec094028 24562306a36Sopenharmony_ci#define MCFGPIO_PCLRR_F 0xec094029 24662306a36Sopenharmony_ci#define MCFGPIO_PCLRR_G 0xec09402a 24762306a36Sopenharmony_ci#define MCFGPIO_PCLRR_H 0xec09402b 24862306a36Sopenharmony_ci#define MCFGPIO_PCLRR_I 0xec09402c 24962306a36Sopenharmony_ci#define MCFGPIO_PCLRR_J 0xec09402d 25062306a36Sopenharmony_ci#define MCFGPIO_PCLRR_K 0xec09402e 25162306a36Sopenharmony_ci 25262306a36Sopenharmony_ci#define MCFGPIO_PAR_FBCTL 0xec094048 25362306a36Sopenharmony_ci#define MCFGPIO_PAR_BE 0xec094049 25462306a36Sopenharmony_ci#define MCFGPIO_PAR_CS 0xec09404a 25562306a36Sopenharmony_ci#define MCFGPIO_PAR_CANI2C 0xec09404b 25662306a36Sopenharmony_ci#define MCFGPIO_PAR_IRQ0H 0xec09404c 25762306a36Sopenharmony_ci#define MCFGPIO_PAR_IRQ0L 0xec09404d 25862306a36Sopenharmony_ci#define MCFGPIO_PAR_DSPIOWH 0xec09404e 25962306a36Sopenharmony_ci#define MCFGPIO_PAR_DSPIOWL 0xec09404f 26062306a36Sopenharmony_ci#define MCFGPIO_PAR_TIMER 0xec094050 26162306a36Sopenharmony_ci#define MCFGPIO_PAR_UART2 0xec094051 26262306a36Sopenharmony_ci#define MCFGPIO_PAR_UART1 0xec094052 26362306a36Sopenharmony_ci#define MCFGPIO_PAR_UART0 0xec094053 26462306a36Sopenharmony_ci#define MCFGPIO_PAR_SDHCH 0xec094054 26562306a36Sopenharmony_ci#define MCFGPIO_PAR_SDHCL 0xec094055 26662306a36Sopenharmony_ci#define MCFGPIO_PAR_SIMP0H 0xec094056 26762306a36Sopenharmony_ci#define MCFGPIO_PAR_SIMP0L 0xec094057 26862306a36Sopenharmony_ci#define MCFGPIO_PAR_SSI0H 0xec094058 26962306a36Sopenharmony_ci#define MCFGPIO_PAR_SSI0L 0xec094059 27062306a36Sopenharmony_ci#define MCFGPIO_PAR_DEBUGH1 0xec09405a 27162306a36Sopenharmony_ci#define MCFGPIO_PAR_DEBUGH0 0xec09405b 27262306a36Sopenharmony_ci#define MCFGPIO_PAR_DEBUGl 0xec09405c 27362306a36Sopenharmony_ci#define MCFGPIO_PAR_FEC 0xec09405e 27462306a36Sopenharmony_ci 27562306a36Sopenharmony_ci/* generalization for generic gpio support */ 27662306a36Sopenharmony_ci#define MCFGPIO_PODR MCFGPIO_PODR_A 27762306a36Sopenharmony_ci#define MCFGPIO_PDDR MCFGPIO_PDDR_A 27862306a36Sopenharmony_ci#define MCFGPIO_PPDR MCFGPIO_PPDSDR_A 27962306a36Sopenharmony_ci#define MCFGPIO_SETR MCFGPIO_PPDSDR_A 28062306a36Sopenharmony_ci#define MCFGPIO_CLRR MCFGPIO_PCLRR_A 28162306a36Sopenharmony_ci 28262306a36Sopenharmony_ci#define MCFGPIO_IRQ_MIN 17 28362306a36Sopenharmony_ci#define MCFGPIO_IRQ_MAX 24 28462306a36Sopenharmony_ci#define MCFGPIO_IRQ_VECBASE (MCFINT_VECBASE - MCFGPIO_IRQ_MIN) 28562306a36Sopenharmony_ci#define MCFGPIO_PIN_MAX 87 28662306a36Sopenharmony_ci 28762306a36Sopenharmony_ci/* 28862306a36Sopenharmony_ci * Phase Locked Loop (PLL) 28962306a36Sopenharmony_ci */ 29062306a36Sopenharmony_ci#define MCF_PLL_CR 0xFC0C0000 29162306a36Sopenharmony_ci#define MCF_PLL_DR 0xFC0C0004 29262306a36Sopenharmony_ci#define MCF_PLL_SR 0xFC0C0008 29362306a36Sopenharmony_ci 29462306a36Sopenharmony_ci/* 29562306a36Sopenharmony_ci * DSPI module. 29662306a36Sopenharmony_ci */ 29762306a36Sopenharmony_ci#define MCFDSPI_BASE0 0xfc05c000 29862306a36Sopenharmony_ci#define MCFDSPI_BASE1 0xfC03c000 29962306a36Sopenharmony_ci#define MCF_IRQ_DSPI0 (MCFINT0_VECBASE + MCFINT0_DSPI0) 30062306a36Sopenharmony_ci#define MCF_IRQ_DSPI1 (MCFINT1_VECBASE + MCFINT1_DSPI1) 30162306a36Sopenharmony_ci/* 30262306a36Sopenharmony_ci * eDMA module. 30362306a36Sopenharmony_ci */ 30462306a36Sopenharmony_ci#define MCFEDMA_BASE 0xfc044000 30562306a36Sopenharmony_ci#define MCFEDMA_SIZE 0x4000 30662306a36Sopenharmony_ci#define MCFINT0_EDMA_INTR0 8 30762306a36Sopenharmony_ci#define MCFINT0_EDMA_ERR 24 30862306a36Sopenharmony_ci#define MCFEDMA_EDMA_INTR16 8 30962306a36Sopenharmony_ci#define MCFEDMA_EDMA_INTR56 0 31062306a36Sopenharmony_ci#define MCFEDMA_IRQ_INTR0 (MCFINT0_VECBASE + MCFINT0_EDMA_INTR0) 31162306a36Sopenharmony_ci#define MCFEDMA_IRQ_INTR16 (MCFINT1_VECBASE + MCFEDMA_EDMA_INTR16) 31262306a36Sopenharmony_ci#define MCFEDMA_IRQ_INTR56 (MCFINT2_VECBASE + MCFEDMA_EDMA_INTR56) 31362306a36Sopenharmony_ci#define MCFEDMA_IRQ_ERR (MCFINT0_VECBASE + MCFINT0_EDMA_ERR) 31462306a36Sopenharmony_ci/* 31562306a36Sopenharmony_ci * esdhc module. 31662306a36Sopenharmony_ci */ 31762306a36Sopenharmony_ci#define MCFSDHC_BASE 0xfc0cc000 31862306a36Sopenharmony_ci#define MCFSDHC_SIZE 256 31962306a36Sopenharmony_ci#define MCFINT2_SDHC 31 32062306a36Sopenharmony_ci#define MCF_IRQ_SDHC (MCFINT2_VECBASE + MCFINT2_SDHC) 32162306a36Sopenharmony_ci#define MCFSDHC_CLK (MCFSDHC_BASE + 0x2c) 32262306a36Sopenharmony_ci 32362306a36Sopenharmony_ci/* 32462306a36Sopenharmony_ci * Flexcan module 32562306a36Sopenharmony_ci */ 32662306a36Sopenharmony_ci#define MCFFLEXCAN_BASE0 0xfc020000 32762306a36Sopenharmony_ci#define MCFFLEXCAN_BASE1 0xfc024000 32862306a36Sopenharmony_ci#define MCFFLEXCAN_SIZE 0x4000 32962306a36Sopenharmony_ci#define MCF_IRQ_IFL0 (MCFINT1_VECBASE + MCFINT1_FLEXCAN0_IFL) 33062306a36Sopenharmony_ci#define MCF_IRQ_BOFF0 (MCFINT1_VECBASE + MCFINT1_FLEXCAN0_BOFF) 33162306a36Sopenharmony_ci#define MCF_IRQ_ERR0 (MCFINT1_VECBASE + MCFINT1_FLEXCAN0_ERR) 33262306a36Sopenharmony_ci#define MCF_IRQ_IFL1 (MCFINT1_VECBASE + MCFINT1_FLEXCAN1_IFL) 33362306a36Sopenharmony_ci#define MCF_IRQ_BOFF1 (MCFINT1_VECBASE + MCFINT1_FLEXCAN1_BOFF) 33462306a36Sopenharmony_ci#define MCF_IRQ_ERR1 (MCFINT1_VECBASE + MCFINT1_FLEXCAN1_ERR) 33562306a36Sopenharmony_ci 33662306a36Sopenharmony_ci#endif /* m5441xsim_h */ 337