OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [orpsocv2/] [boards/] [actel/] [ordb1a3pe1500/] [backend/] [par/] [bin/] [orsoccpuexpio.mkpinassigns] - Blame information for rev 650

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 408 julius
# Pin settings for ORSoC CPU board on ORSoC Ethernet I/O board
2
 
3
 
4
# Pin number definitions for ORSoC CPU board
5
include $(PDC_MKPINS_PATH)/orsoccpuboard.mkpins
6
 
7
# Pin definitions and assignments for ORSoC Ethernet I/O expansion board
8
include $(PDC_MKPINS_PATH)/orsocexpboard.mkpins
9
 
10
# Now actual assigns to variables used in PDC generation
11
 
12
RST_BUS_SETTING ?= -iostd LVTTL -REGISTER No -RES_PULL Up -fixed yes
13
CLK_BUS_SETTING ?= -iostd LVTTL -REGISTER No -RES_PULL None -fixed yes
14
RST_PIN ?= $(ORSOCCPUBOARD_RSTN_PIN)
15
CLK_PIN ?= $(ORSOCCPUBOARD_CLK_PIN)
16
 
17
JTAG_DBG_SETTINGS= -iostd LVTTL -REGISTER No  -fixed yes
18
JTAG_DBG_TDI_PIN ?= $(ORSOCCPUBOARD_JTAG_DBG_TDI_PIN)
19
JTAG_DBG_TMS_PIN ?= $(ORSOCCPUBOARD_JTAG_DBG_TMS_PIN)
20
JTAG_DBG_TCK_PIN ?= $(ORSOCCPUBOARD_JTAG_DBG_TCK_PIN)
21
JTAG_DBG_TDO_PIN ?= $(ORSOCCPUBOARD_JTAG_DBG_TDO_PIN)
22
 
23
SDRAM_CTRL_BUS_SETTINGS=-iostd LVTTL -REGISTER Yes -OUT_DRIVE 12 -SLEW High -RES_PULL None -SKEW Off -OUT_LOAD 35 -fixed yes
24
SDRAM_CTRL_BUS_SETTINGS_NO_REG=-iostd LVTTL -OUT_DRIVE 12 -SLEW High -RES_PULL None -SKEW Off -OUT_LOAD 35 -fixed yes
25
SDR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I0_MISO_PIN   ?= $(ORSOCCPUBOARD_SPIFLASH_MISO_PIN)
68
SPI0_MOSI_PIN   ?= $(ORSOCCPUBOARD_SPIFLASH_MOSI_PIN)
69
SPI0_SCK_PIN    ?= $(ORSOCCPUBOARD_SPIFLASH_SCK_PIN)
70
SPI0_HOLD_N_PIN ?= $(ORSOCCPUBOARD_SPIFLASH_HOLD_N_PIN)
71
SPI0_W_N_PIN    ?= $(ORSOCCPUBOARD_SPIFLASH_W_N_PIN)
72
SPI0_SS0_PIN    ?= $(ORSOCCPUBOARD_SPIFLASH_SS0_PIN)
73
 
74
 
75
#
76
# GPIO
77
#
78
GPIO_BUS_SETTINGS=-iostd LVTTL -REGISTER No -OUT_DRIVE 12 -SLEW High -RES_PULL None -SKEW Off -OUT_LOAD 35 -fixed yes
79
GPIO_BUS_NO_OUT_SETTINGS=-iostd LVTTL -REGISTER No  -fixed yes
80
GPIO0_PIN ?= $(ORSOCCPUBOARD_LED0_PIN)
81
GPIO1_PIN ?= $(ORSOCCPUBOARD_LED1_PIN)
82
GPIO2_PIN ?= $(ORSOCCPUBOARD_LED2_PIN)
83
GPIO3_PIN ?= $(ORSOCCPUBOARD_LED3_PIN)
84
GPIO4_PIN ?= $(ORSOCCPUBOARD_LED4_PIN)
85
GPIO5_PIN ?= $(ORSOCCPUBOARD_LED5_PIN)
86
GPIO6_PIN ?= $(ORSOCCPUBOARD_LED6_PIN)
87
GPIO7_PIN ?= $(ORSOCCPUBOARD_LED7_PIN)
88
GPIO8_PIN ?= $(ORSOCCPUBOARD_TENPINHDR0_PIN)
89
GPIO9_PIN ?= $(ORSOCCPUBOARD_TENPINHDR1_PIN)
90
GPIO10_PIN ?= $(ORSOCCPUBOARD_TENPINHDR2_PIN)
91
GPIO11_PIN ?= $(ORSOCCPUBOARD_TENPINHDR3_PIN)
92
GPIO12_PIN ?= $(ORSOCCPUBOARD_TENPINHDR4_PIN)
93
GPIO13_PIN ?= $(ORSOCCPUBOARD_TENPINHDR5_PIN)
94
GPIO14_PIN ?= $(ORSOCCPUBOARD_TENPINHDR6_PIN)
95
GPIO15_PIN ?= $(ORSOCCPUBOARD_TENPINHDR7_PIN)
96
GPIO16_PIN ?= $(ORSOCEXPBOARD_RGBLEDR_PIN)
97
GPIO17_PIN ?= $(ORSOCEXPBOARD_RGBLEDG_PIN)
98
GPIO18_PIN ?= $(ORSOCEXPBOARD_RGBLEDB_PIN)
99
GPIO19_PIN ?= $(ORSOCEXPBOARD_GPIO0_PIN)
100
GPIO20_PIN ?= $(ORSOCEXPBOARD_GPIO1_PIN)
101
GPIO21_PIN ?= $(ORSOCEXPBOARD_GPIO2_PIN)
102
GPIO22_PIN ?= $(ORSOCEXPBOARD_GPIO3_PIN)
103
GPIO23_PIN ?= $(ORSOCEXPBOARD_GPIO4_PIN)
104
 
105
#
106
# i2c
107
#
108
I2C_BUS_SETTINGS=-iostd LVTTL -REGISTER No -OUT_DRIVE 12 -SLEW High -RES_PULL Up -SKEW Off -OUT_LOAD 35 -fixed yes
109
I2C_0_SDA_PIN ?=$(ORSOCEXPBOARD_GPIO5_PIN)
110
I2C_0_SCL_PIN ?=$(ORSOCEXPBOARD_GPIO6_PIN)
111
I2C_1_SDA_PIN ?=$(ORSOCEXPBOARD_GPIO0_PIN)
112
I2C_1_SCL_PIN ?=$(ORSOCEXPBOARD_GPIO1_PIN)
113
I2C_2_SDA_PIN ?=$(ORSOCEXPBOARD_GPIO2_PIN)
114
I2C_2_SCL_PIN ?=$(ORSOCEXPBOARD_GPIO3_PIN)
115
I2C_3_SDA_PIN ?=$(ORSOCCPUBOARD_TENPINHDR0_PIN)
116
I2C_3_SCL_PIN ?=$(ORSOCCPUBOARD_TENPINHDR1_PIN)
117
 
118
#
119
# SPIs 1 and 2
120
#
121
 
122
SPI1_MISO_PIN ?=$(ORSOCEXPBOARD_ADC_MISO_PIN)
123
SPI1_MOSI_PIN ?=$(ORSOCEXPBOARD_ADC_MOSI_PIN)
124
SPI1_SCK_PIN ?=$(ORSOCEXPBOARD_ADC_SCLK_PIN)
125
SPI1_SS0_PIN ?=$(ORSOCEXPBOARD_ADC_SS_PIN)
126
SPI1_SS1_PIN ?=
127
SPI1_SS2_PIN ?=
128
 
129
SPI2_MISO_PIN ?=$(ORSOCCPUBOARD_TENPINHDR2_PIN)
130
SPI2_MOSI_PIN ?=$(ORSOCCPUBOARD_TENPINHDR3_PIN)
131
SPI2_SCK_PIN ?=$(ORSOCCPUBOARD_TENPINHDR4_PIN)
132
SPI2_SS0_PIN ?=$(ORSOCCPUBOARD_TENPINHDR5_PIN)
133
SPI2_SS1_PIN ?=
134
SPI2_SS2_PIN ?=
135
 
136
 
137
#
138
# UART
139
#
140
UART_RX_BUS_SETTINGS ?= -iostd LVTTL -REGISTER No -RES_PULL None  -fixed yes
141
UART_TX_BUS_SETTINGS ?= -iostd LVTTL -REGISTER No -OUT_DRIVE 12 -SLEW High -RES_PULL None -SKEW Off -OUT_LOAD 35  -fixed yes
142
# Debug UARTS
143
UART0_RX_PIN  ?= $(ORSOCCPUBOARD_UART_RX_PIN)
144
UART0_TX_PIN  ?= $(ORSOCCPUBOARD_UART_TX_PIN)
145
# Other UARTS
146
UART1_RX_PIN  ?=$(ORSOCEXPBOARD_GPSRX_PIN)
147
UART1_TX_PIN  ?=$(ORSOCEXPBOARD_GPSTX_PIN)
148
UART1_PPS_PIN ?=$(ORSOCEXPBOARD_GPSPPS_PIN)
149
UART2_RX_PIN  ?=$(ORSOCCPUBOARD_TENPINHDR6_PIN)
150
UART2_TX_PIN  ?=$(ORSOCCPUBOARD_TENPINHDR7_PIN)
151
UART2_PPS_PIN ?=
152
 
153
#
154
# USB
155
#
156
USB_TX_BUS_SETTINGS ?=-iostd LVTTL -REGISTER No -OUT_DRIVE 12 -SLEW High -RES_PULL None -SKEW Off -OUT_LOAD 35 -fixed yes
157
USB_RX_BUS_SETTINGS ?=-iostd LVTTL -REGISTER No -RES_PULL None -SCHMITT_TRIGGER Off -IN_DELAY Off
158
USB_TX_DATA_SETTINGS ?=-iostd LVTTL -REGISTER Yes -OUT_DRIVE 12 -SLEW High -RES_PULL None -SKEW Off -OUT_LOAD 35 -fixed yes
159
USB_RX_DATA_SETTINGS ?=-iostd LVTTL -REGISTER Yes -RES_PULL None -SCHMITT_TRIGGER Off -IN_DELAY Off
160
USB0_DMINUSPULLUP ?=
161
USB0_DPLUSPULLUP ?=
162
USB0_FULLSPEED ?=$(ORSOCEXPBOARD_USB0_SPD_PIN)
163
USB0_VBUSDETECT ?=
164
USB0_WIRECTRLOUT ?=$(ORSOCEXPBOARD_USB0_OEN_PIN)
165
USB0_DATAIN0 ?=$(ORSOCEXPBOARD_USB0_RX_VM_PIN)
166
USB0_DATAIN1 ?=$(ORSOCEXPBOARD_USB0_RX_VP_PIN)
167
USB0_DATAOUT0 ?=$(ORSOCEXPBOARD_USB0_TX_VMO_PIN)
168
USB0_DATAOUT1 ?=$(ORSOCEXPBOARD_USB0_TX_VPO_PIN)
169
 
170
USB1_DMINUSPULLUP ?=
171
USB1_DPLUSPULLUP ?=
172
USB1_FULLSPEED ?=$(ORSOCEXPBOARD_USB1_SPD_PIN)
173
USB1_VBUSDETECT ?=
174
USB1_WIRECTRLOUT ?=$(ORSOCEXPBOARD_USB1_OEN_PIN)
175
USB1_DATAIN0 ?=$(ORSOCEXPBOARD_USB1_RX_VM_PIN)
176
USB1_DATAIN1 ?=$(ORSOCEXPBOARD_USB1_RX_VP_PIN)
177
USB1_DATAOUT0 ?=$(ORSOCEXPBOARD_USB1_TX_VMO_PIN)
178
USB1_DATAOUT1 ?=$(ORSOCEXPBOARD_USB1_TX_VPO_PIN)
179
 
180
 
181
#
182
# Ethernet SMII and MDC interface
183
#
184
ETHERNET_BUS_SETTINGS ?=-iostd LVTTL -RES_PULL None -fixed yes
185
ETHERNET_OUT_BUS_SETTINGS ?= -REGISTER No -OUT_DRIVE 12 -SLEW High -SKEW Off -OUT_LOAD 35
186
ETHERNET_OUT_REG_BUS_SETTINGS ?= -REGISTER Yes -OUT_DRIVE 12 -SLEW High -SKEW Off -OUT_LOAD 35
187
ETH_CLK_PIN ?=$(ORSOCCPUBOARD_ETHCLK_PIN)
188
# ORSoC Exp. Board SMII
189
ETH0_MDC_PIN ?=$(ORSOCEXPBOARD_ETHA_MDC_PIN)
190
ETH0_MDIO_PIN ?=$(ORSOCEXPBOARD_ETHA_MDIO_PIN)
191
ETH0_SMII_RX_PIN ?=$(ORSOCEXPBOARD_ETHA_RX_PIN)
192
ETH0_SMII_TX_PIN ?=$(ORSOCEXPBOARD_ETHA_TX_PIN)
193
ETH0_SMII_SYNC_PIN ?=$(ORSOCEXPBOARD_ETHA_SYNC_PIN)
194
#ETH0_PHY_RSTN_PIN ?= $(ORSOCEXPBOARD_AC97_RESET_PIN) # Put this somewhere for now
195 544 julius
 
196
#
197
# SD Card controller
198
#
199
SDC_BUS_IN_SETTINGS=-iostd LVTTL -REGISTER No -OUT_DRIVE 12 -SLEW High -RES_PULL Up -SKEW Off -OUT_LOAD 35 -fixed yes
200
SDC_BUS_IO_SETTINGS=-iostd LVTTL -REGISTER No -OUT_DRIVE 12 -SLEW High -RES_PULL Up -SKEW Off -OUT_LOAD 35 -fixed yes
201
SDC_BUS_OUT_SETTINGS=-iostd LVTTL -REGISTER No -OUT_DRIVE 12 -SLEW High -RES_PULL Up -SKEW Off -OUT_LOAD 35 -fixed yes
202
 
203
# Got mapping from here:
204
# http://pinouts.ru/Memory/sdcard_pinout.shtml
205
#
206
SDC_CARD_DETECT_PIN=$(ORSOCEXPBOARD_SDCARD_CD_PIN)
207
SDC_CMD_PIN=$(ORSOCEXPBOARD_SDCARD_DI_PIN)
208
SDC_CLK_PIN=$(ORSOCEXPBOARD_SDCARD_SCLK_PIN)
209
SDC_DAT0_PIN=$(ORSOCEXPBOARD_SDCARD_DO_PIN)
210
SDC_DAT1_PIN=$(ORSOCEXPBOARD_SDCARD_DAT1_PIN)
211
SDC_DAT2_PIN=$(ORSOCEXPBOARD_SDCARD_DAT2_PIN)
212
SDC_DAT3_PIN=$(ORSOCEXPBOARD_SDCARD_CS_PIN)

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.