~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/m68k/include/asm/m54xxsim.h

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /arch/m68k/include/asm/m54xxsim.h (Architecture mips) and /arch/alpha/include/asm-alpha/m54xxsim.h (Architecture alpha)


  1 /* SPDX-License-Identifier: GPL-2.0 */              1 
  2 /*                                                
  3  *      m54xxsim.h -- ColdFire 547x/548x Syste    
  4  */                                               
  5                                                   
  6 #ifndef m54xxsim_h                                
  7 #define m54xxsim_h                                
  8                                                   
  9 #define CPU_NAME                "COLDFIRE(m54x    
 10 #define CPU_INSTR_PER_JIFFY     2                 
 11 #define MCF_BUSCLK              (MCF_CLK / 2)     
 12 #define MACHINE                 MACH_M54XX        
 13 #define FPUTYPE                 FPU_COLDFIRE      
 14 #define IOMEMBASE               MCF_MBAR          
 15 #define IOMEMSIZE               0x01000000        
 16                                                   
 17 #include <asm/m54xxacr.h>                         
 18                                                   
 19 #define MCFINT_VECBASE          64                
 20                                                   
 21 /*                                                
 22  *      Interrupt Controller Registers            
 23  */                                               
 24 #define MCFICM_INTC0            (MCF_MBAR + 0x    
 25                                                   
 26 #define MCFINTC_IPRH            0x00              
 27 #define MCFINTC_IPRL            0x04              
 28 #define MCFINTC_IMRH            0x08              
 29 #define MCFINTC_IMRL            0x0c              
 30 #define MCFINTC_INTFRCH         0x10              
 31 #define MCFINTC_INTFRCL         0x14              
 32 #define MCFINTC_IRLR            0x18              
 33 #define MCFINTC_IACKL           0x19              
 34 #define MCFINTC_ICR0            0x40              
 35                                                   
 36 /*                                                
 37  *      UART module.                              
 38  */                                               
 39 #define MCFUART_BASE0           (MCF_MBAR + 0x    
 40 #define MCFUART_BASE1           (MCF_MBAR + 0x    
 41 #define MCFUART_BASE2           (MCF_MBAR + 0x    
 42 #define MCFUART_BASE3           (MCF_MBAR + 0x    
 43                                                   
 44 /*                                                
 45  *      Define system peripheral IRQ usage.       
 46  */                                               
 47 #define MCF_IRQ_TIMER           (MCFINT_VECBAS    
 48 #define MCF_IRQ_PROFILER        (MCFINT_VECBAS    
 49 #define MCF_IRQ_I2C0            (MCFINT_VECBAS    
 50 #define MCF_IRQ_UART0           (MCFINT_VECBAS    
 51 #define MCF_IRQ_UART1           (MCFINT_VECBAS    
 52 #define MCF_IRQ_UART2           (MCFINT_VECBAS    
 53 #define MCF_IRQ_UART3           (MCFINT_VECBAS    
 54                                                   
 55 /*                                                
 56  *      Slice Timer support.                      
 57  */                                               
 58 #define MCFSLT_TIMER0           (MCF_MBAR + 0x    
 59 #define MCFSLT_TIMER1           (MCF_MBAR + 0x    
 60                                                   
 61 /*                                                
 62  *      Generic GPIO support                      
 63  */                                               
 64 #define MCFGPIO_PODR            (MCF_MBAR + 0x    
 65 #define MCFGPIO_PDDR            (MCF_MBAR + 0x    
 66 #define MCFGPIO_PPDR            (MCF_MBAR + 0x    
 67 #define MCFGPIO_SETR            (MCF_MBAR + 0x    
 68 #define MCFGPIO_CLRR            (MCF_MBAR + 0x    
 69                                                   
 70 #define MCFGPIO_PIN_MAX         136     /* 128    
 71 #define MCFGPIO_IRQ_MAX         8                 
 72 #define MCFGPIO_IRQ_VECBASE     MCFINT_VECBASE    
 73                                                   
 74 /*                                                
 75  *      EDGE Port support.                        
 76  */                                               
 77 #define MCFEPORT_EPPAR          (MCF_MBAR + 0x    
 78 #define MCFEPORT_EPDDR          (MCF_MBAR + 0x    
 79 #define MCFEPORT_EPIER          (MCF_MBAR + 0x    
 80 #define MCFEPORT_EPDR           (MCF_MBAR + 0x    
 81 #define MCFEPORT_EPPDR          (MCF_MBAR + 0x    
 82 #define MCFEPORT_EPFR           (MCF_MBAR + 0x    
 83                                                   
 84 /*                                                
 85  *      Pin Assignment register definitions       
 86  */                                               
 87 #define MCFGPIO_PAR_FBCTL       (MCF_MBAR + 0x    
 88 #define MCFGPIO_PAR_FBCS        (MCF_MBAR + 0x    
 89 #define MCFGPIO_PAR_DMA         (MCF_MBAR + 0x    
 90 #define MCFGPIO_PAR_FECI2CIRQ   (MCF_MBAR + 0x    
 91 #define MCFGPIO_PAR_PCIBG       (MCF_MBAR + 0x    
 92 #define MCFGPIO_PAR_PCIBR       (MCF_MBAR + 0x    
 93 #define MCFGPIO_PAR_PSC0        (MCF_MBAR + 0x    
 94 #define MCFGPIO_PAR_PSC1        (MCF_MBAR + 0x    
 95 #define MCFGPIO_PAR_PSC2        (MCF_MBAR + 0x    
 96 #define MCFGPIO_PAR_PSC3        (MCF_MBAR + 0x    
 97 #define MCFGPIO_PAR_DSPI        (MCF_MBAR + 0x    
 98 #define MCFGPIO_PAR_TIMER       (MCF_MBAR + 0x    
 99                                                   
100 #define MCF_PAR_SDA             (0x0008)          
101 #define MCF_PAR_SCL             (0x0004)          
102 #define MCF_PAR_PSC_TXD         (0x04)            
103 #define MCF_PAR_PSC_RXD         (0x08)            
104 #define MCF_PAR_PSC_CTS_GPIO    (0x00)            
105 #define MCF_PAR_PSC_CTS_BCLK    (0x80)            
106 #define MCF_PAR_PSC_CTS_CTS     (0xC0)            
107 #define MCF_PAR_PSC_RTS_GPIO    (0x00)            
108 #define MCF_PAR_PSC_RTS_FSYNC   (0x20)            
109 #define MCF_PAR_PSC_RTS_RTS     (0x30)            
110 #define MCF_PAR_PSC_CANRX       (0x40)            
111                                                   
112 #define MCF_PAR_FECI2CIRQ       (MCF_MBAR + 0x    
113 #define MCF_PAR_FECI2CIRQ_SDA   (1 << 3)          
114 #define MCF_PAR_FECI2CIRQ_SCL   (1 << 2)          
115                                                   
116 /*                                                
117  * I2C module.                                    
118  */                                               
119 #define MCFI2C_BASE0            (MCF_MBAR + 0x    
120 #define MCFI2C_SIZE0            0x40              
121                                                   
122 #endif  /* m54xxsim_h */                          
123                                                   

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php