android_kernel_xiaomi_sm8350/include/asm-mips/mach-mips/mach-gt64120.h

29 lines
738 B
C
Raw Normal View History

/*
* This is a direct copy of the ev96100.h file, with a global
* search and replace. The numbers are the same.
*
* The reason I'm duplicating this is so that the 64120/96100
* defines won't be confusing in the source code.
*/
#ifndef _ASM_MACH_MIPS_MACH_GT64120_DEP_H
#define _ASM_MACH_MIPS_MACH_GT64120_DEP_H
#define MIPS_GT_BASE 0x1be00000
extern unsigned long _pcictrl_gt64120;
/*
* GT64120 config space base address
*/
#define GT64120_BASE _pcictrl_gt64120
/*
* PCI Bus allocation
*/
#define GT_PCI_MEM_BASE 0x12000000UL
#define GT_PCI_MEM_SIZE 0x02000000UL
#define GT_PCI_IO_BASE 0x10000000UL
#define GT_PCI_IO_SIZE 0x02000000UL
#define GT_ISA_IO_BASE PCI_IO_BASE
#endif /* _ASM_MACH_MIPS_MACH_GT64120_DEP_H */