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

TOMOYO Linux Cross Reference
Linux/arch/arm/mach-dove/dove.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/arm/mach-dove/dove.h (Version linux-6.12-rc7) and /arch/mips/mach-dove/dove.h (Version linux-4.4.302)


  1 /* SPDX-License-Identifier: GPL-2.0-only */         1 
  2 /* Generic definitions for Marvell Dove 88AP51    
  3                                                   
  4 #ifndef __ASM_ARCH_DOVE_H                         
  5 #define __ASM_ARCH_DOVE_H                         
  6                                                   
  7 #include "irqs.h"                                 
  8                                                   
  9 /*                                                
 10  * Marvell Dove address maps.                     
 11  *                                                
 12  * phys         virt            size              
 13  * c8000000     fdb00000        1M      Crypto    
 14  * e0000000     @runtime        128M    PCIe-0    
 15  * e8000000     @runtime        128M    PCIe-1    
 16  * f1000000     fec00000        1M      on-chi    
 17  * f1800000     fe400000        8M      on-chi    
 18  * f2000000     fee00000        1M      PCIe-0    
 19  * f2100000     fef00000        1M      PCIe-1    
 20  */                                               
 21                                                   
 22 #define DOVE_CESA_PHYS_BASE             0xc800    
 23 #define DOVE_CESA_VIRT_BASE             IOMEM(    
 24 #define DOVE_CESA_SIZE                  SZ_1M     
 25                                                   
 26 #define DOVE_PCIE0_MEM_PHYS_BASE        0xe000    
 27 #define DOVE_PCIE0_MEM_SIZE             SZ_128    
 28                                                   
 29 #define DOVE_PCIE1_MEM_PHYS_BASE        0xe800    
 30 #define DOVE_PCIE1_MEM_SIZE             SZ_128    
 31                                                   
 32 #define DOVE_BOOTROM_PHYS_BASE          0xf800    
 33 #define DOVE_BOOTROM_SIZE               SZ_128    
 34                                                   
 35 #define DOVE_SCRATCHPAD_PHYS_BASE       0xf000    
 36 #define DOVE_SCRATCHPAD_VIRT_BASE       IOMEM(    
 37 #define DOVE_SCRATCHPAD_SIZE            SZ_1M     
 38                                                   
 39 #define DOVE_SB_REGS_PHYS_BASE          0xf100    
 40 #define DOVE_SB_REGS_VIRT_BASE          IOMEM(    
 41 #define DOVE_SB_REGS_SIZE               SZ_1M     
 42                                                   
 43 #define DOVE_NB_REGS_PHYS_BASE          0xf180    
 44 #define DOVE_NB_REGS_VIRT_BASE          IOMEM(    
 45 #define DOVE_NB_REGS_SIZE               SZ_8M     
 46                                                   
 47 #define DOVE_PCIE0_IO_PHYS_BASE         0xf200    
 48 #define DOVE_PCIE0_IO_BUS_BASE          0x0000    
 49 #define DOVE_PCIE0_IO_SIZE              SZ_64K    
 50                                                   
 51 #define DOVE_PCIE1_IO_PHYS_BASE         0xf210    
 52 #define DOVE_PCIE1_IO_BUS_BASE          0x0001    
 53 #define DOVE_PCIE1_IO_SIZE              SZ_64K    
 54                                                   
 55 /*                                                
 56  * Dove Core Registers Map                        
 57  */                                               
 58                                                   
 59 /* SPI, I2C, UART */                              
 60 #define DOVE_I2C_PHYS_BASE      (DOVE_SB_REGS_    
 61 #define DOVE_UART0_PHYS_BASE    (DOVE_SB_REGS_    
 62 #define DOVE_UART0_VIRT_BASE    (DOVE_SB_REGS_    
 63 #define DOVE_UART1_PHYS_BASE    (DOVE_SB_REGS_    
 64 #define DOVE_UART1_VIRT_BASE    (DOVE_SB_REGS_    
 65 #define DOVE_UART2_PHYS_BASE    (DOVE_SB_REGS_    
 66 #define DOVE_UART2_VIRT_BASE    (DOVE_SB_REGS_    
 67 #define DOVE_UART3_PHYS_BASE    (DOVE_SB_REGS_    
 68 #define DOVE_UART3_VIRT_BASE    (DOVE_SB_REGS_    
 69 #define DOVE_SPI0_PHYS_BASE     (DOVE_SB_REGS_    
 70 #define DOVE_SPI1_PHYS_BASE     (DOVE_SB_REGS_    
 71                                                   
 72 /* North-South Bridge */                          
 73 #define BRIDGE_VIRT_BASE        (DOVE_SB_REGS_    
 74 #define BRIDGE_PHYS_BASE        (DOVE_SB_REGS_    
 75 #define  BRIDGE_WINS_BASE       (BRIDGE_PHYS_B    
 76 #define  BRIDGE_WINS_SZ         (0x80)            
 77                                                   
 78 /* Cryptographic Engine */                        
 79 #define DOVE_CRYPT_PHYS_BASE    (DOVE_SB_REGS_    
 80                                                   
 81 /* PCIe 0 */                                      
 82 #define DOVE_PCIE0_VIRT_BASE    (DOVE_SB_REGS_    
 83                                                   
 84 /* USB */                                         
 85 #define DOVE_USB0_PHYS_BASE     (DOVE_SB_REGS_    
 86 #define DOVE_USB1_PHYS_BASE     (DOVE_SB_REGS_    
 87                                                   
 88 /* XOR 0 Engine */                                
 89 #define DOVE_XOR0_PHYS_BASE     (DOVE_SB_REGS_    
 90 #define DOVE_XOR0_VIRT_BASE     (DOVE_SB_REGS_    
 91 #define DOVE_XOR0_HIGH_PHYS_BASE        (DOVE_    
 92 #define DOVE_XOR0_HIGH_VIRT_BASE        (DOVE_    
 93                                                   
 94 /* XOR 1 Engine */                                
 95 #define DOVE_XOR1_PHYS_BASE     (DOVE_SB_REGS_    
 96 #define DOVE_XOR1_VIRT_BASE     (DOVE_SB_REGS_    
 97 #define DOVE_XOR1_HIGH_PHYS_BASE        (DOVE_    
 98 #define DOVE_XOR1_HIGH_VIRT_BASE        (DOVE_    
 99                                                   
100 /* Gigabit Ethernet */                            
101 #define DOVE_GE00_PHYS_BASE     (DOVE_SB_REGS_    
102                                                   
103 /* PCIe 1 */                                      
104 #define DOVE_PCIE1_VIRT_BASE    (DOVE_SB_REGS_    
105                                                   
106 /* CAFE */                                        
107 #define DOVE_SDIO0_PHYS_BASE    (DOVE_SB_REGS_    
108 #define DOVE_SDIO1_PHYS_BASE    (DOVE_SB_REGS_    
109 #define DOVE_CAM_PHYS_BASE      (DOVE_SB_REGS_    
110 #define DOVE_CAFE_WIN_PHYS_BASE (DOVE_SB_REGS_    
111                                                   
112 /* SATA */                                        
113 #define DOVE_SATA_PHYS_BASE     (DOVE_SB_REGS_    
114                                                   
115 /* I2S/SPDIF */                                   
116 #define DOVE_AUD0_PHYS_BASE     (DOVE_SB_REGS_    
117 #define DOVE_AUD1_PHYS_BASE     (DOVE_SB_REGS_    
118                                                   
119 /* NAND Flash Controller */                       
120 #define DOVE_NFC_PHYS_BASE      (DOVE_SB_REGS_    
121                                                   
122 /* MPP, GPIO, Reset Sampling */                   
123 #define DOVE_MPP_VIRT_BASE      (DOVE_SB_REGS_    
124 #define DOVE_PMU_MPP_GENERAL_CTRL (DOVE_MPP_VI    
125 #define DOVE_RESET_SAMPLE_LO    (DOVE_MPP_VIRT    
126 #define DOVE_RESET_SAMPLE_HI    (DOVE_MPP_VIRT    
127 #define DOVE_GPIO_LO_VIRT_BASE  (DOVE_SB_REGS_    
128 #define DOVE_GPIO_HI_VIRT_BASE  (DOVE_SB_REGS_    
129 #define DOVE_GPIO2_VIRT_BASE    (DOVE_SB_REGS_    
130 #define DOVE_MPP_GENERAL_VIRT_BASE      (DOVE_    
131 #define  DOVE_AU1_SPDIFO_GPIO_EN        (1 <<     
132 #define  DOVE_NAND_GPIO_EN              (1 <<     
133 #define DOVE_MPP_CTRL4_VIRT_BASE        (DOVE_    
134 #define  DOVE_SPI_GPIO_SEL              (1 <<     
135 #define  DOVE_UART1_GPIO_SEL            (1 <<     
136 #define  DOVE_AU1_GPIO_SEL              (1 <<     
137 #define  DOVE_CAM_GPIO_SEL              (1 <<     
138 #define  DOVE_SD1_GPIO_SEL              (1 <<     
139 #define  DOVE_SD0_GPIO_SEL              (1 <<     
140                                                   
141 /* Power Management */                            
142 #define DOVE_PMU_VIRT_BASE      (DOVE_SB_REGS_    
143 #define DOVE_PMU_SIG_CTRL       (DOVE_PMU_VIRT    
144                                                   
145 /* Real Time Clock */                             
146 #define DOVE_RTC_PHYS_BASE      (DOVE_SB_REGS_    
147                                                   
148 /* AC97 */                                        
149 #define DOVE_AC97_PHYS_BASE     (DOVE_SB_REGS_    
150 #define DOVE_AC97_VIRT_BASE     (DOVE_SB_REGS_    
151                                                   
152 /* Peripheral DMA */                              
153 #define DOVE_PDMA_PHYS_BASE     (DOVE_SB_REGS_    
154 #define DOVE_PDMA_VIRT_BASE     (DOVE_SB_REGS_    
155                                                   
156 #define DOVE_GLOBAL_CONFIG_1    (DOVE_SB_REGS_    
157 #define  DOVE_TWSI_ENABLE_OPTION1       (1 <<     
158 #define DOVE_GLOBAL_CONFIG_2    (DOVE_SB_REGS_    
159 #define  DOVE_TWSI_ENABLE_OPTION2       (1 <<     
160 #define  DOVE_TWSI_ENABLE_OPTION3       (1 <<     
161 #define  DOVE_TWSI_OPTION3_GPIO         (1 <<     
162 #define DOVE_SSP_PHYS_BASE      (DOVE_SB_REGS_    
163 #define DOVE_SSP_CTRL_STATUS_1  (DOVE_SB_REGS_    
164 #define  DOVE_SSP_ON_AU1                (1 <<     
165 #define  DOVE_SSP_CLOCK_ENABLE          (1 <<     
166 #define  DOVE_SSP_BPB_CLOCK_SRC_SSP     (1 <<     
167 /* Memory Controller */                           
168 #define DOVE_MC_PHYS_BASE       (DOVE_NB_REGS_    
169 #define  DOVE_MC_WINS_BASE      (DOVE_MC_PHYS_    
170 #define  DOVE_MC_WINS_SZ        (0x8)             
171 #define DOVE_MC_VIRT_BASE       (DOVE_NB_REGS_    
172                                                   
173 /* LCD Controller */                              
174 #define DOVE_LCD_PHYS_BASE      (DOVE_NB_REGS_    
175 #define DOVE_LCD1_PHYS_BASE     (DOVE_NB_REGS_    
176 #define DOVE_LCD2_PHYS_BASE     (DOVE_NB_REGS_    
177 #define DOVE_LCD_DCON_PHYS_BASE (DOVE_NB_REGS_    
178                                                   
179 /* Graphic Engine */                              
180 #define DOVE_GPU_PHYS_BASE      (DOVE_NB_REGS_    
181                                                   
182 /* Video Engine */                                
183 #define DOVE_VPU_PHYS_BASE      (DOVE_NB_REGS_    
184                                                   
185 #endif                                            
186                                                   

~ [ 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