diff options
| author | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2013-12-10 14:31:56 +0100 | 
|---|---|---|
| committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2013-12-10 22:23:59 +0100 | 
| commit | f15ea6e1d67782a1626d4a4922b6c20e380085e5 (patch) | |
| tree | 57d78f1ee94a2060eaa591533278d2934d4f1da3 /arch/mips/include/asm/malta.h | |
| parent | cb7ee1b98cac6baf244daefb1192adf5a47bc983 (diff) | |
| parent | f44483b57c49282299da0e5c10073b909cdad979 (diff) | |
| download | olio-uboot-2014.01-f15ea6e1d67782a1626d4a4922b6c20e380085e5.tar.xz olio-uboot-2014.01-f15ea6e1d67782a1626d4a4922b6c20e380085e5.zip | |
Merge branch 'u-boot/master' into 'u-boot-arm/master'
Conflicts:
	arch/arm/cpu/armv7/rmobile/Makefile
	doc/README.scrapyard
Needed manual fix:
	arch/arm/cpu/armv7/omap-common/Makefile
	board/compulab/cm_t335/u-boot.lds
Diffstat (limited to 'arch/mips/include/asm/malta.h')
| -rw-r--r-- | arch/mips/include/asm/malta.h | 62 | 
1 files changed, 53 insertions, 9 deletions
| diff --git a/arch/mips/include/asm/malta.h b/arch/mips/include/asm/malta.h index d4d44a299..9e7c045aa 100644 --- a/arch/mips/include/asm/malta.h +++ b/arch/mips/include/asm/malta.h @@ -1,23 +1,67 @@  /*   * Copyright (C) 2013 Gabor Juhos <juhosg@openwrt.org> + * Copyright (C) 2013 Imagination Technologies   * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License version 2 as published - * by the Free Software Foundation. + * SPDX-License-Identifier:	GPL-2.0   */  #ifndef _MIPS_ASM_MALTA_H  #define _MIPS_ASM_MALTA_H -#define MALTA_IO_PORT_BASE	0x18000000 +#define MALTA_GT_BASE			0x1be00000 +#define MALTA_GT_PCIIO_BASE		0x18000000 +#define MALTA_GT_UART0_BASE		(MALTA_GT_PCIIO_BASE + 0x3f8) -#define MALTA_UART_BASE		(MALTA_IO_PORT_BASE + 0x3f8) +#define MALTA_MSC01_BIU_BASE		0x1bc80000 +#define MALTA_MSC01_PCI_BASE		0x1bd00000 +#define MALTA_MSC01_PBC_BASE		0x1bd40000 +#define MALTA_MSC01_IP1_BASE		0x1bc00000 +#define MALTA_MSC01_IP1_SIZE		0x00400000 +#define MALTA_MSC01_IP2_BASE1		0x10000000 +#define MALTA_MSC01_IP2_SIZE1		0x08000000 +#define MALTA_MSC01_IP2_BASE2		0x18000000 +#define MALTA_MSC01_IP2_SIZE2		0x04000000 +#define MALTA_MSC01_IP3_BASE		0x1c000000 +#define MALTA_MSC01_IP3_SIZE		0x04000000 +#define MALTA_MSC01_PCIMEM_BASE		0x10000000 +#define MALTA_MSC01_PCIMEM_SIZE		0x10000000 +#define MALTA_MSC01_PCIMEM_MAP		0x10000000 +#define MALTA_MSC01_PCIIO_BASE		0x1b000000 +#define MALTA_MSC01_PCIIO_SIZE		0x00800000 +#define MALTA_MSC01_PCIIO_MAP		0x00000000 +#define MALTA_MSC01_UART0_BASE		(MALTA_MSC01_PCIIO_BASE + 0x3f8) -#define MALTA_GT_BASE		0x1be00000 +#define MALTA_ASCIIWORD			0x1f000410 +#define MALTA_ASCIIPOS0			0x1f000418 +#define MALTA_ASCIIPOS1			0x1f000420 +#define MALTA_ASCIIPOS2			0x1f000428 +#define MALTA_ASCIIPOS3			0x1f000430 +#define MALTA_ASCIIPOS4			0x1f000438 +#define MALTA_ASCIIPOS5			0x1f000440 +#define MALTA_ASCIIPOS6			0x1f000448 +#define MALTA_ASCIIPOS7			0x1f000450 -#define MALTA_RESET_BASE	0x1f000500 -#define GORESET			0x42 +#define MALTA_RESET_BASE		0x1f000500 +#define GORESET				0x42 -#define MALTA_FLASH_BASE	0x1fc00000 +#define MALTA_FLASH_BASE		0x1e000000 + +#define MALTA_REVISION			0x1fc00010 +#define MALTA_REVISION_CORID_SHF	10 +#define MALTA_REVISION_CORID_MSK	(0x3f << MALTA_REVISION_CORID_SHF) +#define MALTA_REVISION_CORID_CORE_LV		1 +#define MALTA_REVISION_CORID_CORE_FPGA6		14 + +#define PCI_CFG_PIIX4_PIRQRCA		0x60 +#define PCI_CFG_PIIX4_PIRQRCB		0x61 +#define PCI_CFG_PIIX4_PIRQRCC		0x62 +#define PCI_CFG_PIIX4_PIRQRCD		0x63 +#define PCI_CFG_PIIX4_SERIRQC		0x64 +#define PCI_CFG_PIIX4_GENCFG		0xb0 + +#define PCI_CFG_PIIX4_SERIRQC_EN	(1 << 7) +#define PCI_CFG_PIIX4_SERIRQC_CONT	(1 << 6) + +#define PCI_CFG_PIIX4_GENCFG_SERIRQ	(1 << 16)  #endif /* _MIPS_ASM_MALTA_H */ |