files.imx23 revision 1.6 1 # $Id: files.imx23,v 1.6 2020/11/28 14:38:50 skrll Exp $
2 #
3 # Freescale i.MX23 applications processor configuration info.
4 #
5
6 defparam opt_imx.h MEMSIZE
7
8 defflag opt_imx.h IMX23
9
10 file arch/arm/arm32/irq_dispatch.S icoll
11 file arch/arm/imx/imx23_space.c ahb|apbh|apbx
12 file arch/arm/imx/imx23_dma.c ahb|apbh|apbx
13
14 # APBH bus interface
15 device apbh {addr=0, size=0, irq=-1} : bus_space_generic
16 attach apbh at mainbus
17 file arch/arm/imx/imx23_apbh.c apbh
18
19 # APBX bus interface
20 device apbx {addr=0, size=0, irq=-1} : bus_space_generic
21 attach apbx at mainbus
22 file arch/arm/imx/imx23_apbx.c apbx
23
24 # AHB bus interface
25 device ahb {addr=0, size=0, irq=-1} : bus_space_generic
26 attach ahb at mainbus
27 file arch/arm/imx/imx23_ahb.c ahb
28
29 # Interrupt controller
30 include "arch/arm/pic/files.pic"
31 device icoll: pic, pic_splfuncs
32 attach icoll at apbh
33 file arch/arm/imx/imx23_icoll.c icoll
34
35 # Synchronous Serial Port (for SD/MMC)
36 device ssp: sdmmcbus
37 attach ssp at apbh
38 file arch/arm/imx/imx23_ssp.c ssp
39
40 # Power control
41 #device power
42 #attach power at apbx
43 #file arch/arm/imx/imx23_power.c power
44
45 # PL011 Debug console
46 attach plcom at apbx with imx23plcom
47 file arch/arm/imx/imx23_plcom.c imx23plcom
48
49 # Timers and rotary decoder
50 device timrot
51 attach timrot at apbx
52 file arch/arm/imx/imx23_timrot.c timrot
53
54 # APB{H,X} DMA
55 device apbdma
56 attach apbdma at apbh, apbx
57 file arch/arm/imx/imx23_apbdma.c apbdma
58
59 # USB PHY
60 device usbphy
61 attach usbphy at apbx
62 file arch/arm/imx/imx23_usbphy.c usbphy
63
64 # Digital Control
65 device digctl
66 attach digctl at apbh
67 file arch/arm/imx/imx23_digctl.c digctl
68
69 # PIN Control
70 device imxpctl: gpiobus
71 attach imxpctl at apbh with imx23_pinctrl
72 file arch/arm/imx/imx23_pinctrl.c imx23_pinctrl
73
74 # Clock Control
75 device clkctrl
76 attach clkctrl at apbx
77 file arch/arm/imx/imx23_clkctrl.c clkctrl
78
79 # USB host controller
80 device imxusbc {unit, irq} : bus_space_generic
81 attach imxusbc at ahb
82 file arch/arm/imx/imx23_usb.c imxusbc
83
84 # EHCI
85 attach ehci at imxusbc with imxehci
86 file arch/arm/imx/imxusb.c imxehci
87
88 # RTC
89 device rtc
90 attach rtc at apbx
91 file arch/arm/imx/imx23_rtc.c rtc
92
93 # Digital filter: Audio I/O
94 device digfilt: audiobus
95 attach digfilt at apbx with digfilt
96 file arch/arm/imx/imx23_digfilt.c digfilt
97