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

TOMOYO Linux Cross Reference
Linux/arch/sh/include/mach-common/mach/sh7785lcr.h

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ 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.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /* SPDX-License-Identifier: GPL-2.0 */
  2 #ifndef __ASM_SH_RENESAS_SH7785LCR_H
  3 #define __ASM_SH_RENESAS_SH7785LCR_H
  4 
  5 /*
  6  * This board has 2 physical memory maps.
  7  * It can be changed with DIP switch(S2-5).
  8  *
  9  * phys address                 | S2-5 = OFF    | S2-5 = ON
 10  * -----------------------------+---------------+---------------
 11  * 0x00000000 - 0x03ffffff(CS0) | NOR Flash     | NOR Flash
 12  * 0x04000000 - 0x05ffffff(CS1) | PLD           | PLD
 13  * 0x06000000 - 0x07ffffff(CS1) | I2C           | I2C
 14  * 0x08000000 - 0x0bffffff(CS2) | USB           | DDR SDRAM
 15  * 0x0c000000 - 0x0fffffff(CS3) | SD            | DDR SDRAM
 16  * 0x10000000 - 0x13ffffff(CS4) | SM107         | SM107
 17  * 0x14000000 - 0x17ffffff(CS5) | reserved      | USB
 18  * 0x18000000 - 0x1bffffff(CS6) | reserved      | SD
 19  * 0x40000000 - 0x5fffffff      | DDR SDRAM     | (cannot use)
 20  *
 21  */
 22 
 23 #define NOR_FLASH_ADDR          0x00000000
 24 #define NOR_FLASH_SIZE          0x04000000
 25 
 26 #define PLD_BASE_ADDR           0x04000000
 27 #define PLD_PCICR               (PLD_BASE_ADDR + 0x00)
 28 #define PLD_LCD_BK_CONTR        (PLD_BASE_ADDR + 0x02)
 29 #define PLD_LOCALCR             (PLD_BASE_ADDR + 0x04)
 30 #define PLD_POFCR               (PLD_BASE_ADDR + 0x06)
 31 #define PLD_LEDCR               (PLD_BASE_ADDR + 0x08)
 32 #define PLD_SWSR                (PLD_BASE_ADDR + 0x0a)
 33 #define PLD_VERSR               (PLD_BASE_ADDR + 0x0c)
 34 #define PLD_MMSR                (PLD_BASE_ADDR + 0x0e)
 35 
 36 #define PCA9564_ADDR            0x06000000      /* I2C */
 37 #define PCA9564_SIZE            0x00000100
 38 
 39 #define PCA9564_PROTO_32BIT_ADDR        0x14000000
 40 
 41 #define SM107_MEM_ADDR          0x10000000
 42 #define SM107_MEM_SIZE          0x00e00000
 43 #define SM107_REG_ADDR          0x13e00000
 44 #define SM107_REG_SIZE          0x00200000
 45 
 46 #if defined(CONFIG_SH_SH7785LCR_29BIT_PHYSMAPS)
 47 #define R8A66597_ADDR           0x14000000      /* USB */
 48 #define CG200_ADDR              0x18000000      /* SD */
 49 #else
 50 #define R8A66597_ADDR           0x08000000
 51 #define CG200_ADDR              0x0c000000
 52 #endif
 53 
 54 #define R8A66597_SIZE           0x00000100
 55 #define CG200_SIZE              0x00010000
 56 
 57 #endif  /* __ASM_SH_RENESAS_SH7785LCR_H */
 58 
 59 

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