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