~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/xtensa/platforms/xtfpga/include/platform/hardware.h

Version: ~ [ linux-6.11-rc3 ] ~ [ linux-6.10.4 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.45 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.104 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.164 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.223 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.281 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.319 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /*
  2  * arch/xtensa/platform/xtavnet/include/platform/hardware.h
  3  *
  4  * This file is subject to the terms and conditions of the GNU General Public
  5  * License.  See the file "COPYING" in the main directory of this archive
  6  * for more details.
  7  *
  8  * Copyright (C) 2006 Tensilica Inc.
  9  */
 10 
 11 /*
 12  * This file contains the hardware configuration of the XTAVNET boards.
 13  */
 14 
 15 #include <asm/types.h>
 16 
 17 #ifndef __XTENSA_XTAVNET_HARDWARE_H
 18 #define __XTENSA_XTAVNET_HARDWARE_H
 19 
 20 /* Default assignment of LX60 devices to external interrupts. */
 21 
 22 #ifdef CONFIG_XTENSA_MX
 23 #define DUART16552_INTNUM       XCHAL_EXTINT3_NUM
 24 #define OETH_IRQ                XCHAL_EXTINT4_NUM
 25 #define C67X00_IRQ              XCHAL_EXTINT8_NUM
 26 #else
 27 #define DUART16552_INTNUM       XCHAL_EXTINT0_NUM
 28 #define OETH_IRQ                XCHAL_EXTINT1_NUM
 29 #define C67X00_IRQ              XCHAL_EXTINT5_NUM
 30 #endif
 31 
 32 /*
 33  *  Device addresses and parameters.
 34  */
 35 
 36 /* UART */
 37 #define DUART16552_PADDR        (XCHAL_KIO_PADDR + 0x0D050020)
 38 
 39 /* Misc. */
 40 #define XTFPGA_FPGAREGS_VADDR   IOADDR(0x0D020000)
 41 /* Clock frequency in Hz (read-only):  */
 42 #define XTFPGA_CLKFRQ_VADDR     (XTFPGA_FPGAREGS_VADDR + 0x04)
 43 /* Setting of 8 DIP switches:  */
 44 #define DIP_SWITCHES_VADDR      (XTFPGA_FPGAREGS_VADDR + 0x0C)
 45 /* Software reset (write 0xdead):  */
 46 #define XTFPGA_SWRST_VADDR      (XTFPGA_FPGAREGS_VADDR + 0x10)
 47 
 48 /*  OpenCores Ethernet controller:  */
 49                                 /* regs + RX/TX descriptors */
 50 #define OETH_REGS_PADDR         (XCHAL_KIO_PADDR + 0x0D030000)
 51 #define OETH_REGS_SIZE          0x1000
 52 #define OETH_SRAMBUFF_PADDR     (XCHAL_KIO_PADDR + 0x0D800000)
 53 
 54                                 /* 5*rx buffs + 5*tx buffs */
 55 #define OETH_SRAMBUFF_SIZE      (5 * 0x600 + 5 * 0x600)
 56 
 57 #define C67X00_PADDR            (XCHAL_KIO_PADDR + 0x0D0D0000)
 58 #define C67X00_SIZE             0x10
 59 
 60 #endif /* __XTENSA_XTAVNET_HARDWARE_H */
 61 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php