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

TOMOYO Linux Cross Reference
Linux/arch/arm/mach-nomadik/cpu-8815.c

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-nomadik/cpu-8815.c (Version linux-6.12-rc7) and /arch/m68k/mach-nomadik/cpu-8815.c (Version linux-6.5.13)


  1 // SPDX-License-Identifier: GPL-2.0-or-later        1 
  2 /*                                                
  3  * Copyright STMicroelectronics, 2007.            
  4  */                                               
  5                                                   
  6 #include <linux/types.h>                          
  7 #include <linux/init.h>                           
  8 #include <linux/io.h>                             
  9                                                   
 10 #include <asm/mach/arch.h>                        
 11 #include <asm/mach/map.h>                         
 12 #include <asm/mach-types.h>                       
 13                                                   
 14 /*                                                
 15  * These are the only hard-coded address offse    
 16  */                                               
 17 #define NOMADIK_FSMC_BASE       0x10100000        
 18 #define NOMADIK_SDRAMC_BASE     0x10110000        
 19 #define NOMADIK_CLCDC_BASE      0x10120000        
 20 #define NOMADIK_MDIF_BASE       0x10120000        
 21 #define NOMADIK_DMA0_BASE       0x10130000        
 22 #define NOMADIK_IC_BASE         0x10140000        
 23 #define NOMADIK_DMA1_BASE       0x10150000        
 24 #define NOMADIK_USB_BASE        0x10170000        
 25 #define NOMADIK_CRYP_BASE       0x10180000        
 26 #define NOMADIK_SHA1_BASE       0x10190000        
 27 #define NOMADIK_XTI_BASE        0x101A0000        
 28 #define NOMADIK_RNG_BASE        0x101B0000        
 29 #define NOMADIK_SRC_BASE        0x101E0000        
 30 #define NOMADIK_WDOG_BASE       0x101E1000        
 31 #define NOMADIK_MTU0_BASE       0x101E2000        
 32 #define NOMADIK_MTU1_BASE       0x101E3000        
 33 #define NOMADIK_GPIO0_BASE      0x101E4000        
 34 #define NOMADIK_GPIO1_BASE      0x101E5000        
 35 #define NOMADIK_GPIO2_BASE      0x101E6000        
 36 #define NOMADIK_GPIO3_BASE      0x101E7000        
 37 #define NOMADIK_RTC_BASE        0x101E8000        
 38 #define NOMADIK_PMU_BASE        0x101E9000        
 39 #define NOMADIK_OWM_BASE        0x101EA000        
 40 #define NOMADIK_SCR_BASE        0x101EF000        
 41 #define NOMADIK_MSP2_BASE       0x101F0000        
 42 #define NOMADIK_MSP1_BASE       0x101F1000        
 43 #define NOMADIK_UART2_BASE      0x101F2000        
 44 #define NOMADIK_SSIRx_BASE      0x101F3000        
 45 #define NOMADIK_SSITx_BASE      0x101F4000        
 46 #define NOMADIK_MSHC_BASE       0x101F5000        
 47 #define NOMADIK_SDI_BASE        0x101F6000        
 48 #define NOMADIK_I2C1_BASE       0x101F7000        
 49 #define NOMADIK_I2C0_BASE       0x101F8000        
 50 #define NOMADIK_MSP0_BASE       0x101F9000        
 51 #define NOMADIK_FIRDA_BASE      0x101FA000        
 52 #define NOMADIK_UART1_BASE      0x101FB000        
 53 #define NOMADIK_SSP_BASE        0x101FC000        
 54 #define NOMADIK_UART0_BASE      0x101FD000        
 55 #define NOMADIK_SGA_BASE        0x101FE000        
 56 #define NOMADIK_L2CC_BASE       0x10210000        
 57 #define NOMADIK_UART1_VBASE     0xF01FB000        
 58                                                   
 59 /* This is needed for LL-debug/earlyprintk/deb    
 60 static struct map_desc cpu8815_io_desc[] __ini    
 61         {                                         
 62                 .virtual =      NOMADIK_UART1_    
 63                 .pfn =          __phys_to_pfn(    
 64                 .length =       SZ_4K,            
 65                 .type =         MT_DEVICE,        
 66         },                                        
 67 };                                                
 68                                                   
 69 static void __init cpu8815_map_io(void)           
 70 {                                                 
 71         iotable_init(cpu8815_io_desc, ARRAY_SI    
 72 }                                                 
 73                                                   
 74 static void cpu8815_restart(enum reboot_mode m    
 75 {                                                 
 76         void __iomem *srcbase = ioremap(NOMADI    
 77                                                   
 78         /* FIXME: use egpio when implemented *    
 79                                                   
 80         /* Write anything to Reset status regi    
 81         writel(1, srcbase + 0x18);                
 82 }                                                 
 83                                                   
 84 static const char * cpu8815_board_compat[] = {    
 85         "st,nomadik-nhk-15",                      
 86         "calaosystems,usb-s8815",                 
 87         NULL,                                     
 88 };                                                
 89                                                   
 90 DT_MACHINE_START(NOMADIK_DT, "Nomadik STn8815"    
 91         .l2c_aux_val    = 0,                      
 92         .l2c_aux_mask   = ~0,                     
 93         .map_io         = cpu8815_map_io,         
 94         .restart        = cpu8815_restart,        
 95         .dt_compat      = cpu8815_board_compat    
 96 MACHINE_END                                       
 97                                                   

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