Path: blob/master/arch/sh/include/mach-se/mach/se7724.h
15160 views
#ifndef __ASM_SH_SE7724_H1#define __ASM_SH_SE7724_H23/*4* linux/include/asm-sh/se7724.h5*6* Copyright (C) 2009 Renesas Solutions Corp.7*8* Kuninori Morimoto <[email protected]>9*10* Hitachi UL SolutionEngine 7724 Support.11*12* Based on se7722.h13* Copyright (C) 2007 Nobuhiro Iwamatsu14*15* This file is subject to the terms and conditions of the GNU General Public16* License. See the file "COPYING" in the main directory of this archive17* for more details.18*19*/20#include <asm/addrspace.h>2122/* SH Eth */23#define SH_ETH_ADDR (0xA4600000)24#define SH_ETH_MAHR (SH_ETH_ADDR + 0x1C0)25#define SH_ETH_MALR (SH_ETH_ADDR + 0x1C8)2627#define PA_LED (0xba203000) /* 8bit LED */28#define IRQ_MODE (0xba200010)29#define IRQ0_SR (0xba200014)30#define IRQ1_SR (0xba200018)31#define IRQ2_SR (0xba20001c)32#define IRQ0_MR (0xba200020)33#define IRQ1_MR (0xba200024)34#define IRQ2_MR (0xba200028)3536/* IRQ */37#define IRQ0_IRQ 3238#define IRQ1_IRQ 3339#define IRQ2_IRQ 344041/* Bits in IRQ012 registers */42#define SE7724_FPGA_IRQ_BASE 2204344/* IRQ0 */45#define IRQ0_BASE SE7724_FPGA_IRQ_BASE46#define IRQ0_KEY (IRQ0_BASE + 12)47#define IRQ0_RMII (IRQ0_BASE + 13)48#define IRQ0_SMC (IRQ0_BASE + 14)49#define IRQ0_MASK 0x7fff50#define IRQ0_END IRQ0_SMC51/* IRQ1 */52#define IRQ1_BASE (IRQ0_END + 1)53#define IRQ1_TS (IRQ1_BASE + 0)54#define IRQ1_MASK 0x000155#define IRQ1_END IRQ1_TS56/* IRQ2 */57#define IRQ2_BASE (IRQ1_END + 1)58#define IRQ2_USB0 (IRQ1_BASE + 0)59#define IRQ2_USB1 (IRQ1_BASE + 1)60#define IRQ2_MASK 0x000361#define IRQ2_END IRQ2_USB16263#define SE7724_FPGA_IRQ_NR (IRQ2_END - IRQ0_BASE)6465/* arch/sh/boards/se/7724/irq.c */66void init_se7724_IRQ(void);6768#define __IO_PREFIX se772469#include <asm/io_generic.h>7071#endif /* __ASM_SH_SE7724_H */727374