Tue Jun 18 15:22:37 2013 UTC ()
Add OMAP_[2345]XXX to simply matching.


(matt)
diff -r1.26 -r1.27 src/sys/arch/arm/omap/files.omap2

cvs diff -r1.26 -r1.27 src/sys/arch/arm/omap/Attic/files.omap2 (switch to unified diff)

--- src/sys/arch/arm/omap/Attic/files.omap2 2013/06/15 21:55:09 1.26
+++ src/sys/arch/arm/omap/Attic/files.omap2 2013/06/18 15:22:37 1.27
@@ -1,159 +1,164 @@ @@ -1,159 +1,164 @@
1# $NetBSD: files.omap2,v 1.26 2013/06/15 21:55:09 matt Exp $ 1# $NetBSD: files.omap2,v 1.27 2013/06/18 15:22:37 matt Exp $
2# 2#
3# Configuration info for Texas Instruments OMAP2/OMAP3 CPU support 3# Configuration info for Texas Instruments OMAP2/OMAP3 CPU support
4# Based on xscale/files.pxa2x0 4# Based on xscale/files.pxa2x0
5# 5#
6 6
7include "arch/arm/pic/files.pic" 7include "arch/arm/pic/files.pic"
8include "arch/arm/cortex/files.cortex" 8include "arch/arm/cortex/files.cortex"
9 9
10file arch/arm/arm32/irq_dispatch.S 10file arch/arm/arm32/irq_dispatch.S
11file arch/arm/omap/omap_dma.c 11file arch/arm/omap/omap_dma.c
12 12
13# Memory size in megabytes 13# Memory size in megabytes
14defparam opt_omap.h MEMSIZE 14defparam opt_omap.h MEMSIZE
15defparam opt_omap.h OMAP_EMIFF_PBASE OMAP_EMIFF_SIZE 15defparam opt_omap.h OMAP_EMIFF_PBASE OMAP_EMIFF_SIZE
16defflag opt_omap.h OMAP2 16defflag opt_omap.h OMAP2
17defflag opt_omap.h OMAP3: OMAP2 17defflag opt_omap.h OMAP3: OMAP2
18defflag opt_omap.h OMAP4: OMAP3 18defflag opt_omap.h OMAP4: OMAP3
19defflag opt_omap.h OMAP5: OMAP4 19defflag opt_omap.h OMAP5: OMAP4
20defflag opt_omap.h OMAP_2430: OMAP2 20defflag opt_omap.h OMAP_2XXX: OMAP2
21defflag opt_omap.h OMAP_2420: OMAP2 21defflag opt_omap.h OMAP_2430: OMAP_2XXX
22defflag opt_omap.h OMAP_3430: OMAP3 22defflag opt_omap.h OMAP_2420: OMAP_2XXX
23defflag opt_omap.h OMAP_3530: OMAP3 23defflag opt_omap.h OMAP_3XXX: OMAP3
24defflag opt_omap.h OMAP_4430: OMAP4 24defflag opt_omap.h OMAP_3430: OMAP_3XXX
25defflag opt_omap.h OMAP_5430: OMAP4 25defflag opt_omap.h OMAP_3530: OMAP_3XXX
 26defflag opt_omap.h OMAP_4XXX: OMAP4
 27defflag opt_omap.h OMAP_4430: OMAP_4XXX
 28defflag opt_omap.h OMAP_4460: OMAP_4XXX
 29defflag opt_omap.h OMAP_5XXX: OMAP5
 30defflag opt_omap.h OMAP_5430: OMAP_5XXX
26defflag opt_omap.h TI_AM335X: OMAP3 31defflag opt_omap.h TI_AM335X: OMAP3
27defflag opt_omap.h TI_DM37XX: OMAP3 32defflag opt_omap.h TI_DM37XX: OMAP3
28 33
29# OBIO just an attach point 34# OBIO just an attach point
30device obio { [addr=-1], [size=0], [intr=-1], [mult=1], [intrbase=-1], [nobyteacc=0] 35device obio { [addr=-1], [size=0], [intr=-1], [mult=1], [intrbase=-1], [nobyteacc=0]
31 } : bus_space_generic 36 } : bus_space_generic
32attach obio at mainbus 37attach obio at mainbus
33file arch/arm/omap/omap2_obio.c obio needs-count 38file arch/arm/omap/omap2_obio.c obio needs-count
34 39
35# OBIO files 40# OBIO files
36file arch/arm/omap/omap_space.c obio 41file arch/arm/omap/omap_space.c obio
37file arch/arm/omap/omap_a2x_space.c obio 42file arch/arm/omap/omap_a2x_space.c obio
38file arch/arm/arm/bus_space_a2x.S obio 43file arch/arm/arm/bus_space_a2x.S obio
39file arch/arm/omap/omap_a4x_space.c obio 44file arch/arm/omap/omap_a4x_space.c obio
40file arch/arm/arm/bus_space_a4x.S obio 45file arch/arm/arm/bus_space_a4x.S obio
41 46
42# TI Sitara control module 47# TI Sitara control module
43device sitaracm 48device sitaracm
44attach sitaracm at obio with sitaracm 49attach sitaracm at obio with sitaracm
45file arch/arm/omap/sitara_cm.c sitaracm 50file arch/arm/omap/sitara_cm.c sitaracm
46file arch/arm/omap/am335x_cm_padconf.c ti_am335x 51file arch/arm/omap/am335x_cm_padconf.c ti_am335x
47 52
48# OMAP2 interrupt controller 53# OMAP2 interrupt controller
49device omapicu: pic, pic_splfuncs 54device omapicu: pic, pic_splfuncs
50attach omapicu at obio with omap2icu 55attach omapicu at obio with omap2icu
51file arch/arm/omap/omap2_icu.c (omap2 | omap3) & omapicu 56file arch/arm/omap/omap2_icu.c (omap2 | omap3) & omapicu
52file arch/arm/omap/omap2430_intr.c omap2 & !omapicu & !omap4 57file arch/arm/omap/omap2430_intr.c omap2 & !omapicu & !omap4
53 58
54# OMAP2 GPIO controllers 59# OMAP2 GPIO controllers
55device omapgpio: gpiobus 60device omapgpio: gpiobus
56attach omapgpio at obio with omap2gpio 61attach omapgpio at obio with omap2gpio
57file arch/arm/omap/omap2_gpio.c (omap2 | omap3) & omapgpio 62file arch/arm/omap/omap2_gpio.c (omap2 | omap3) & omapgpio
58 63
59# TI_AM335X (and maybe TI OMAP4) I2C controllers 64# TI_AM335X (and maybe TI OMAP4) I2C controllers
60device tiiic: i2cbus, i2cexec 65device tiiic: i2cbus, i2cexec
61attach tiiic at obio with ti_iic 66attach tiiic at obio with ti_iic
62file arch/arm/omap/ti_iic.c ti_iic 67file arch/arm/omap/ti_iic.c ti_iic
63 68
64# OMAP3 I2C controllers 69# OMAP3 I2C controllers
65device omapiic: i2cbus, i2cexec 70device omapiic: i2cbus, i2cexec
66attach omapiic at obio with omap3_i2c 71attach omapiic at obio with omap3_i2c
67file arch/arm/omap/omap3_i2c.c omap3_i2c 72file arch/arm/omap/omap3_i2c.c omap3_i2c
68 73
69# OMAP3 system control module 74# OMAP3 system control module
70device omapscm: sysmon_envsys 75device omapscm: sysmon_envsys
71attach omapscm at obio with omap3_scm 76attach omapscm at obio with omap3_scm
72file arch/arm/omap/omap3_scm.c omap3_scm 77file arch/arm/omap/omap3_scm.c omap3_scm
73 78
74# OMAP dual-mode timer 79# OMAP dual-mode timer
75device omapdmtimer 80device omapdmtimer
76file arch/arm/omap/omap_dmtimer.c omapdmtimer 81file arch/arm/omap/omap_dmtimer.c omapdmtimer
77defparam opt_omap.h OMAP_SYSTEM_CLOCK_FREQ 82defparam opt_omap.h OMAP_SYSTEM_CLOCK_FREQ
78 83
79attach omapdmtimer at obio with omap_dmtimer_obio 84attach omapdmtimer at obio with omap_dmtimer_obio
80file arch/arm/omap/am335x_dmtimer.c ti_am335x & omapdmtimer 85file arch/arm/omap/am335x_dmtimer.c ti_am335x & omapdmtimer
81 86
82# OMAP 2430 General Purpose Timer 87# OMAP 2430 General Purpose Timer
83device omapmputmr 88device omapmputmr
84file arch/arm/omap/omap2_mputmr.c omapmputmr 89file arch/arm/omap/omap2_mputmr.c omapmputmr
85defparam opt_omap.h OMAP_GP_TIMER_CLOCK_FREQ 90defparam opt_omap.h OMAP_GP_TIMER_CLOCK_FREQ
86 91
87# OBIO/2430 GP Timer 92# OBIO/2430 GP Timer
88attach omapmputmr at obio with obiomputmr 93attach omapmputmr at obio with obiomputmr
89file arch/arm/omap/obio_mputmr.c obiomputmr 94file arch/arm/omap/obio_mputmr.c obiomputmr
90 95
91# Dual Mode (General Purpose) Timer 96# Dual Mode (General Purpose) Timer
92device omapgptmr 97device omapgptmr
93attach omapgptmr at obio 98attach omapgptmr at obio
94file arch/arm/omap/omap2_gptmr.c omapgptmr 99file arch/arm/omap/omap2_gptmr.c omapgptmr
95#file arch/arm/omap/omap_pwm.c omapgptmr 100#file arch/arm/omap/omap_pwm.c omapgptmr
96 101
97# Watchdog timers 102# Watchdog timers
98 103
99device omapwdt32k: sysmon_wdog 104device omapwdt32k: sysmon_wdog
100file arch/arm/omap/omap_wdt.c omapwdt32k needs-flag 105file arch/arm/omap/omap_wdt.c omapwdt32k needs-flag
101 106
102attach omapwdt32k at obio with obiowdt32k 107attach omapwdt32k at obio with obiowdt32k
103file arch/arm/omap/obio_wdt.c obiowdt32k 108file arch/arm/omap/obio_wdt.c obiowdt32k
104 109
105# L3 Interconnect 110# L3 Interconnect
106device L3i { [addr=-1], [size=0], [intr=-1], [mult=1], [nobyteacc=0] 111device L3i { [addr=-1], [size=0], [intr=-1], [mult=1], [nobyteacc=0]
107 } : bus_space_generic 112 } : bus_space_generic
108attach L3i at mainbus 113attach L3i at mainbus
109file arch/arm/omap/omap2_l3i.c omap2 | omap3 114file arch/arm/omap/omap2_l3i.c omap2 | omap3
110 115
111# General Purpose Memory Controller 116# General Purpose Memory Controller
112# XXX some addl. chip select config parms may be desired here (e.g. timing) 117# XXX some addl. chip select config parms may be desired here (e.g. timing)
113# XXX so far we just use the setup established by boot firmware 118# XXX so far we just use the setup established by boot firmware
114device gpmc { [addr=-1], [size=0], [intr=-1], [mult=1], [nobyteacc=0] 119device gpmc { [addr=-1], [size=0], [intr=-1], [mult=1], [nobyteacc=0]
115 } : bus_space_generic 120 } : bus_space_generic
116attach gpmc at mainbus 121attach gpmc at mainbus
117file arch/arm/omap/omap2_gpmc.c gpmc 122file arch/arm/omap/omap2_gpmc.c gpmc
118 123
119# SDMMC controller 124# SDMMC controller
120attach sdhc at obio with obiosdhc 125attach sdhc at obio with obiosdhc
121file arch/arm/omap/omap3_sdhc.c obiosdhc 126file arch/arm/omap/omap3_sdhc.c obiosdhc
122 127
123# NAND flash controller 128# NAND flash controller
124device omapnand: nandbus 129device omapnand: nandbus
125attach omapnand at gpmc 130attach omapnand at gpmc
126file arch/arm/omap/omap2_nand.c omapnand 131file arch/arm/omap/omap2_nand.c omapnand
127 132
128# PRCM interface 133# PRCM interface
129device prcm 134device prcm
130attach prcm at obio 135attach prcm at obio
131file arch/arm/omap/omap2_prcm.c prcm needs-flag 136file arch/arm/omap/omap2_prcm.c prcm needs-flag
132file arch/arm/omap/am335x_prcm.c ti_am335x 137file arch/arm/omap/am335x_prcm.c ti_am335x
133 138
134# OHCI USB controller 139# OHCI USB controller
135attach ohci at obio with obioohci 140attach ohci at obio with obioohci
136file arch/arm/omap/obio_ohci.c obioohci 141file arch/arm/omap/obio_ohci.c obioohci
137 142
138attach ehci at obio with omap3_ehci 143attach ehci at obio with omap3_ehci
139file arch/arm/omap/omap3_ehci.c omap3_ehci 144file arch/arm/omap/omap3_ehci.c omap3_ehci
140 145
141attach ahcisata at obio with omap5_ahcisata 146attach ahcisata at obio with omap5_ahcisata
142file arch/arm/omap/omap5_ahcisata.c omap5_ahcisata 147file arch/arm/omap/omap5_ahcisata.c omap5_ahcisata
143 148
144device omapfb: rasops16, rasops8, wsemuldisplaydev, vcons, edid 149device omapfb: rasops16, rasops8, wsemuldisplaydev, vcons, edid
145attach omapfb at obio 150attach omapfb at obio
146file arch/arm/omap/omapfb.c omapfb 151file arch/arm/omap/omapfb.c omapfb
147 152
148device cpsw: ether, ifnet, arp, mii, mii_phy 153device cpsw: ether, ifnet, arp, mii, mii_phy
149attach cpsw at obio 154attach cpsw at obio
150file arch/arm/omap/if_cpsw.c cpsw 155file arch/arm/omap/if_cpsw.c cpsw
151 156
152device omapdma 157device omapdma
153attach omapdma at obio 158attach omapdma at obio
154file arch/arm/omap/omap3_sdma.c omapdma needs-flag 159file arch/arm/omap/omap3_sdma.c omapdma needs-flag
155 160
156# these bus space methods are not bus-specific ... 161# these bus space methods are not bus-specific ...
157# 162#
158file arch/arm/omap/omap_nobyteacc_space.c emifs | gpmc 163file arch/arm/omap/omap_nobyteacc_space.c emifs | gpmc
159file arch/arm/omap/omap_nobyteacc_io.S emifs | gpmc 164file arch/arm/omap/omap_nobyteacc_io.S emifs | gpmc