IMX23_OLINUXINO revision 1.16 1 # $Id: IMX23_OLINUXINO,v 1.16 2017/02/19 07:47:00 rin Exp $
2 #
3 # IMX23_OLINUXINO -- Olimex i.MX23 OLinuXino kernel configuration file.
4 #
5
6 include "arch/evbarm/conf/std.imx23_olinuxino"
7
8 maxusers 8
9
10 config netbsd root on ? type ?
11
12 # The main bus device
13 mainbus0 at root
14
15 # The boot CPU
16 cpu0 at mainbus?
17
18 # AHB bus
19 ahb0 at mainbus? base 0x80080000 size 0x80000
20
21 # USB host controller
22 imxusbc0 at ahb? addr 0x80080000 size 0x40000 irq -1
23
24 # APBH bus
25 apbh0 at mainbus? base 0x80000000 size 0x40000
26
27 # APBH DMA
28 apbdma0 at apbh? addr 0x80004000 size 0x2000 irq -1
29
30 # Interrupt controller
31 icoll0 at apbh? addr 0x80000000 size 0x2000 irq -1
32
33 # Synchronous serial port for SD/MMC
34 ssp0 at apbh? addr 0x80010000 size 0x2000 irq 15
35 sdmmc* at ssp?
36 ld* at sdmmc?
37
38 # Digital control
39 digctl0 at apbh? addr 0x8001C000 size 0x2000 irq -1
40
41 # PIN control
42 pinctrl0 at apbh? addr 0x80018000 size 0x2000 irq -1
43 gpio* at pinctrl?
44
45 # APBX bus
46 apbx0 at mainbus? base 0x80040000 size 0x40000
47
48 # Power control
49 #power0 at apbx? addr 0x80044000 size 0x2000 irq -1
50
51 # APBX DMA
52 apbdma1 at apbx? addr 0x80024000 size 0x2000 irq -1
53
54 # Timers and rotary decoder
55 timrot0 at apbx? addr 0x80068020 size 0x20 irq 28
56 timrot1 at apbx? addr 0x80068040 size 0x20 irq 29
57 #timrot2 at apbx? addr 0x80068060 size 0x20 irq 30
58 #timrot3 at apbx? addr 0x80068080 size 0x20 irq 31
59
60 # Debug UART
61 plcom0 at apbx? addr 0x80070000 size 0x1000 irq 0
62
63 # USB PHY
64 usbphy0 at apbx? addr 0x8007C000 size 0x2000 irq -1
65
66 # Clock control
67 clkctrl0 at apbx? addr 0x80040000 size 0x2000 irq -1
68
69 # RTC
70 rtc0 at apbx? addr 0x8005C000 size 0x2000 irq -1
71
72 # Digital filter: Audio I/O
73 digfilt0 at apbx? addr 0x80048000 size 0x8000 irq -1
74 audio0 at digfilt0
75
76 spkr* at audio? # PC speaker (synthesized)
77
78 # USB host
79 ehci0 at imxusbc0 unit 0 irq 11
80 # USB OTG
81 # ehci0 at imxusbc0 unit 0 irq 18
82
83 usb* at ehci?
84 uhub* at usb?
85 uhub* at uhub? port ?
86 ugen* at uhub? port ?
87
88 include "dev/usb/usbdevices.config"
89
90 midi* at midibus?
91
92 ukphy* at mii? phy ?
93
94 options MEMSIZE=64
95 options DDB
96 options HZ=100
97 pseudo-device ksyms
98 options INET # IP + ICMP + TCP + UDP
99 options INET6 # IPv6
100 options COMPAT_NETBSD32 # allow running arm (e.g. non-earm) binaries
101 options COMPAT_60 # NetBSD 6.0, and
102 options COMPAT_70 # NetBSD 7.0 binary compatibility.
103
104 makeoptions DEBUG="-g" # compile full symbol table
105 makeoptions COPY_SYMTAB=1
106
107 options SYSVMSG # System V-like message queues
108 options SYSVSEM # System V-like semaphores
109 options SYSVSHM # System V-like memory sharing
110
111 #options MODULAR
112 #options MODULAR_DEFAULT_AUTOLOAD
113 options KTRACE
114 #options DEBUG
115 #options DIAGNOSTIC
116
117 file-system FFS
118 file-system MFS
119 file-system EXT2FS
120 file-system MSDOSFS
121 file-system KERNFS
122 file-system PROCFS
123 file-system PTYFS
124 file-system NFS
125
126 #options DISKLABEL_EI # disklabel Endian Independent support
127 #options FFS_EI # FFS Endian Independent support
128 options WAPBL
129
130 pseudo-device pty # pseudo-terminals
131 pseudo-device loop # network loopback
132 pseudo-device bpfilter # Berkeley packet filter
133