/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __ASM_SH_SE7722_H
#define __ASM_SH_SE7722_H
/*
* linux/include/asm-sh/se7722.h
*
* Copyright (C) 2007 Nobuhiro Iwamatsu
*
* Hitachi UL SolutionEngine 7722 Support.
*/
#include <linux/sh_intc.h>
#include <asm /addrspace.h>
/* Box specific addresses. */
#define SE_AREA0_WIDTH 4 /* Area0: 32bit */
#define PA_ROM 0 xa0000000 /* EPROM */
#define PA_ROM_SIZE 0 x00200000 /* EPROM size 2M byte */
#define PA_FROM 0 xa1000000 /* Flash-ROM */
#define PA_FROM_SIZE 0 x01000000 /* Flash-ROM size 16M byte */
#define PA_EXT1 0 xa4000000
#define PA_EXT1_SIZE 0 x04000000
#define PA_SDRAM 0 xaC000000 /* DDR-SDRAM(Area3) 64MB */
#define PA_SDRAM_SIZE 0 x04000000
#define PA_EXT4 0 xb0000000
#define PA_EXT4_SIZE 0 x04000000
#define PA_PERIPHERAL 0 xB0000000
#define PA_PCIC PA_PERIPHERAL /* MR-SHPC-01 PCMCIA */
#define PA_MRSHPC (PA_PERIPHERAL + 0 x003fffe0) /* MR-SHPC-01 PCMCIA controller */
#define PA_MRSHPC_MW1 (PA_PERIPHERAL + 0 x00400000) /* MR-SHPC-01 memory window base */
#define PA_MRSHPC_MW2 (PA_PERIPHERAL + 0 x00500000) /* MR-SHPC-01 attribute window base */
#define PA_MRSHPC_IO (PA_PERIPHERAL + 0 x00600000) /* MR-SHPC-01 I/O window base */
#define MRSHPC_OPTION (PA_MRSHPC + 6 )
#define MRSHPC_CSR (PA_MRSHPC + 8 )
#define MRSHPC_ISR (PA_MRSHPC + 10 )
#define MRSHPC_ICR (PA_MRSHPC + 12 )
#define MRSHPC_CPWCR (PA_MRSHPC + 14 )
#define MRSHPC_MW0CR1 (PA_MRSHPC + 16 )
#define MRSHPC_MW1CR1 (PA_MRSHPC + 18 )
#define MRSHPC_IOWCR1 (PA_MRSHPC + 20 )
#define MRSHPC_MW0CR2 (PA_MRSHPC + 22 )
#define MRSHPC_MW1CR2 (PA_MRSHPC + 24 )
#define MRSHPC_IOWCR2 (PA_MRSHPC + 26 )
#define MRSHPC_CDCR (PA_MRSHPC + 28 )
#define MRSHPC_PCIC_INFO (PA_MRSHPC + 30 )
#define PA_LED (PA_PERIPHERAL + 0 x00800000) /* 8bit LED */
#define PA_FPGA (PA_PERIPHERAL + 0 x01800000) /* FPGA base address */
#define PA_LAN (PA_AREA6_IO + 0 ) /* SMC LAN91C111 */
/* GPIO */
#define FPGA_IN 0 xb1840000UL
#define FPGA_OUT 0 xb1840004UL
#define PORT_PECR 0 xA4050108UL
#define PORT_PJCR 0 xA4050110UL
#define PORT_PSELD 0 xA4050154UL
#define PORT_PSELB 0 xA4050150UL
#define PORT_PSELC 0 xA4050152UL
#define PORT_PKCR 0 xA4050112UL
#define PORT_PHCR 0 xA405010EUL
#define PORT_PLCR 0 xA4050114UL
#define PORT_PMCR 0 xA4050116UL
#define PORT_PRCR 0 xA405011CUL
#define PORT_PXCR 0 xA4050148UL
#define PORT_PSELA 0 xA405014EUL
#define PORT_PYCR 0 xA405014AUL
#define PORT_PZCR 0 xA405014CUL
#define PORT_HIZCRA 0 xA4050158UL
#define PORT_HIZCRC 0 xA405015CUL
/* IRQ */
#define IRQ0_IRQ evt2irq(0 x600)
#define IRQ1_IRQ evt2irq(0 x620)
#define SE7722_FPGA_IRQ_USB 0 /* IRQ0 */
#define SE7722_FPGA_IRQ_SMC 1 /* IRQ0 */
#define SE7722_FPGA_IRQ_MRSHPC0 2 /* IRQ1 */
#define SE7722_FPGA_IRQ_MRSHPC1 3 /* IRQ1 */
#define SE7722_FPGA_IRQ_MRSHPC2 4 /* IRQ1 */
#define SE7722_FPGA_IRQ_MRSHPC3 5 /* IRQ1 */
#define SE7722_FPGA_IRQ_NR 6
struct irq_domain;
/* arch/sh/boards/se/7722/irq.c */
extern struct irq_domain *se7722_irq_domain;
void init_se7722_IRQ(void );
#define __IO_PREFIX se7722
#include <asm /io_generic.h>
#endif /* __ASM_SH_SE7722_H */
Messung V0.5 in Prozent C=88 H=93 G=90
¤ Dauer der Verarbeitung: 0.12 Sekunden
(vorverarbeitet am 2026-06-07)
¤
*© Formatika GbR, Deutschland