File manager - Edit - /home/newsbmcs.com/public_html/static/img/logo/mach.zip
Back
PK �h�ZJ�8�� � shmin.hnu �[��� /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_SH_SHMIN_H #define __ASM_SH_SHMIN_H #define SHMIN_IO_BASE 0xb0000000UL #define SHMIN_NE_IRQ IRQ2_IRQ #define SHMIN_NE_BASE 0x300 #endif PK �h�Z|�̤ � sh7763rdp.hnu �[��� /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_SH_SH7763RDP_H #define __ASM_SH_SH7763RDP_H /* * linux/include/asm-sh/sh7763drp.h * * Copyright (C) 2008 Renesas Solutions * Copyright (C) 2008 Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com> */ #include <asm/addrspace.h> /* clock control */ #define MSTPCR1 0xFFC80038 /* PORT */ #define PORT_PSEL0 0xFFEF0070 #define PORT_PSEL1 0xFFEF0072 #define PORT_PSEL2 0xFFEF0074 #define PORT_PSEL3 0xFFEF0076 #define PORT_PSEL4 0xFFEF0078 #define PORT_PACR 0xFFEF0000 #define PORT_PCCR 0xFFEF0004 #define PORT_PFCR 0xFFEF000A #define PORT_PGCR 0xFFEF000C #define PORT_PHCR 0xFFEF000E #define PORT_PICR 0xFFEF0010 #define PORT_PJCR 0xFFEF0012 #define PORT_PKCR 0xFFEF0014 #define PORT_PLCR 0xFFEF0016 #define PORT_PMCR 0xFFEF0018 #define PORT_PNCR 0xFFEF001A /* FPGA */ #define CPLD_BOARD_ID_ERV_REG 0xB1000000 #define CPLD_CPLD_CMD_REG 0xB1000006 /* * USB SH7763RDP board can use Host only. */ #define USB_USBHSC 0xFFEC80f0 /* arch/sh/boards/renesas/sh7763rdp/irq.c */ void init_sh7763rdp_IRQ(void); int sh7763rdp_irq_demux(int irq); #define __IO_PREFIX sh7763rdp #include <asm/io_generic.h> #endif /* __ASM_SH_SH7763RDP_H */ PK �h�Z��]� � romimage.hnu �[��� /* SPDX-License-Identifier: GPL-2.0 */ #ifdef __ASSEMBLY__ /* do nothing here by default */ #else /* __ASSEMBLY__ */ static inline void mmcif_update_progress(int nr) { } #endif /* __ASSEMBLY__ */ PK �h�Z�>��� � microdev.hnu �[��� /* SPDX-License-Identifier: GPL-2.0 * * linux/include/asm-sh/microdev.h * * Copyright (C) 2003 Sean McGoogan (Sean.McGoogan@superh.com) * * Definitions for the SuperH SH4-202 MicroDev board. */ #ifndef __ASM_SH_MICRODEV_H #define __ASM_SH_MICRODEV_H extern void init_microdev_irq(void); extern void microdev_print_fpga_intc_status(void); /* * The following are useful macros for manipulating the interrupt * controller (INTC) on the CPU-board FPGA. should be noted that there * is an INTC on the FPGA, and a separate INTC on the SH4-202 core - * these are two different things, both of which need to be prorammed to * correctly route - unfortunately, they have the same name and * abbreviations! */ #define MICRODEV_FPGA_INTC_BASE 0xa6110000ul /* INTC base address on CPU-board FPGA */ #define MICRODEV_FPGA_INTENB_REG (MICRODEV_FPGA_INTC_BASE+0ul) /* Interrupt Enable Register on INTC on CPU-board FPGA */ #define MICRODEV_FPGA_INTDSB_REG (MICRODEV_FPGA_INTC_BASE+8ul) /* Interrupt Disable Register on INTC on CPU-board FPGA */ #define MICRODEV_FPGA_INTC_MASK(n) (1ul<<(n)) /* Interrupt mask to enable/disable INTC in CPU-board FPGA */ #define MICRODEV_FPGA_INTPRI_REG(n) (MICRODEV_FPGA_INTC_BASE+0x10+((n)/8)*8)/* Interrupt Priority Register on INTC on CPU-board FPGA */ #define MICRODEV_FPGA_INTPRI_LEVEL(n,x) ((x)<<(((n)%8)*4)) /* MICRODEV_FPGA_INTPRI_LEVEL(int_number, int_level) */ #define MICRODEV_FPGA_INTPRI_MASK(n) (MICRODEV_FPGA_INTPRI_LEVEL((n),0xful)) /* Interrupt Priority Mask on INTC on CPU-board FPGA */ #define MICRODEV_FPGA_INTSRC_REG (MICRODEV_FPGA_INTC_BASE+0x30ul) /* Interrupt Source Register on INTC on CPU-board FPGA */ #define MICRODEV_FPGA_INTREQ_REG (MICRODEV_FPGA_INTC_BASE+0x38ul) /* Interrupt Request Register on INTC on CPU-board FPGA */ /* * The following are the IRQ numbers for the Linux Kernel for external * interrupts. i.e. the numbers seen by 'cat /proc/interrupt'. */ #define MICRODEV_LINUX_IRQ_KEYBOARD 1 /* SuperIO Keyboard */ #define MICRODEV_LINUX_IRQ_SERIAL1 2 /* SuperIO Serial #1 */ #define MICRODEV_LINUX_IRQ_ETHERNET 3 /* on-board Ethnernet */ #define MICRODEV_LINUX_IRQ_SERIAL2 4 /* SuperIO Serial #2 */ #define MICRODEV_LINUX_IRQ_USB_HC 7 /* on-board USB HC */ #define MICRODEV_LINUX_IRQ_MOUSE 12 /* SuperIO PS/2 Mouse */ #define MICRODEV_LINUX_IRQ_IDE2 13 /* SuperIO IDE #2 */ #define MICRODEV_LINUX_IRQ_IDE1 14 /* SuperIO IDE #1 */ /* * The following are the IRQ numbers for the INTC on the FPGA for * external interrupts. i.e. the bits in the INTC registers in the * FPGA. */ #define MICRODEV_FPGA_IRQ_KEYBOARD 1 /* SuperIO Keyboard */ #define MICRODEV_FPGA_IRQ_SERIAL1 3 /* SuperIO Serial #1 */ #define MICRODEV_FPGA_IRQ_SERIAL2 4 /* SuperIO Serial #2 */ #define MICRODEV_FPGA_IRQ_MOUSE 12 /* SuperIO PS/2 Mouse */ #define MICRODEV_FPGA_IRQ_IDE1 14 /* SuperIO IDE #1 */ #define MICRODEV_FPGA_IRQ_IDE2 15 /* SuperIO IDE #2 */ #define MICRODEV_FPGA_IRQ_USB_HC 16 /* on-board USB HC */ #define MICRODEV_FPGA_IRQ_ETHERNET 18 /* on-board Ethnernet */ #define MICRODEV_IRQ_PCI_INTA 8 #define MICRODEV_IRQ_PCI_INTB 9 #define MICRODEV_IRQ_PCI_INTC 10 #define MICRODEV_IRQ_PCI_INTD 11 #define __IO_PREFIX microdev #include <asm/io_generic.h> #endif /* __ASM_SH_MICRODEV_H */ PK �h�Z�'yn� � mangle-port.hnu �[��� /* SPDX-License-Identifier: GPL-2.0 * * SH version cribbed from the MIPS copy: * * Copyright (C) 2003, 2004 Ralf Baechle */ #ifndef __MACH_COMMON_MANGLE_PORT_H #define __MACH_COMMON_MANGLE_PORT_H /* * Sane hardware offers swapping of PCI/ISA I/O space accesses in hardware; * less sane hardware forces software to fiddle with this... * * Regardless, if the host bus endianness mismatches that of PCI/ISA, then * you can't have the numerical value of data and byte addresses within * multibyte quantities both preserved at the same time. Hence two * variations of functions: non-prefixed ones that preserve the value * and prefixed ones that preserve byte addresses. The latters are * typically used for moving raw data between a peripheral and memory (cf. * string I/O functions), hence the "__mem_" prefix. */ #if defined(CONFIG_SWAP_IO_SPACE) # define ioswabb(x) (x) # define __mem_ioswabb(x) (x) # define ioswabw(x) le16_to_cpu(x) # define __mem_ioswabw(x) (x) # define ioswabl(x) le32_to_cpu(x) # define __mem_ioswabl(x) (x) # define ioswabq(x) le64_to_cpu(x) # define __mem_ioswabq(x) (x) #else # define ioswabb(x) (x) # define __mem_ioswabb(x) (x) # define ioswabw(x) (x) # define __mem_ioswabw(x) cpu_to_le16(x) # define ioswabl(x) (x) # define __mem_ioswabl(x) cpu_to_le32(x) # define ioswabq(x) (x) # define __mem_ioswabq(x) cpu_to_le32(x) #endif #endif /* __MACH_COMMON_MANGLE_PORT_H */ PK �h�Z�aS� � sh2007.hnu �[��� /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __MACH_SH2007_H #define __MACH_SH2007_H #define CS5BCR 0xff802050 #define CS5WCR 0xff802058 #define CS5PCR 0xff802070 #define BUS_SZ8 1 #define BUS_SZ16 2 #define BUS_SZ32 3 #define PCMCIA_IODYN 1 #define PCMCIA_ATA 0 #define PCMCIA_IO8 2 #define PCMCIA_IO16 3 #define PCMCIA_COMM8 4 #define PCMCIA_COMM16 5 #define PCMCIA_ATTR8 6 #define PCMCIA_ATTR16 7 #define TYPE_SRAM 0 #define TYPE_PCMCIA 4 /* write-read/write-write delay (0-7:0,1,2,3,4,5,6,7) */ #define IWW5 0 #define IWW6 3 /* different area, read-write delay (0-7:0,1,2,3,4,5,6,7) */ #define IWRWD5 2 #define IWRWD6 2 /* same area, read-write delay (0-7:0,1,2,3,4,5,6,7) */ #define IWRWS5 2 #define IWRWS6 2 /* different area, read-read delay (0-7:0,1,2,3,4,5,6,7) */ #define IWRRD5 2 #define IWRRD6 2 /* same area, read-read delay (0-7:0,1,2,3,4,5,6,7) */ #define IWRRS5 0 #define IWRRS6 2 /* burst count (0-3:4,8,16,32) */ #define BST5 0 #define BST6 0 /* bus size */ #define SZ5 BUS_SZ16 #define SZ6 BUS_SZ16 /* RD hold for SRAM (0-1:0,1) */ #define RDSPL5 0 #define RDSPL6 0 /* Burst pitch (0-7:0,1,2,3,4,5,6,7) */ #define BW5 0 #define BW6 0 /* Multiplex (0-1:0,1) */ #define MPX5 0 #define MPX6 0 /* device type */ #define TYPE5 TYPE_PCMCIA #define TYPE6 TYPE_PCMCIA /* address setup before assert CSn for SRAM (0-7:0,1,2,3,4,5,6,7) */ #define ADS5 0 #define ADS6 0 /* address hold after negate CSn for SRAM (0-7:0,1,2,3,4,5,6,7) */ #define ADH5 0 #define ADH6 0 /* CSn assert to RD assert delay for SRAM (0-7:0,1,2,3,4,5,6,7) */ #define RDS5 0 #define RDS6 0 /* RD negate to CSn negate delay for SRAM (0-7:0,1,2,3,4,5,6,7) */ #define RDH5 0 #define RDH6 0 /* CSn assert to WE assert delay for SRAM (0-7:0,1,2,3,4,5,6,7) */ #define WTS5 0 #define WTS6 0 /* WE negate to CSn negate delay for SRAM (0-7:0,1,2,3,4,5,6,7) */ #define WTH5 0 #define WTH6 0 /* BS hold (0-1:1,2) */ #define BSH5 0 #define BSH6 0 /* wait cycle (0-15:0,1,2,3,4,5,6,7,8,9,11,13,15,17,21,25) */ #define IW5 6 /* 60ns PIO mode 4 */ #define IW6 15 /* 250ns */ #define SAA5 PCMCIA_IODYN /* IDE area b4000000-b5ffffff */ #define SAB5 PCMCIA_IODYN /* CF area b6000000-b7ffffff */ #define PCWA5 0 /* additional wait A (0-3:0,15,30,50) */ #define PCWB5 0 /* additional wait B (0-3:0,15,30,50) */ /* wait B (0-15:0,1,2,3,4,5,6,7,8,9,11,13,15,17,21,25) */ #define PCIW5 12 /* Address->OE/WE assert delay A (0-7:0,1,2,3,6,9,12,15) */ #define TEDA5 2 /* Address->OE/WE assert delay B (0-7:0,1,2,3,6,9,12,15) */ #define TEDB5 4 /* OE/WE negate->Address delay A (0-7:0,1,2,3,6,9,12,15) */ #define TEHA5 2 /* OE/WE negate->Address delay B (0-7:0,1,2,3,6,9,12,15) */ #define TEHB5 3 #define CS5BCR_D ((IWW5<<28)|(IWRWD5<<24)|(IWRWS5<<20)| \ (IWRRD5<<16)|(IWRRS5<<12)|(BST5<<10)| \ (SZ5<<8)|(RDSPL5<<7)|(BW5<<4)|(MPX5<<3)|TYPE5) #define CS5WCR_D ((ADS5<<28)|(ADH5<<24)|(RDS5<<20)| \ (RDH5<<16)|(WTS5<<12)|(WTH5<<8)|(BSH5<<4)|IW5) #define CS5PCR_D ((SAA5<<28)|(SAB5<<24)|(PCWA5<<22)| \ (PCWB5<<20)|(PCIW5<<16)|(TEDA5<<12)| \ (TEDB5<<8)|(TEHA5<<4)|TEHB5) #define SMC0_BASE 0xb0800000 /* eth0 */ #define SMC1_BASE 0xb0900000 /* eth1 */ #define CF_BASE 0xb6100000 /* Compact Flash (I/O area) */ #define IDE_BASE 0xb4000000 /* IDE */ #define PC104_IO_BASE 0xb8000000 #define PC104_MEM_BASE 0xba000000 #define SMC_IO_SIZE 0x100 #define CF_OFFSET 0x1f0 #define IDE_OFFSET 0x170 #endif /* __MACH_SH2007_H */ PK �h�Z.V� � sdk7780.hnu �[��� /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_SH_RENESAS_SDK7780_H #define __ASM_SH_RENESAS_SDK7780_H /* * linux/include/asm-sh/sdk7780.h * * Renesas Solutions SH7780 SDK Support * Copyright (C) 2008 Nicholas Beck <nbeck@mpc-data.co.uk> */ #include <linux/sh_intc.h> #include <asm/addrspace.h> /* Box specific addresses. */ #define SE_AREA0_WIDTH 4 /* Area0: 32bit */ #define PA_ROM 0xa0000000 /* EPROM */ #define PA_ROM_SIZE 0x00400000 /* EPROM size 4M byte */ #define PA_FROM 0xa0800000 /* Flash-ROM */ #define PA_FROM_SIZE 0x00400000 /* Flash-ROM size 4M byte */ #define PA_EXT1 0xa4000000 #define PA_EXT1_SIZE 0x04000000 #define PA_SDRAM 0xa8000000 /* DDR-SDRAM(Area2/3) 128MB */ #define PA_SDRAM_SIZE 0x08000000 #define PA_EXT4 0xb0000000 #define PA_EXT4_SIZE 0x04000000 #define PA_EXT_USER PA_EXT4 /* User Expansion Space */ #define PA_PERIPHERAL PA_AREA5_IO /* SRAM/Reserved */ #define PA_RESERVED (PA_PERIPHERAL + 0) /* FPGA base address */ #define PA_FPGA (PA_PERIPHERAL + 0x01000000) /* SMC LAN91C111 */ #define PA_LAN (PA_PERIPHERAL + 0x01800000) #define FPGA_SRSTR (PA_FPGA + 0x000) /* System reset */ #define FPGA_IRQ0SR (PA_FPGA + 0x010) /* IRQ0 status */ #define FPGA_IRQ0MR (PA_FPGA + 0x020) /* IRQ0 mask */ #define FPGA_BDMR (PA_FPGA + 0x030) /* Board operating mode */ #define FPGA_INTT0PRTR (PA_FPGA + 0x040) /* Interrupt test mode0 port */ #define FPGA_INTT0SELR (PA_FPGA + 0x050) /* Int. test mode0 select */ #define FPGA_INTT1POLR (PA_FPGA + 0x060) /* Int. test mode0 polarity */ #define FPGA_NMIR (PA_FPGA + 0x070) /* NMI source */ #define FPGA_NMIMR (PA_FPGA + 0x080) /* NMI mask */ #define FPGA_IRQR (PA_FPGA + 0x090) /* IRQX source */ #define FPGA_IRQMR (PA_FPGA + 0x0A0) /* IRQX mask */ #define FPGA_SLEDR (PA_FPGA + 0x0B0) /* LED control */ #define PA_LED FPGA_SLEDR #define FPGA_MAPSWR (PA_FPGA + 0x0C0) /* Map switch */ #define FPGA_FPVERR (PA_FPGA + 0x0D0) /* FPGA version */ #define FPGA_FPDATER (PA_FPGA + 0x0E0) /* FPGA date */ #define FPGA_RSE (PA_FPGA + 0x100) /* Reset source */ #define FPGA_EASR (PA_FPGA + 0x110) /* External area select */ #define FPGA_SPER (PA_FPGA + 0x120) /* Serial port enable */ #define FPGA_IMSR (PA_FPGA + 0x130) /* Interrupt mode select */ #define FPGA_PCIMR (PA_FPGA + 0x140) /* PCI Mode */ #define FPGA_DIPSWMR (PA_FPGA + 0x150) /* DIPSW monitor */ #define FPGA_FPODR (PA_FPGA + 0x160) /* Output port data */ #define FPGA_ATAESR (PA_FPGA + 0x170) /* ATA extended bus status */ #define FPGA_IRQPOLR (PA_FPGA + 0x180) /* IRQx polarity */ #define SDK7780_NR_IRL 15 /* IDE/ATA interrupt */ #define IRQ_CFCARD evt2irq(0x3c0) /* SMC interrupt */ #define IRQ_ETHERNET evt2irq(0x2c0) /* arch/sh/boards/renesas/sdk7780/irq.c */ void init_sdk7780_IRQ(void); #define __IO_PREFIX sdk7780 #include <asm/io_generic.h> #endif /* __ASM_SH_RENESAS_SDK7780_H */ PK �h�Z�)}'