Path: blob/master/arch/sh/include/mach-common/mach/sh7785lcr.h
15162 views
#ifndef __ASM_SH_RENESAS_SH7785LCR_H1#define __ASM_SH_RENESAS_SH7785LCR_H23/*4* This board has 2 physical memory maps.5* It can be changed with DIP switch(S2-5).6*7* phys address | S2-5 = OFF | S2-5 = ON8* -----------------------------+---------------+---------------9* 0x00000000 - 0x03ffffff(CS0) | NOR Flash | NOR Flash10* 0x04000000 - 0x05ffffff(CS1) | PLD | PLD11* 0x06000000 - 0x07ffffff(CS1) | I2C | I2C12* 0x08000000 - 0x0bffffff(CS2) | USB | DDR SDRAM13* 0x0c000000 - 0x0fffffff(CS3) | SD | DDR SDRAM14* 0x10000000 - 0x13ffffff(CS4) | SM107 | SM10715* 0x14000000 - 0x17ffffff(CS5) | reserved | USB16* 0x18000000 - 0x1bffffff(CS6) | reserved | SD17* 0x40000000 - 0x5fffffff | DDR SDRAM | (cannot use)18*19*/2021#define NOR_FLASH_ADDR 0x0000000022#define NOR_FLASH_SIZE 0x040000002324#define PLD_BASE_ADDR 0x0400000025#define PLD_PCICR (PLD_BASE_ADDR + 0x00)26#define PLD_LCD_BK_CONTR (PLD_BASE_ADDR + 0x02)27#define PLD_LOCALCR (PLD_BASE_ADDR + 0x04)28#define PLD_POFCR (PLD_BASE_ADDR + 0x06)29#define PLD_LEDCR (PLD_BASE_ADDR + 0x08)30#define PLD_SWSR (PLD_BASE_ADDR + 0x0a)31#define PLD_VERSR (PLD_BASE_ADDR + 0x0c)32#define PLD_MMSR (PLD_BASE_ADDR + 0x0e)3334#define PCA9564_ADDR 0x06000000 /* I2C */35#define PCA9564_SIZE 0x000001003637#define PCA9564_PROTO_32BIT_ADDR 0x140000003839#define SM107_MEM_ADDR 0x1000000040#define SM107_MEM_SIZE 0x00e0000041#define SM107_REG_ADDR 0x13e0000042#define SM107_REG_SIZE 0x002000004344#if defined(CONFIG_SH_SH7785LCR_29BIT_PHYSMAPS)45#define R8A66597_ADDR 0x14000000 /* USB */46#define CG200_ADDR 0x18000000 /* SD */47#else48#define R8A66597_ADDR 0x0800000049#define CG200_ADDR 0x0c00000050#endif5152#define R8A66597_SIZE 0x0000010053#define CG200_SIZE 0x000100005455#endif /* __ASM_SH_RENESAS_SH7785LCR_H */56575859