📄 platform.h
字号:
/* linux/include/asm-arm/arch-hi3510_v100_m01/platform.h** Copyright (c) 2006 Hisilicon Co., Ltd. ** This program is free software; you can redistribute it and/or modify* it under the terms of the GNU General Public License as published by* the Free Software Foundation; either version 2 of the License, or* (at your option) any later version.** This program is distributed in the hope that it will be useful,* but WITHOUT ANY WARRANTY; without even the implied warranty of* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the* GNU General Public License for more details.** You should have received a copy of the GNU General Public License* along with this program; if not, write to the Free Software* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA**///#include <linux/config.h>#ifndef __ASM_ARCH_PLATFORM_H#define __ASM_ARCH_PLATFORM_H#define HISILICON_MEMC_BASE 0x10110000#define HISILICON_MEMC_IOSIZE PAGE_ALIGN(0x500)#define HISILICON_VOU_BASE 0x10120000#define HISILICON_VOU_IOSIZE PAGE_ALIGN(0x100)#define HISILICON_DMAC_BASE 0x10130000#define HISILICON_DMAC_IOSIZE PAGE_ALIGN(0x200)#define HISILICON_VIC_BASE 0x10140000#define HISILICON_VIC_IOSIZE PAGE_ALIGN(0x240)#define HISILICON_DDRC_BASE 0x10150000#define HISILICON_DDRC_IOSIZE PAGE_ALIGN(0x500)#define HISILICON_SCTL_BASE 0x101E0000#define HISILICON_SCTL_IOSIZE PAGE_ALIGN(0x1000*9)#define HISILICON_UART0_BASE 0x101F1000 /* Uart 0 */#define HISILICON_UART0_IOSIZE PAGE_ALIGN(0x050)#define HISILICON_UART1_BASE 0x101F2000 /* Uart 1 */#define HISILICON_UART1_IOSIZE PAGE_ALIGN(0x050)#define HISILICON_SSP_BASE 0x101F4000#define HISILICON_SSP_IOSIZE PAGE_ALIGN(0x030)#define HISILICON_I2C_BASE 0x101F6000#define HISILICON_I2C_IOSIZE PAGE_ALIGN(0x100)#define HISILICON_GPIO4_7_BASE 0x101F7000#define HISILICON_GPIO4_7_IOSIZE PAGE_ALIGN(0x1000*4)#define HISILICON_GPIO0_3_BASE 0x101E4000#define HISILICON_GPIO0_3_IOSIZE PAGE_ALIGN(0x1000*4)#define HISILICON_DES_BASE 0x101FB000#define HISILICON_DES_IOSIZE PAGE_ALIGN(0x2000)#define HISILICON_SIO_0_BASE 0x80080000#define HISILICON_SIO_0_IOSIZE PAGE_ALIGN(0x060)#define HISILICON_SIO_1_BASE 0x90020000#define HISILICON_SIO_1_IOSIZE PAGE_ALIGN(0x060)#define HISILICON_VIU_BASE 0x90000000#define HISILICON_VIU_IOSIZE PAGE_ALIGN(0x040)#define HISILICON_DSU_BASE 0x90010000#define HISILICON_DSU_IOSIZE PAGE_ALIGN(0x400)#define HISILICON_USB_BASE 0xA0000000#define HISILICON_USB_IOSIZE PAGE_ALIGN(0x060)#define HISILICON_SF_BASE 0xA0020000#define HISILICON_SF_IOSIZE PAGE_ALIGN(0x650)#define HISILICON_TIMER0_1_BASE 0x101E2000#define HISILICON_TIMER2_3_BASE 0x101E3000#define INT_WDOGINT 0 /* Watchdog timer */#define INT_SOFTINT 1 /* Software interrupt */#define INT_COMMRx 2 /* Debug Comm Rx interrupt */#define INT_COMMTx 3 /* Debug Comm Tx interrupt */#define INT_TIMERINT0_1 4 /* Timer 0 and 1 */#define INT_TIMERINT2_3 5 /* Timer 2 and 3 */#define INT_GPIOINT0 6 /* GPIO 0 */#define INT_GPIOINT1 7 /* GPIO 1 */#define INT_GPIOINT2 8 /* GPIO 2 */#define INT_GPIOINT3 9 /* GPIO 3 */#define INT_RTCINT 10 /* Real Time Clock */#define INT_SSPINT 11 /* Synchronous Serial Port */#define INT_UARTINT0 12 #define INT_UARTINT1 13 #define INT_I2CINT 14 #define INT_USBINT 15 #define INT_VOUINT 16 #define INT_DMACINT 17#define INT_RESERVED 18#define INT_GPIOINT4 19#define INT_GPIOINT5 20#define INT_GPIOINT6 21#define INT_GPIOINT7 22#define INT_VIUINT 23#define INT_DSUINT 24#define INT_SIOINT 25#define INT_DBLKINT 26#define INT_ZSP2ARM_INT0 27#define INT_ZSP2ARM_INT1 28#define INT_ZSP2ARM_INT2 29#define INT_SFINT 30#define INT_HI3510EXTINT 31#endif /* __ASM_ARCH_PLATFORM_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -