head	1.38;
access;
symbols
	perseant-exfatfs-base-20250801:1.38
	perseant-exfatfs-base-20240630:1.38
	perseant-exfatfs:1.38.0.2
	perseant-exfatfs-base:1.38
	netbsd-8-3-RELEASE:1.23.6.1
	netbsd-9-4-RELEASE:1.31.2.2
	bouyer-sunxi-drm:1.37.0.2
	bouyer-sunxi-drm-base:1.37
	netbsd-9-3-RELEASE:1.31.2.2
	thorpej-i2c-spi-conf2:1.36.0.16
	thorpej-i2c-spi-conf2-base:1.36
	thorpej-futex2:1.36.0.14
	thorpej-futex2-base:1.36
	thorpej-cfargs2:1.36.0.12
	thorpej-cfargs2-base:1.36
	cjep_sun2x-base1:1.36
	cjep_sun2x:1.36.0.10
	cjep_sun2x-base:1.36
	cjep_staticlib_x-base1:1.36
	netbsd-9-2-RELEASE:1.31.2.2
	cjep_staticlib_x:1.36.0.8
	cjep_staticlib_x-base:1.36
	thorpej-i2c-spi-conf:1.36.0.6
	thorpej-i2c-spi-conf-base:1.36
	thorpej-cfargs:1.36.0.4
	thorpej-cfargs-base:1.36
	thorpej-futex:1.36.0.2
	thorpej-futex-base:1.36
	netbsd-9-1-RELEASE:1.31.2.2
	bouyer-xenpvh-base2:1.34
	phil-wifi-20200421:1.34
	bouyer-xenpvh-base1:1.34
	phil-wifi-20200411:1.33
	bouyer-xenpvh:1.33.0.6
	bouyer-xenpvh-base:1.33
	is-mlppp:1.33.0.4
	is-mlppp-base:1.33
	phil-wifi-20200406:1.33
	netbsd-8-2-RELEASE:1.23.6.1
	ad-namecache-base3:1.33
	netbsd-9-0-RELEASE:1.31.2.2
	netbsd-9-0-RC2:1.31.2.2
	ad-namecache-base2:1.33
	ad-namecache-base1:1.33
	ad-namecache:1.33.0.2
	ad-namecache-base:1.33
	netbsd-9-0-RC1:1.31.2.2
	phil-wifi-20191119:1.33
	netbsd-9:1.31.0.2
	netbsd-9-base:1.31
	phil-wifi-20190609:1.31
	netbsd-8-1-RELEASE:1.23.6.1
	netbsd-8-1-RC1:1.23.6.1
	isaki-audio2:1.30.0.2
	isaki-audio2-base:1.30
	pgoyette-compat-merge-20190127:1.26.2.3
	pgoyette-compat-20190127:1.30
	pgoyette-compat-20190118:1.30
	pgoyette-compat-1226:1.30
	pgoyette-compat-1126:1.30
	pgoyette-compat-1020:1.29
	pgoyette-compat-0930:1.29
	pgoyette-compat-0906:1.29
	netbsd-7-2-RELEASE:1.17
	pgoyette-compat-0728:1.29
	netbsd-8-0-RELEASE:1.23.6.1
	phil-wifi:1.27.0.2
	phil-wifi-base:1.27
	pgoyette-compat-0625:1.27
	netbsd-8-0-RC2:1.23.6.1
	pgoyette-compat-0521:1.27
	pgoyette-compat-0502:1.27
	pgoyette-compat-0422:1.27
	netbsd-8-0-RC1:1.23.6.1
	pgoyette-compat-0415:1.27
	pgoyette-compat-0407:1.27
	pgoyette-compat-0330:1.27
	pgoyette-compat-0322:1.27
	pgoyette-compat-0315:1.27
	netbsd-7-1-2-RELEASE:1.17
	pgoyette-compat:1.26.0.2
	pgoyette-compat-base:1.26
	netbsd-7-1-1-RELEASE:1.17
	tls-maxphys-base-20171202:1.26
	matt-nb8-mediatek:1.23.6.1.0.2
	matt-nb8-mediatek-base:1.23.6.1
	nick-nhusb-base-20170825:1.25
	perseant-stdc-iso10646:1.24.0.2
	perseant-stdc-iso10646-base:1.24
	netbsd-8:1.23.0.6
	netbsd-8-base:1.23
	prg-localcount2-base3:1.23
	prg-localcount2-base2:1.23
	prg-localcount2-base1:1.23
	prg-localcount2:1.23.0.4
	prg-localcount2-base:1.23
	pgoyette-localcount-20170426:1.23
	bouyer-socketcan-base1:1.23
	jdolecek-ncq:1.23.0.2
	jdolecek-ncq-base:1.23
	pgoyette-localcount-20170320:1.23
	netbsd-7-1:1.17.0.8
	netbsd-7-1-RELEASE:1.17
	netbsd-7-1-RC2:1.17
	nick-nhusb-base-20170204:1.22
	netbsd-7-nhusb-base-20170116:1.17
	bouyer-socketcan:1.22.0.4
	bouyer-socketcan-base:1.22
	pgoyette-localcount-20170107:1.22
	netbsd-7-1-RC1:1.17
	nick-nhusb-base-20161204:1.22
	pgoyette-localcount-20161104:1.22
	netbsd-7-0-2-RELEASE:1.17
	nick-nhusb-base-20161004:1.22
	localcount-20160914:1.22
	netbsd-7-nhusb:1.17.0.6
	netbsd-7-nhusb-base:1.17
	pgoyette-localcount-20160806:1.22
	pgoyette-localcount-20160726:1.22
	pgoyette-localcount:1.22.0.2
	pgoyette-localcount-base:1.22
	nick-nhusb-base-20160907:1.22
	nick-nhusb-base-20160529:1.22
	netbsd-7-0-1-RELEASE:1.17
	nick-nhusb-base-20160422:1.22
	nick-nhusb-base-20160319:1.22
	nick-nhusb-base-20151226:1.22
	netbsd-7-0:1.17.0.4
	netbsd-7-0-RELEASE:1.17
	nick-nhusb-base-20150921:1.22
	netbsd-7-0-RC3:1.17
	netbsd-7-0-RC2:1.17
	netbsd-7-0-RC1:1.17
	nick-nhusb-base-20150606:1.21
	nick-nhusb-base-20150406:1.21
	nick-nhusb:1.21.0.2
	nick-nhusb-base:1.21
	netbsd-7:1.17.0.2
	netbsd-7-base:1.17
	yamt-pagecache-base9:1.15
	yamt-pagecache-tag8:1.4.2.3
	tls-earlyentropy:1.15.0.4
	tls-earlyentropy-base:1.17
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.15
	riastradh-drm2-base3:1.15
	rmind-smpnet-nbase:1.15
	riastradh-drm2-base2:1.15
	riastradh-drm2-base1:1.15
	riastradh-drm2:1.15.0.2
	riastradh-drm2-base:1.15
	rmind-smpnet:1.14.0.2
	rmind-smpnet-base:1.15
	khorben-n900:1.13.0.2
	agc-symver:1.7.0.2
	agc-symver-base:1.7
	tls-maxphys-base:1.17
	tls-maxphys:1.4.0.6
	yamt-pagecache-base8:1.4
	yamt-pagecache:1.4.0.2
	yamt-pagecache-base7:1.2;
locks; strict;
comment	@# @;


1.38
date	2022.10.29.08.33.45;	author jmcneill;	state dead;
branches;
next	1.37;
commitid	jKon2O6W1KFUDAZD;

1.37
date	2022.08.07.02.52.25;	author simonb;	state Exp;
branches;
next	1.36;
commitid	HXKRRXLciPDtrTOD;

1.36
date	2020.09.29.19.58.50;	author jmcneill;	state Exp;
branches;
next	1.35;
commitid	mHlbrdCG5hVISYpC;

1.35
date	2020.06.13.16.51.25;	author ad;	state Exp;
branches;
next	1.34;
commitid	X12qGCJUW9oVi5cC;

1.34
date	2020.04.18.11.00.38;	author skrll;	state Exp;
branches;
next	1.33;
commitid	2zaZE9PO9gJXaR4C;

1.33
date	2019.11.03.12.07.46;	author jmcneill;	state Exp;
branches
	1.33.6.1;
next	1.32;
commitid	UdhSghEXwWEUUoJB;

1.32
date	2019.11.02.07.56.25;	author martin;	state Exp;
branches;
next	1.31;
commitid	phXT9kloGkBzyfJB;

1.31
date	2019.05.18.08.49.23;	author skrll;	state Exp;
branches
	1.31.2.1;
next	1.30;
commitid	VWUb8jSMwSEReFnB;

1.30
date	2018.10.23.19.58.52;	author jdolecek;	state Exp;
branches;
next	1.29;
commitid	Uj00maxTZQIxA7XA;

1.29
date	2018.07.14.15.09.41;	author maxv;	state Exp;
branches;
next	1.28;
commitid	pS1Vmgc7z1Iwf7KA;

1.28
date	2018.07.12.10.46.43;	author maxv;	state Exp;
branches;
next	1.27;
commitid	zv0Sckxqs4y3RPJA;

1.27
date	2018.03.13.06.20.41;	author ryo;	state Exp;
branches
	1.27.2.1;
next	1.26;
commitid	jIyk4Go8253AhguA;

1.26
date	2017.09.14.07.58.40;	author mrg;	state Exp;
branches
	1.26.2.1;
next	1.25;
commitid	ngZ6fHXwTqlZA87A;

1.25
date	2017.07.29.18.08.57;	author maxv;	state Exp;
branches;
next	1.24;
commitid	OtoNC1YDOrKHu91A;

1.24
date	2017.06.26.03.15.16;	author sevan;	state Exp;
branches;
next	1.23;
commitid	rPmr3c7sr0iMBPWz;

1.23
date	2017.02.19.07.47.00;	author rin;	state Exp;
branches
	1.23.6.1;
next	1.22;
commitid	ivCr5u3yfBMzbxGz;

1.22
date	2015.08.12.07.53.57;	author maxv;	state Exp;
branches
	1.22.2.1
	1.22.4.1;
next	1.21;
commitid	6eLXlen4HB1O8Xwy;

1.21
date	2014.08.30.15.21.17;	author kiyohara;	state Exp;
branches
	1.21.2.1;
next	1.20;
commitid	Bjywslt5yeX9LoOx;

1.20
date	2014.08.23.20.26.57;	author dholland;	state Exp;
branches;
next	1.19;
commitid	Ef5fhfmsGe1uFwNx;

1.19
date	2014.08.17.21.17.43;	author joerg;	state Exp;
branches;
next	1.18;
commitid	1Tn1qthIdwV09LMx;

1.18
date	2014.08.16.17.56.31;	author apb;	state Exp;
branches;
next	1.17;
commitid	gjT9TWtCibuK4CMx;

1.17
date	2014.08.03.09.18.16;	author martin;	state Exp;
branches;
next	1.16;
commitid	IuRbf3yoxQF3DTKx;

1.16
date	2014.07.27.03.34.41;	author dholland;	state Exp;
branches;
next	1.15;
commitid	rlGfXZaBJUt0XXJx;

1.15
date	2013.06.30.21.38.56;	author rmind;	state Exp;
branches
	1.15.4.1;
next	1.14;
commitid	WyqSRDp14EmayGVw;

1.14
date	2013.06.05.23.08.00;	author christos;	state Exp;
branches
	1.14.2.1;
next	1.13;
commitid	MDKdYakvaqdHQtSw;

1.13
date	2013.05.06.22.56.55;	author khorben;	state Exp;
branches
	1.13.2.1;
next	1.12;

1.12
date	2013.05.06.22.49.27;	author khorben;	state Exp;
branches;
next	1.11;

1.11
date	2013.04.20.03.37.55;	author khorben;	state Exp;
branches;
next	1.10;

1.10
date	2013.04.17.01.06.13;	author khorben;	state Exp;
branches;
next	1.9;

1.9
date	2013.04.17.00.57.22;	author khorben;	state Exp;
branches;
next	1.8;

1.8
date	2013.04.14.19.17.06;	author khorben;	state Exp;
branches;
next	1.7;

1.7
date	2013.03.13.03.08.18;	author khorben;	state Exp;
branches;
next	1.6;

1.6
date	2013.03.02.02.42.13;	author christos;	state Exp;
branches;
next	1.5;

1.5
date	2013.03.01.18.25.35;	author joerg;	state Exp;
branches;
next	1.4;

1.4
date	2012.12.20.01.20.54;	author khorben;	state Exp;
branches
	1.4.2.1
	1.4.6.1;
next	1.3;

1.3
date	2012.12.20.01.15.30;	author khorben;	state Exp;
branches;
next	1.2;

1.2
date	2012.12.11.01.54.43;	author khorben;	state Exp;
branches;
next	1.1;

1.1
date	2012.12.07.00.02.36;	author khorben;	state Exp;
branches;
next	;

1.33.6.1
date	2020.04.20.11.28.54;	author bouyer;	state Exp;
branches;
next	;
commitid	4WLfIgNPymVsg75C;

1.31.2.1
date	2019.11.21.18.17.59;	author martin;	state Exp;
branches;
next	1.31.2.2;
commitid	MmECFs8hRKPpnKLB;

1.31.2.2
date	2019.11.27.13.46.44;	author martin;	state Exp;
branches;
next	;
commitid	GtJZLifQuZ11HuMB;

1.27.2.1
date	2019.06.10.22.06.04;	author christos;	state Exp;
branches;
next	1.27.2.2;
commitid	jtc8rnCzWiEEHGqB;

1.27.2.2
date	2020.04.13.08.03.42;	author martin;	state Exp;
branches;
next	1.27.2.3;
commitid	X01YhRUPVUDaec4C;

1.27.2.3
date	2020.04.21.18.42.05;	author martin;	state Exp;
branches;
next	;
commitid	86tA4aEmdr3VCh5C;

1.26.2.1
date	2018.03.15.09.12.02;	author pgoyette;	state Exp;
branches;
next	1.26.2.2;
commitid	lb7w3QtkrVH4axuA;

1.26.2.2
date	2018.07.28.04.37.31;	author pgoyette;	state Exp;
branches;
next	1.26.2.3;
commitid	1UP1xAIUxv1ZgRLA;

1.26.2.3
date	2018.11.26.01.52.21;	author pgoyette;	state Exp;
branches;
next	;
commitid	Zj4q5SspGdKXto1B;

1.23.6.1
date	2017.07.01.08.49.28;	author snj;	state Exp;
branches;
next	;
commitid	30GQmDCS1QcLivXz;

1.22.2.1
date	2017.03.20.06.57.13;	author pgoyette;	state Exp;
branches;
next	;
commitid	jjw7cAwgyKq7RfKz;

1.22.4.1
date	2017.04.21.16.53.25;	author bouyer;	state Exp;
branches;
next	;
commitid	dUG7nkTKALCadqOz;

1.21.2.1
date	2015.09.22.12.05.40;	author skrll;	state Exp;
branches;
next	1.21.2.2;
commitid	CpNWKp3ozVNTafCy;

1.21.2.2
date	2017.08.28.17.51.34;	author skrll;	state Exp;
branches;
next	;
commitid	UQQpnjvcNkUZn05A;

1.15.4.1
date	2014.08.10.06.53.54;	author tls;	state Exp;
branches;
next	;
commitid	7fY3uHKSIbCABMLx;

1.14.2.1
date	2013.08.28.23.59.14;	author rmind;	state Exp;
branches;
next	;
commitid	cbp9Ov2uYijlqh3x;

1.13.2.1
date	2013.05.11.17.28.51;	author khorben;	state Exp;
branches;
next	1.13.2.2;
commitid	J8XqG64vmPL8MePw;

1.13.2.2
date	2013.05.11.18.01.04;	author khorben;	state Exp;
branches;
next	1.13.2.3;
commitid	6cgWyY0lp8Z5XePw;

1.13.2.3
date	2013.05.11.18.22.47;	author khorben;	state Exp;
branches;
next	1.13.2.4;
commitid	dxDIDcg8EBoI4fPw;

1.13.2.4
date	2013.05.12.00.42.50;	author khorben;	state Exp;
branches;
next	1.13.2.5;
commitid	TMwNmYEN9qFiahPw;

1.13.2.5
date	2013.05.12.01.49.44;	author khorben;	state Exp;
branches;
next	1.13.2.6;
commitid	kpaZ1heCq23jwhPw;

1.13.2.6
date	2013.05.16.15.53.05;	author khorben;	state Exp;
branches;
next	;
commitid	Mn5zpZHZSqMf5SPw;

1.4.2.1
date	2012.12.20.01.20.54;	author yamt;	state dead;
branches;
next	1.4.2.2;

1.4.2.2
date	2013.01.16.05.32.52;	author yamt;	state Exp;
branches;
next	1.4.2.3;

1.4.2.3
date	2013.01.23.00.05.44;	author yamt;	state Exp;
branches;
next	1.4.2.4;

1.4.2.4
date	2014.05.22.11.39.40;	author yamt;	state Exp;
branches;
next	;
commitid	VUUXuyNWnt3AKwBx;

1.4.6.1
date	2012.12.20.01.20.54;	author tls;	state dead;
branches;
next	1.4.6.2;

1.4.6.2
date	2013.02.25.00.28.34;	author tls;	state Exp;
branches;
next	1.4.6.3;

1.4.6.3
date	2013.06.23.06.20.04;	author tls;	state Exp;
branches;
next	1.4.6.4;
commitid	eVjr9caYRQbRGHUw;

1.4.6.4
date	2014.08.20.00.02.53;	author tls;	state Exp;
branches;
next	1.4.6.5;
commitid	jTnpym9Qu0o4R1Nx;

1.4.6.5
date	2017.12.03.11.36.03;	author jdolecek;	state Exp;
branches;
next	;
commitid	XcIYRZTAh1LmerhA;


desc
@@


1.38
log
@Retire arch/evbarm/beagle.

A few more kernel configs go away:

- OMAP5EVM and PANDABOARD likely never worked to begin with.
- N900 and VTC100 are TI AM335x based, which is supported by GENERIC.
@
text
@#
#	$NetBSD: N900,v 1.37 2022/08/07 02:52:25 simonb Exp $
#
#	N900 -- Nokia N900 Kernel
#

include	"arch/evbarm/conf/std.n900"

# estimated number of users

maxusers	32

# Standard system options

options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
#options 	NTP		# NTP phase/frequency locked loop

# CPU options

#options 	UVMHIST,UVMHIST_PRINT
options 	CPU_CORTEX
options 	OMAP_3430
#options 	PMAPCOUNTERS

# Architecture options

# File systems

file-system	FFS		# UFS
#file-system	LFS		# log-structured file system
file-system	MFS		# memory file system
file-system	NFS		# Network file system
#file-system 	ADOSFS		# AmigaDOS-compatible file system
#file-system 	EXT2FS		# second extended file system (linux)
#file-system	CD9660		# ISO 9660 + Rock Ridge file system
file-system	MSDOSFS		# MS-DOS file system
#file-system	FDESC		# /dev/fd
file-system	KERNFS		# /kern
#file-system	NULLFS		# loopback file system
file-system	PROCFS		# /proc
#file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
#file-system	UMAPFS		# NULLFS + uid and gid remapping
#file-system	UNION		# union file system
file-system	TMPFS		# memory file system
file-system	PTYFS		# /dev/pts/N support

# File system options
#options 	FFS_EI		# FFS Endian Independent support
#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
#options 	QUOTA		# legacy UFS quotas
#options 	QUOTA2		# new, in-filesystem UFS quotas
#options 	UFS_DIRHASH	# UFS Large Directory Hashing
#options 	UFS_EXTATTR	# Extended attribute support for UFS1
options 	WAPBL		# File system journaling support
#options 	DISKLABEL_EI	# disklabel Endian Independent support
#options 	NFSSERVER	# Network File System server

# Networking options

#options 	GATEWAY		# packet forwarding
options 	INET		# IP + ICMP + TCP + UDP
options 	INET6		# IPV6
#options 	IPSEC		# IP security
#options 	IPSEC_DEBUG	# debug for IP security
#options 	MROUTING	# IP multicast routing
#options 	PIM		# Protocol Independent Multicast
#options 	NETATALK	# AppleTalk networking
#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
#options 	PPP_DEFLATE	# Deflate compression support for PPP
#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG

options 	NFS_BOOT_BOOTP
options 	NFS_BOOT_DHCP
#options		NFS_BOOT_BOOTSTATIC
#options		NFS_BOOTSTATIC_MYIP="\"192.168.1.4\""
#options		NFS_BOOTSTATIC_GWIP="\"192.168.1.1\""
#options		NFS_BOOTSTATIC_MASK="\"255.255.255.0\""
#options		NFS_BOOTSTATIC_SERVADDR="\"192.168.1.1\""
#options		NFS_BOOTSTATIC_SERVER="\"192.168.1.1:/nfs/sdp2430\""

options 	NFS_BOOT_RWSIZE=1024

# Compatibility options

include 	"conf/compat_netbsd30.config"
options 	COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries

# Shared memory options

options 	SYSVMSG		# System V-like message queues
options 	SYSVSEM		# System V-like semaphores
options 	SYSVSHM		# System V-like memory sharing

# Device options

#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
#options 	MEMORY_DISK_ROOT_SIZE=8192	# Size in blocks
#options 	MEMORY_DISK_DYNAMIC
#options 	MINIROOTSIZE=1000	# Size in blocks
#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root

# Miscellaneous kernel options
options 	KTRACE		# system call tracing, a la ktrace(1)
#options 	SCSIVERBOSE	# Verbose SCSI errors
#options 	MIIVERBOSE	# Verbose MII autoconfuration messages
#options 	DDB_KEYCODE=0x40
#options 	USERCONF	# userconf(4) support
#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)

# Development and Debugging options

options 	DIAGNOSTIC	# internal consistency checks
#options 	DEBUG
#options 	LOCKDEBUG	# expensive locking checks/support
#options 	UVMHIST		# kernhist for uvm/pmap subsystems
options 	DDB		# in-kernel debugger
options 	DDB_ONPANIC=1
options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
#options 	KGDB
makeoptions	DEBUG="-g"	# compile full symbol table
makeoptions	COPY_SYMTAB=1

#options 	VERBOSE_INIT_ARM # verbose bootstraping messages
#options 	EARLYCONS=beagle
#options 	CONSADDR=0x49020000, CONSPEED=38400
#options 	CONSADDR=0x49020000, CONSPEED=115200

## USB Debugging options
#options USB_DEBUG
#options EHCI_DEBUG
#options OHCI_DEBUG
#options UHUB_DEBUG


# Valid options for BOOT_ARGS:
#  single		Boot to single user only
#  kdb			Give control to kernel debugger
#  ask			Ask for file name to reboot from
#  memorydisk=<n>	Set memorydisk size to <n> KB
#  quiet		Show aprint_naive output
#  verbose		Show aprint_normal and aprint_verbose output
options 	BOOT_ARGS="\"\""

config		netbsd		root on ld0a type ?

# The main bus device
mainbus0	at root

# The boot cpu
cpu0		at mainbus?

# Specify the memory size in megabytes.
#options	MEMSIZE=256

# L3 Interconnect
L3i0		at mainbus?

# OBIO
obio0		at mainbus? base 0x48000000 size 0x1000000	# L4 CORE
obio1		at mainbus? base 0x48300000 size 0x0100000	# L4 WAKEUP
obio2		at mainbus? base 0x49000000 size 0x0100000	# L4 PERIPHERAL
#obio3		at mainbus? base 0x54000000 size 0x0800000	# L4 EMUL

# General Purpose Memory Controller
gpmc0		at mainbus? base 0x6e000000

# SDHC controllers
sdhc0		at obio0 addr 0x4809C000 size 0x0400 intr 83
#sdhc1		at obio0 addr 0x480B4000 size 0x0400 intr 86
#sdhc2		at obio0 addr 0x480AD000 size 0x0400 intr 94
sdmmc*		at sdhc?		# SD/MMC bus
ld*		at sdmmc?


# NAND controller
omapnand0	at gpmc? addr 0x30000000

# NAND layer
nand0		at nandbus?

# use the bad block table
options NAND_BBT

# Define flash partitions for board
flash0		at nand0 offset 0x0000040 size 0x3602000 # MyDocs
flash1		at nand0 offset 0x3602040 size 0x0400000 # filesystem
flash2		at nand0 offset 0x3a02040 size 0x0180000 # swap

# Interrupt Controller
omapicu0	at obio0 addr 0x48200000 size 0x1000 intrbase 0
omapgpio0	at obio1 addr 0x48310000 size 0x0400 intrbase 96  intr 29
omapgpio1	at obio2 addr 0x49050000 size 0x0400 intrbase 128 intr 30
omapgpio2	at obio2 addr 0x49052000 size 0x0400 intrbase 160 intr 31
omapgpio3	at obio2 addr 0x49054000 size 0x0400 intrbase 192 intr 32
omapgpio4	at obio2 addr 0x49056000 size 0x0400 intrbase 224 intr 33
omapgpio5	at obio2 addr 0x49058000 size 0x0400 intrbase 256 intr 34

gpio*		at omapgpio?

# GPIO devices
# Charging sensor
n900acad0	at gpio0 offset 7 mask 0x1 #intr 103

# Camera button
n900cambtn0	at gpio2 offset 4 mask 0x3 #intr 164, 165

# Keyboard slide
n900kbdsld0	at gpio2 offset 7 mask 0x1 #intr 167

# Proximity sensor
n900prxmty0	at gpio2 offset 25 mask 0x1 #intr 185

# Camera cover
n900camcvr0	at gpio3 offset 14 mask 0x1 #intr 206

# Lock button
n900lckbtn0	at gpio3 offset 17 mask 0x1 #intr 209

# Audio jack
n900audjck0	at gpio5 offset 17 mask 0x1 #intr 273

# System Control Module
omapscm0 	at obio0 addr 0x48002000 size 0x1000

# I2C Controller
omapiic0	at obio0 addr 0x48070000 size 0x80
omapiic1	at obio0 addr 0x48072000 size 0x80
omapiic2	at obio0 addr 0x48060000 size 0x80
iic*		at omapiic?

# I2C devices
# Power Management and System Companion Device
twl0		at iic0 addr 0x48

# On-board 16550 UARTs
#com0		at obio2 addr 0x49020000 intr 74 mult 4	# UART3 (console)

# Operating System Timer
omapmputmr0	at obio2 addr 0x49032000 intr 38	# GP Timer 2
# Statistics Timer
omapmputmr1	at obio2 addr 0x49034000 intr 39	# GP Timer 3
# Microtime Reference Timer
omapmputmr2	at obio2 addr 0x49036000 intr 40	# GP Timer 4
options OMAP_MPU_TIMER_CLOCK_FREQ=12000000

# Watchdog timers
#omapwdt32k*	at obio2 addr 0x49030000 size 2048	# WDT3
omapwdt32k*	at obio1 addr 0x48314000 size 2048	# WDT2

# onboard DMA
omapdma0	at obio0 addr 0x48056000 size 0x1000

# onboard video
omapfb*		at obio0 addr 0x48050000 size 0x10000

# make sure the console display is always wsdisplay0
wsdisplay0	at wsemuldisplaydev? console 1
wsdisplay*	at wsemuldisplaydev?

# various options for wscons - we try to look as much like a standard
# sun console as possible
options 	WSEMUL_VT100		# sun terminal emulation
options 	WS_DEFAULT_FG=WSCOL_BLACK
options 	WS_DEFAULT_BG=WSCOL_LIGHT_WHITE
options 	WS_KERNEL_FG=WSCOL_GREEN
options 	WS_KERNEL_BG=WSCOL_LIGHT_WHITE
options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some more ioctls
options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
options 	WSDISPLAY_DEFAULTSCREENS=4
options 	FONT_QVSS8x15
#options 	FONT_GALLANT12x22	# the console font

pseudo-device	wsmux			# mouse & keyboard multiplexor
pseudo-device	wsfont

# Power, Reset and Clock Management
prcm*		at obio1 addr 0x48306000 size 0x2000	# PRM Module

# On-board USB
#ehci*		at obio0 addr 0x48064800 size 0x0400 intr 77
#ohci*		at obio0 addr 0x48064400 size 0x0400 intr 76
#usb*		at ohci?
#usb*		at ehci?
#uhub*		at usb?
#uhub*		at uhub? port ?
#umass*		at uhub? port ? configuration ? interface ?
#uhidev*		at uhub?
#ukbd*		at uhidev?
#ums*		at uhidev?
#wskbd*		at ukbd?
#wsmouse*	at ums?

# USB Ethernet adapters
#axe*		at uhub? port ? configuration ? interface ?

# Hardware clocking and power management

options 	HWCLOCK
options 	HWCLOCK_MACHINE="<arch/arm/omap/hwclock_omap1.h>"
options 	OMAP_CK_REF_SPEED=12000000

# Pseudo-Devices

# disk/mass storage pseudo-devices
#pseudo-device	md			# memory disk device (ramdisk)
#pseudo-device	vnd			# disk-like interface to files
#pseudo-device	fss			# file system snapshot device
#pseudo-device	putter			# for puffs and pud

# network pseudo-devices
pseudo-device	bpfilter		# Berkeley packet filter
pseudo-device	loop			# network loopback
#pseudo-device	kttcp			# network loopback

# miscellaneous pseudo-devices
pseudo-device	pty			# pseudo-terminals
#options	RND_COM
#pseudo-device	clockctl		# user control of clock subsystem
pseudo-device	ksyms			# /dev/ksyms
pseudo-device	lockstat		# lock profiling

cinclude "arch/evbarm/conf/N900.local"
@


1.37
log
@UFS/LFS dirhash:
- Enable UFS_DIRHASH if the architecture or kernel model specific config
  file can use 128MB of RAM or more.
- Remove experimental tag from UFS_DIRHASH; it's been with RUMP kernel
  and by a number of NetBSD developers for years.
- Add LFS_DIRHASH if LFS was enabled.
- Be somewhat consistent with FS options order.
@
text
@d2 1
a2 1
#	$NetBSD: N900,v 1.36 2020/09/29 19:58:50 jmcneill Exp $
@


1.36
log
@Collapse all CPU_CORTEXA<n> options into CPU_CORTEX and do runtime
detection instead of ifdefs where required.
@
text
@d2 1
a2 1
#	$NetBSD: N900,v 1.35 2020/06/13 16:51:25 ad Exp $
d48 2
d52 3
d56 1
a56 4
#options 	FFS_EI		# FFS Endian Independent support
#options 	NFSSERVER
options 	WAPBL		# File system journaling support
#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
@


1.35
log
@Comment out "options PMAPCOUNTERS".  It adds much overhead and is mostly of
interest to people hacking on the VM system or pmap.  Proposed on port-arm@@.
@
text
@d2 1
a2 1
#	$NetBSD: N900,v 1.34 2020/04/18 11:00:38 skrll Exp $
d21 1
a21 1
options 	CPU_CORTEXA8
@


1.34
log
@PMAP_DEBUG has been deleted on arm
@
text
@d2 1
a2 1
#	$NetBSD: N900,v 1.33 2019/11/03 12:07:46 jmcneill Exp $
d23 1
a23 1
options 	PMAPCOUNTERS
@


1.33
log
@Only one instance of twl(4) is needed
@
text
@d2 1
a2 1
#	$NetBSD: N900,v 1.32 2019/11/02 07:56:25 martin Exp $
d114 1
a114 1
#options 	PMAP_DEBUG	# Enable pmap_debug_level code
a137 1
#  pmapdebug=<n>	If PMAP_DEBUG, set pmap_debug_level to <n>
@


1.33.6.1
log
@Sync with HEAD
@
text
@d2 1
a2 1
#	$NetBSD: N900,v 1.34 2020/04/18 11:00:38 skrll Exp $
d114 1
a114 1
#options 	UVMHIST		# kernhist for uvm/pmap subsystems
d138 1
@


1.32
log
@Replace tps65950pm with twl (the former has been removed)
@
text
@d2 1
a2 1
#	$NetBSD: N900,v 1.31 2019/05/18 08:49:23 skrll Exp $
a233 3
twl1		at iic0 addr 0x49
twl2		at iic0 addr 0x4a
twl3		at iic0 addr 0x4b
@


1.31
log
@Convert remaining armv7 kernels to generic start and remove a bunch of
code including a9_mpsubr.S.

Thanks to Lwazi Dube for testing PANDABOARD and BEAGLEBONE.
@
text
@d2 1
a2 1
#	$NetBSD: N900,v 1.30 2018/10/23 19:58:52 jdolecek Exp $
d233 4
a236 4
tps65950pm0	at iic0 addr 0x48
tps65950pm1	at iic0 addr 0x49
tps65950pm2	at iic0 addr 0x4a
tps65950pm3	at iic0 addr 0x4b
@


1.31.2.1
log
@In preparation for the upcoming release, turn off DIAGNOSTIC in most
kernel configs, modules and libc.
@
text
@d2 1
a2 1
#	$NetBSD: N900,v 1.31 2019/05/18 08:49:23 skrll Exp $
d111 1
a111 1
#options 	DIAGNOSTIC	# internal consistency checks
@


1.31.2.2
log
@Pull up following revision(s) (requested by jmcneill in ticket #491):

	sys/arch/evbarm/conf/BEAGLEBOARD_INSTALL: file removal
	sys/arch/arm/ti/ti_dpll_clock.c: revision 1.2
	sys/arch/arm/ti/ti_sysc.c: revision 1.1
	sys/arch/arm/ti/ti_rng.c: revision 1.1
	sys/arch/arm/ti/ti_rng.c: revision 1.2
	sys/dev/i2c/tps65950.c: file removal
	sys/arch/evbarm/conf/std.ti: file removal
	sys/dev/i2c/files.i2c: revision 1.101
	sys/dev/i2c/files.i2c: revision 1.102
	sys/dev/i2c/at24cxx.c: revision 1.32
	sys/dev/i2c/files.i2c: revision 1.103
	sys/dev/i2c/twl4030.c: revision 1.1
	sys/dev/i2c/files.i2c: revision 1.104
	sys/dev/i2c/twl4030.c: revision 1.2
	sys/dev/i2c/twl4030.c: revision 1.3
	sys/arch/arm/ti/ti_com.c: revision 1.6
	sys/arch/arm/ti/ti_com.c: revision 1.7
	sys/arch/arm/ti/ti_com.c: revision 1.8
	sys/dev/fdt/cpufreq_dt.c: revision 1.11
	sys/arch/arm/ti/ti_iic.c: revision 1.1
	sys/dev/fdt/cpufreq_dt.c: revision 1.12
	sys/arch/arm/ti/ti_usb.c: revision 1.1
	sys/arch/arm/ti/ti_iic.c: revision 1.2
	sys/dev/fdt/cpufreq_dt.c: revision 1.13
	sys/arch/arm/ti/ti_iic.c: revision 1.3
	sys/arch/arm/ti/ti_iic.c: revision 1.4
	sys/arch/evbarm/conf/files.ti: file removal
	sys/arch/evbarm/conf/BEAGLEBOARDXM: file removal
	sys/arch/arm/dts/omap3-n900.dts: revision 1.1
	sys/arch/arm/ti/ti_edma.h: revision 1.1
	sys/arch/evbarm/conf/OVERO_INSTALL: file removal
	sys/arch/arm/ti/ti_usbtll.c: revision 1.1
	sys/arch/arm/ti/files.ti: revision 1.5
	etc/etc.evbarm/Makefile.inc: revision 1.108
	sys/arch/arm/ti/files.ti: revision 1.6
	sys/dev/i2c/tps65217pmic.c: revision 1.13
	etc/etc.evbarm/Makefile.inc: revision 1.109
	sys/arch/arm/ti/files.ti: revision 1.7
	sys/dev/i2c/tps65217pmic.c: revision 1.14
	sys/arch/arm/ti/files.ti: revision 1.8
	sys/arch/arm/ti/files.ti: revision 1.9
	sys/dev/fdt/usbnopphy.c: revision 1.1
	sys/arch/evbarm/conf/GENERIC: revision 1.55
	sys/arch/evbarm/conf/GENERIC: revision 1.56
	sys/arch/evbarm/conf/GENERIC: revision 1.57
	sys/arch/evbarm/conf/GENERIC: revision 1.58
	sys/arch/evbarm/conf/GENERIC: revision 1.59
	sys/arch/evbarm/conf/BEAGLEBONE: file removal
	sys/arch/arm/ti/omap2_gpmcreg.h: revision 1.1
	sys/arch/arm/ti/ti_otgreg.h: revision 1.1
	sys/arch/arm/ti/ti_tptc.c: revision 1.1
	sys/arch/evbarm/conf/IGEPV2: file removal
	sys/arch/arm/ti/am3_prcm.c: revision 1.10
	sys/dev/i2c/tda19988.c: revision 1.1
	sys/arch/evbarm/conf/OVERO: file removal
	sys/dev/i2c/tda19988.c: revision 1.2
	sys/dev/i2c/tda19988.c: revision 1.3
	sys/arch/arm/ti/omap3_dss.c: revision 1.1
	sys/arch/evbarm/conf/BEAGLEBONE_INSTALL: file removal
	sys/arch/arm/ti/ti_omapintc.c: revision 1.2
	etc/etc.evbarm/Makefile.inc: revision 1.112
	etc/etc.evbarm/Makefile.inc: revision 1.113
	sys/arch/arm/ti/ti_div_clock.c: revision 1.1
	etc/etc.evbarm/Makefile.inc: revision 1.114
	sys/arch/evbarm/conf/N900: revision 1.32
	sys/arch/evbarm/conf/N900: revision 1.33
	distrib/utils/embedded/conf/armv7.conf: revision 1.36
	sys/arch/evbarm/conf/GENERIC: revision 1.60
	distrib/utils/embedded/conf/armv7.conf: revision 1.37
	sys/arch/arm/ti/omap2_nand.c: revision 1.1
	sys/arch/evbarm/conf/GENERIC: revision 1.61
	sys/arch/arm/ti/omap2_nand.c: revision 1.2
	sys/arch/evbarm/conf/GENERIC: revision 1.62
	distrib/utils/embedded/conf/armv7.conf: revision 1.39
	sys/arch/evbarm/conf/GENERIC: revision 1.63
	sys/arch/arm/ti/ti_fb.c: revision 1.1
	sys/arch/evbarm/conf/GENERIC: revision 1.64
	sys/arch/evbarm/conf/GENERIC: revision 1.65
	sys/arch/evbarm/conf/GENERIC: revision 1.66
	sys/arch/evbarm/conf/GENERIC: revision 1.67
	sys/arch/arm/ti/ti_platform.c: revision 1.7
	sys/arch/arm/ti/ti_platform.c: revision 1.8
	sys/arch/arm/ti/am3_prcm.c: revision 1.2
	sys/arch/arm/ti/ti_platform.c: revision 1.9
	sys/arch/arm/ti/am3_prcm.c: revision 1.3
	sys/arch/arm/ti/am3_prcm.c: revision 1.4
	sys/arch/arm/ti/am3_prcm.c: revision 1.5
	sys/arch/arm/ti/am3_prcm.c: revision 1.6
	sys/arch/arm/ti/am3_prcm.c: revision 1.7
	sys/arch/evbarm/conf/DEVKIT8000: file removal
	sys/arch/arm/ti/am3_prcm.c: revision 1.8
	sys/arch/arm/ti/am3_prcm.c: revision 1.9
	sys/dev/fdt/syscon.c: revision 1.4
	sys/arch/arm/ti/files.ti: revision 1.10
	sys/arch/arm/ti/ti_mux_clock.c: revision 1.1
	sys/arch/arm/ti/ti_sdhc.c: revision 1.1
	sys/arch/arm/ti/files.ti: revision 1.11
	sys/arch/arm/ti/if_cpswreg.h: revision 1.1
	sys/arch/arm/ti/ti_sdhc.c: revision 1.2
	sys/arch/arm/ti/files.ti: revision 1.12
	sys/arch/arm/ti/ti_sdhc.c: revision 1.3
	sys/arch/arm/ti/files.ti: revision 1.13
	sys/arch/arm/ti/files.ti: revision 1.14
	sys/arch/arm/ti/files.ti: revision 1.15
	sys/arch/arm/ti/files.ti: revision 1.16
	sys/arch/arm/ti/omap3_cm.c: revision 1.1
	sys/arch/arm/ti/files.ti: revision 1.17
	sys/arch/arm/ti/omap3_cm.c: revision 1.2
	sys/arch/arm/ti/files.ti: revision 1.18
	sys/arch/arm/ti/omap3_cm.c: revision 1.3
	sys/arch/arm/ti/files.ti: revision 1.19
	sys/arch/arm/ti/omap3_cm.c: revision 1.4
	sys/arch/arm/ti/ti_motg.c: revision 1.1
	sys/arch/arm/ti/ti_rngreg.h: revision 1.1
	sys/arch/arm/ti/ti_sdhcreg.h: revision 1.1
	sys/arch/arm/dts/omap3-beagle-xm.dts: revision 1.1
	sys/arch/arm/ti/am3_platform.c: revision 1.1
	sys/arch/arm/ti/ti_sdhcreg.h: revision 1.2
	sys/arch/arm/ti/ti_lcdc.h: revision 1.1
	sys/arch/evbarm/conf/BEAGLEBOARDXM_INSTALL: file removal
	sys/arch/evbarm/conf/README.evbarm: revision 1.22
	sys/arch/evbarm/conf/README.evbarm: revision 1.23
	sys/arch/arm/ti/ti_platform.c: file removal
	sys/arch/evbarm/conf/README.evbarm: revision 1.24
	sys/arch/arm/ti/ti_omaptimer.c: revision 1.2
	sys/arch/arm/ti/ti_prcm.c: revision 1.2
	sys/arch/evbarm/conf/README.evbarm: revision 1.25
	sys/arch/arm/ti/ti_omaptimer.c: revision 1.3
	sys/arch/arm/ti/ti_prcm.c: revision 1.3
	sys/arch/evbarm/conf/README.evbarm: revision 1.26
	sys/arch/arm/ti/ti_omaptimer.c: revision 1.4
	sys/arch/evbarm/conf/README.evbarm: revision 1.27
	sys/arch/arm/ti/ti_ehci.c: revision 1.1
	sys/arch/arm/ti/files.ti: revision 1.20
	sys/arch/arm/ti/ti_cpufreq.c: revision 1.1
	sys/arch/arm/ti/ti_cpufreq.c: revision 1.2
	sys/arch/arm/fdt/smsh_fdt.c: revision 1.2
	sys/arch/arm/ti/omap3_dssreg.h: revision 1.1
	sys/arch/evbarm/conf/OVERO: revision 1.56
	sys/arch/evbarm/conf/TI: file removal
	sys/arch/arm/dts/omap3-beagle.dts: revision 1.1
	sys/dev/fdt/fdtvar.h: revision 1.55
	sys/dev/fdt/fdtvar.h: revision 1.56
	distrib/utils/embedded/files/armv7_boot_nonefi.cmd: revision 1.2
	sys/dev/fdt/fdt_phy.c: revision 1.6
	sys/arch/arm/ti/ti_iicreg.h: revision 1.1
	sys/arch/arm/ti/ti_lcdc.c: revision 1.1
	sys/arch/arm/ti/ti_gpio.c: revision 1.1
	sys/arch/arm/ti/ti_iicreg.h: revision 1.2
	sys/arch/arm/ti/ti_lcdc.c: revision 1.2
	sys/dev/fdt/files.fdt: revision 1.46
	sys/arch/arm/ti/ti_gpio.c: revision 1.2
	sys/arch/arm/ti/ti_iicreg.h: revision 1.3
	sys/arch/arm/ti/ti_lcdc.c: revision 1.3
	sys/dev/fdt/files.fdt: revision 1.47
	sys/arch/arm/ti/ti_gpio.c: revision 1.3
	sys/dev/fdt/pinctrl_single.c: revision 1.1
	sys/arch/evbarm/conf/files.generic: revision 1.9
	sys/arch/arm/ti/ti_gpmc.c: revision 1.1
	sys/arch/arm/ti/ti_lcdcreg.h: revision 1.1
	sys/arch/evbarm/conf/BEAGLEBOARD: file removal
	sys/arch/arm/ti/omap3_prm.c: revision 1.1
	sys/arch/arm/ti/ti_platform.h: file removal
	sys/arch/arm/ti/omap3_platform.c: revision 1.1
	sys/arch/arm/ti/ti_prcm.h: revision 1.2
	sys/arch/arm/ti/omap3_platform.c: revision 1.2
	sys/arch/arm/ti/ti_prcm.h: revision 1.3
	sys/arch/arm/ti/ti_prcm.h: revision 1.4
	sys/dev/fdt/fdt_clock.c: revision 1.9
	sys/arch/arm/ti/ti_edma.c: revision 1.1
	sys/arch/arm/ti/ti_otg.c: revision 1.1
	distrib/utils/embedded/files/armv7_boot.cmd: revision 1.15
	sys/arch/arm/ti/if_cpsw.c: revision 1.7
	sys/arch/evbarm/conf/std.igepv2: file removal
	sys/arch/arm/ti/if_cpsw.c: revision 1.8
	sys/arch/arm/ti/ti_dpll_clock.c: revision 1.1

Adapt ti fdt glue to support GENERIC kernel.

Do not search 64-bit directories for dts files

Fix am33xx_platform_early_putchar for pre-MMU output

Add bus driver for TI sysc interconncet.

Make com work again

Add EDMA TPCC and TPTC drivers.

Add driver for one-register-per-pin type pinctrl devices.

Add MMCHS support.

Add USB support.

Disable autoidle

Place devmap above KERNEL_IO_VBASE

Use Timer2 for timecounter, and enable hw module.

Add support for TI AM335x

Add atmel,24c256 compat data

Add I2C support.

Add tiiic, tps65217pmic

Add FDT support

Fix early putchar, add reset func

No support for tegra210 in armv7 kernel

Switch to GENERIC kernels only.

Get mac address from DT

Skip nodes with an "opp-suspend" property and fix tables that have disabled
nodes in the middle.

enumerate devices under child "clocks" node

Add support for platform specific opp table filters.

Add fdtbus_clock_count to count the number of clock references on a given node

enumerate devices under child "clocks" node

Add AM335x DVFS support.

Enable TI AM335x DVFS support

Add support for GPIO controller.

Add tigpio

Unhook BEAGLEBONE kernel from the build
Remove BEAGLEBONE kernel config (AM335x SoC is supported by GENERIC now).

Add support for hardware RNG.

Add tirng

Add explicit FDT_OPP for operating-points-v2 so the link set won't be empty

Rename SOC_TI_AM335X to SOC_AM33XX and rename ti_platform.c to
am3_platform.c

Set stdout-path on TI OMAP3 BeagleBoard

Add support for TI OMAP3.

Add OMAP3 support.

Move a lot of *.dtb files to a dtb/ subdirectory on the FAT partition.
Mkimage (eroneously) creates a FAT16 partition (despite the configuration
asking for FAT32), and that has a root directory size limit.
Idea from Jared.

Skip xref if it is 0

Add generic USB PHY driver

Add driver for TI TWL4030 Power Management IC

Use the hwmod clk to get the timer rate and explicitly enable the
timecounter timer.

Add OMAP3 USB support.

Add twl, usbnopphy, tiusb, tiusbtll

Move omap3 dtb files to /boot/dtb

Remove BEAGLEBOARD kernel from list of kernels to build
Remove BEAGLEBOARD kernel (supported by GENERIC now)

Fix PRM_RSTCTRL_RST_DPLL3 definition, now reset works.

Remove DEVKIT8000 kernel (GENERIC should work now)
Remove DPLL5 init ported from old omap code, it is not required

Set the stdout-path on xM like Ti OMAP3 BeagleBoard

Remove BEAGLEBOARDXM from the build
Remove BEAGLEBOARDXM kernel (supported by GENERIC now)

Handle different register layout on OMAP3

Add omapfb to FDT-ized TI port.

Use dss as console on Nokia N900.

Enable IRQ status bits for omap3 type and set speed properly

Add RTC support

Remove tps65950pm (hardware now supported by twl4030.c)

Add NAND flash support.

Add tigpmc, omapnand

Attach tiusb before the default pass since it adds a bus to reduce kernel output
Replace tps65950pm with twl (the former has been removed)

Fix non-FDT build

Cleanup and remove dependency on arch/arm/omap

Add support for GPIO interrupts and fix reading the state of output pins.
Match smsc,lan9115 and honour local-mac-address/mac-address properties

Only one instance of twl(4) is needed
Remove OVERO from build, and commented out N900 kernel config
OMAP3 SoC and all peripherals in the OVERO kernel are now supported by
GENERIC.

Remove commented out IGEPV2 entry

OMAP3 SoC and all peripherals in the IGEPV2 kernel are now supported by
GENERIC.

No longer used.

Also match ti,omap2-onenand

Defer power monitor polling to the sysmon taskq thread to avoid i2c transactions in intr context

Add driver for NXP TDA19988 HDMI encoder

Add support for AM335x display controller (LCDC).

Add tdahdmi, tilcdc, tifb

Test DRM_MODE_* flags, not VID_*

Comment out mode fixup (not needed it seems)

Use 297MHz for display clock

Select closest rate to desired pixel clock

Speed up mode setting a bit and turn off the display while changing modes
@
text
@d2 1
a2 1
#	$NetBSD: N900,v 1.31.2.1 2019/11/21 18:17:59 martin Exp $
d233 4
a236 1
twl0		at iic0 addr 0x48
@


1.30
log
@remove the 'wd* at umass?' for the non-standardized and rare (extinct?)
In-System Design ATA protocol over Bulk-Only devices from most kernels,
leave only in i386/amd64 ALL; it's unmaintained and likely currently broken,
lack of test hardware makes it impossible to support
@
text
@d2 1
a2 1
#	$NetBSD: N900,v 1.29 2018/07/14 15:09:41 maxv Exp $
a114 1
#options 	VERBOSE_INIT_ARM # verbose bootstraping messages
d122 5
a239 2
#options 	CONSADDR=0x49020000, CONSPEED=38400
#options 	CONSADDR=0x49020000, CONSPEED=115200
@


1.29
log
@Remove "options IPKDB", and the other associated options, from the config
files.

ipkdb is being retired. Its code is really old, and hasn't kept pace with
today's expectations: IPv6, SMP, modern NICs. The associated code for x86
was already removed because it was too incorrect to stay.

There are plans to rewrite a similar feature from scratch.

ok kamil christos
@
text
@d2 1
a2 1
#	$NetBSD: N900,v 1.28 2018/07/12 10:46:43 maxv Exp $
a289 1
#wd*		at umass?
@


1.28
log
@Remove the kernel PMC code. Sent yesterday on tech-kern@@.

This change:

 * Removes "options PERFCTRS", the associated includes, and the associated
   ifdefs. In doing so, it removes several XXXSMPs in the MI code, which is
   good.

 * Removes the PMC code of ARM XSCALE.

 * Removes all the pmc.h files. They were all empty, except for ARM XSCALE.

 * Reorders the x86 PMC code not to rely on the legacy pmc.h file. The
   definitions are put in sysarch.h.

 * Removes the kern/sys_pmc.c file, and along with it, the sys_pmc_control
   and sys_pmc_get_info syscalls. They are marked as OBSOL in kern,
   netbsd32 and rump.

 * Removes the pmc_evid_t and pmc_ctr_t types.

 * Removes all the associated man pages. The sets are marked as obsolete.
@
text
@d2 1
a2 1
#	$NetBSD: N900,v 1.27 2018/03/13 06:20:41 ryo Exp $
a114 1
#options 	IPKDB		# remote kernel debugging
@


1.27
log
@fix build error. if no usb, don't define USB_DEBUG
@
text
@d2 1
a2 1
#	$NetBSD: N900,v 1.26 2017/09/14 07:58:40 mrg Exp $
a110 1
#options 	PERFCTRS	# performance counters
@


1.27.2.1
log
@Sync with HEAD
@
text
@d2 1
a2 1
#	$NetBSD: N900,v 1.31 2019/05/18 08:49:23 skrll Exp $
d111 1
d116 2
a124 5
#options 	VERBOSE_INIT_ARM # verbose bootstraping messages
#options 	EARLYCONS=beagle
#options 	CONSADDR=0x49020000, CONSPEED=38400
#options 	CONSADDR=0x49020000, CONSPEED=115200

d238 2
d292 1
@


1.27.2.2
log
@Mostly merge changes from HEAD upto 20200411
@
text
@d2 1
a2 1
#	$NetBSD$
d233 4
a236 1
twl0		at iic0 addr 0x48
@


1.27.2.3
log
@Sync with HEAD
@
text
@d114 1
a114 1
#options 	UVMHIST		# kernhist for uvm/pmap subsystems
d138 1
@


1.26
log
@clean up COMPAT_* options for native netbsd code:
- new series of files that are useful for saying "i want everything
  since netbsd 1.4", etc.
- use the fact COMPAT_* options have future dependancies to remove
  many redundant options.

removes about 3000 lines total across kernel configuration files.
tested about 30 random kernels in the changed list.
@
text
@d2 1
a2 1
#	$NetBSD: N900,v 1.25 2017/07/29 18:08:57 maxv Exp $
d126 4
a129 4
options USB_DEBUG
options EHCI_DEBUG
options OHCI_DEBUG
options UHUB_DEBUG
@


1.26.2.1
log
@Synch with HEAD
@
text
@d2 1
a2 1
#	$NetBSD: N900,v 1.27 2018/03/13 06:20:41 ryo Exp $
d126 4
a129 4
#options USB_DEBUG
#options EHCI_DEBUG
#options OHCI_DEBUG
#options UHUB_DEBUG
@


1.26.2.2
log
@Sync with HEAD
@
text
@d2 1
a2 1
#	$NetBSD: N900,v 1.29 2018/07/14 15:09:41 maxv Exp $
d111 1
d116 1
@


1.26.2.3
log
@Sync with HEAD, resolve a couple of conflicts
@
text
@d2 1
a2 1
#	$NetBSD: N900,v 1.30 2018/10/23 19:58:52 jdolecek Exp $
d290 1
@


1.25
log
@Remove TCP_COMPAT_42 from the config files. Pass 3.
@
text
@d2 1
a2 1
#	$NetBSD: N900,v 1.24 2017/06/26 03:15:16 sevan Exp $
d80 1
a80 1
options		NFS_BOOT_RWSIZE=1024
d84 2
a85 17
options		COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
#options 	COMPAT_43	# 4.3BSD compatibility.
#options 	COMPAT_09	# NetBSD 0.9,
#options 	COMPAT_10	# NetBSD 1.0,
#options 	COMPAT_11	# NetBSD 1.1,
#options 	COMPAT_12	# NetBSD 1.2,
#options 	COMPAT_13	# NetBSD 1.3,
#options 	COMPAT_14	# NetBSD 1.4,
#options 	COMPAT_15	# NetBSD 1.5,
#options 	COMPAT_16	# NetBSD 1.6,
#options 	COMPAT_20	# NetBSD 2.0,
options 	COMPAT_30	# NetBSD 3.0,
options 	COMPAT_40	# NetBSD 4.0,
options 	COMPAT_50	# NetBSD 5.0,
options 	COMPAT_60	# NetBSD 6.0, and
options 	COMPAT_70	# NetBSD 7.0 binary compatibility.
#options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
d119 1
a119 1
options		DDB_ONPANIC=1
d140 1
a140 1
options		BOOT_ARGS="\"\""
d268 2
a269 2
options		WS_KERNEL_FG=WSCOL_GREEN
options		WS_KERNEL_BG=WSCOL_LIGHT_WHITE
d275 1
a275 1
options		FONT_QVSS8x15
d304 3
a306 3
options		HWCLOCK
options		HWCLOCK_MACHINE="<arch/arm/omap/hwclock_omap1.h>"
options		OMAP_CK_REF_SPEED=12000000
@


1.24
log
@Add a heading to describe the class of device axe(4) is.
@
text
@d2 1
a2 1
#	$NetBSD: N900,v 1.23 2017/02/19 07:47:00 rin Exp $
a99 1
#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
@


1.23
log
@PR kern/51208
Add DISKLABEL_EI option (and also FFS_EI if missing), commented out except for
ALL on amd64 and i386.
@
text
@d2 1
a2 1
#	$NetBSD: N900,v 1.22 2015/08/12 07:53:57 maxv Exp $
d315 1
@


1.23.6.1
log
@Pull up following revision(s) (requested by sevan in ticket #72):
	sys/arch/evbarm/conf/GEMINI_SLAVE: revision 1.35
	sys/arch/evbarm/conf/N900: revision 1.24
	sys/arch/evbarm/conf/GOLDENGATE: revision 1.14
	sys/arch/evbarm/conf/GEMINI_MASTER: revision 1.34
	sys/arch/evbarm/conf/BEAGLEBONE: revision 1.43
	sys/arch/evbarm/conf/BCM56340: revision 1.12
	sys/arch/evbarm/conf/GEMINI: revision 1.34
	sys/arch/evbarm/conf/BEAGLEBOARDXM: revision 1.24
	sys/arch/evbarm/conf/BCM5301X: revision 1.27
	sys/arch/evbarm/conf/PANDABOARD: revision 1.22
Add a heading to describe the class of device axe(4) is.
@
text
@d2 1
a2 1
#	$NetBSD: N900,v 1.23 2017/02/19 07:47:00 rin Exp $
a314 1
# USB Ethernet adapters
@


1.22
log
@Remove KMEMSTATS.
@
text
@d2 1
a2 1
#	$NetBSD: N900,v 1.21 2014/08/30 15:21:17 kiyohara Exp $
d50 1
@


1.22.4.1
log
@Sync with HEAD
@
text
@d2 1
a2 1
#	$NetBSD: N900,v 1.23 2017/02/19 07:47:00 rin Exp $
a49 1
#options 	DISKLABEL_EI	# disklabel Endian Independent support
@


1.22.2.1
log
@Sync with HEAD
@
text
@d2 1
a2 1
#	$NetBSD: N900,v 1.23 2017/02/19 07:47:00 rin Exp $
a49 1
#options 	DISKLABEL_EI	# disklabel Endian Independent support
@


1.21
log
@Pad L4 WAKEUP to 1M, like omap2_reg.h.
@
text
@d2 1
a2 1
#	$NetBSD: N900,v 1.20 2014/08/23 20:26:57 dholland Exp $
a117 1
#options 	KMEMSTATS	# kernel memory statistics
@


1.21.2.1
log
@Sync with HEAD
@
text
@d2 1
a2 1
#	$NetBSD: N900,v 1.22 2015/08/12 07:53:57 maxv Exp $
d118 1
@


1.21.2.2
log
@Sync with HEAD
@
text
@d2 1
a2 1
#	$NetBSD: N900,v 1.21.2.1 2015/09/22 12:05:40 skrll Exp $
a49 1
#options 	DISKLABEL_EI	# disklabel Endian Independent support
d99 1
a313 1
# USB Ethernet adapters
@


1.20
log
@Systematize (and in many cases, fix) the comments on options COMPAT_NN.

There are quite a few configs that are missing some COMPAT_NN options
in ways that don't make sense; this should probably get cleaned up
too, but for the time being I've not added or removed anything.
@
text
@d2 1
a2 1
#	$NetBSD: N900,v 1.19 2014/08/17 21:17:43 joerg Exp $
d174 1
a174 1
obio1		at mainbus? base 0x48300000 size 0x0040000	# L4 WAKEUP
@


1.19
log
@Reorganize symbol table embedding.  The existing option SYMTAB_SPACE is
replaced by the make option COPY_SYMTAB set to any value. The copy of
the symbol table is no longer put into a buffer in kern_ksyms.o, but a
small helper object. This object is build first with a dummy size, then
the kernel is linked to compute the real dimension of the symbol table
buffer. After that, the helper object is rebuild and the kernel linked
again.
@
text
@d2 1
a2 1
#	$NetBSD: N900,v 1.18 2014/08/16 17:56:31 apb Exp $
d85 14
a98 14
options 	COMPAT_70	# NetBSD 7.0 compatibility.
options 	COMPAT_60	# NetBSD 6.0 compatibility.
options 	COMPAT_50	# NetBSD 5.0 compatibility.
options 	COMPAT_40	# NetBSD 4.0 compatibility.
options 	COMPAT_30	# NetBSD 3.0 compatibility.
#options 	COMPAT_20	# NetBSD 2.0 compatibility.
#options 	COMPAT_16	# NetBSD 1.6 compatibility.
#options 	COMPAT_15	# NetBSD 1.5 compatibility.
#options 	COMPAT_14	# NetBSD 1.4 compatibility.
#options 	COMPAT_13	# NetBSD 1.3 compatibility.
#options 	COMPAT_12	# NetBSD 1.2 compatibility.
#options 	COMPAT_11	# NetBSD 1.1 compatibility.
#options 	COMPAT_10	# NetBSD 1.0 compatibility.
#options 	COMPAT_09	# NetBSD 0.9 compatibility.
@


1.18
log
@Add "options COMPAT_70" to all kernel configuration files that
already had "options COMPAT_60".
@
text
@d2 1
a2 1
#	$NetBSD: N900,v 1.17 2014/08/03 09:18:16 martin Exp $
d139 1
a139 1
options 	SYMTAB_SPACE=800000
@


1.17
log
@Add COMPAT_NETBSD32 to more kernels (we have too many)
@
text
@d2 1
a2 1
#	$NetBSD: N900,v 1.16 2014/07/27 03:34:41 dholland Exp $
d85 1
@


1.16
log
@"internally consistency checks" -> "internal consistency checks"
@
text
@d2 1
a2 1
#	$NetBSD: N900,v 1.15 2013/06/30 21:38:56 rmind Exp $
d83 1
@


1.15
log
@G/C PFIL_HOOKS from the kernel configs.
@
text
@d2 1
a2 1
#	$NetBSD: N900,v 1.14 2013/06/05 23:08:00 christos Exp $
d126 1
a126 1
options 	DIAGNOSTIC	# internally consistency checks
@


1.15.4.1
log
@Rebase.
@
text
@d2 1
a2 1
#	$NetBSD: N900,v 1.17 2014/08/03 09:18:16 martin Exp $
a82 1
options		COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
d126 1
a126 1
options 	DIAGNOSTIC	# internal consistency checks
@


1.14
log
@remove obsolete networking options
@
text
@d2 1
a2 1
#	$NetBSD: N900,v 1.13 2013/05/06 22:56:55 khorben Exp $
a64 1
#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
@


1.14.2.1
log
@sync with head
@
text
@d2 1
a2 1
#	$NetBSD$
d65 1
@


1.13
log
@Added two drivers for the Nokia N900 smartphone, n900_audjck(4) and
n900_prxmty(4), to detect the insertion of audio jacks and obstruction of
the front light sensor, respectively.

Tested on my own device.
@
text
@d2 1
a2 1
#	$NetBSD: N900,v 1.12 2013/05/06 22:49:27 khorben Exp $
a60 1
#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
a63 3
#options 	NS		# XNS
#options 	NSIP		# XNS tunneling over IP
#options 	CCITT,LLC,HDLC	# X.25
@


1.13.2.1
log
@Enable support for the SPI bus
@
text
@d2 1
a2 1
#	$NetBSD: N900,v 1.13 2013/05/06 22:56:55 khorben Exp $
a254 8
# SPI devices
omapspi0	at obio0 addr 0x48098000 size 0x1000 intr 65
omapspi1	at obio0 addr 0x4809a000 size 0x1000 intr 66
omapspi2	at obio0 addr 0x480b8000 size 0x1000 intr 91
omapspi3	at obio0 addr 0x480ba000 size 0x1000 intr 48

spi*		at omapspi?

@


1.13.2.2
log
@Let the device drivers on the GPIO bus use the interrupt locator.
@
text
@d2 1
a2 1
#	$NetBSD: N900,v 1.13.2.1 2013/05/11 17:28:51 khorben Exp $
d219 1
a219 1
n900acad0	at gpio0 offset 7 mask 0x1 intr 103
d222 1
a222 1
n900cambtn0	at gpio2 offset 4 mask 0x3 intr 164 #and 165
d225 1
a225 1
n900kbdsld0	at gpio2 offset 7 mask 0x1 intr 167
d228 1
a228 1
n900prxmty0	at gpio2 offset 25 mask 0x1 intr 185
d231 1
a231 1
n900camcvr0	at gpio3 offset 14 mask 0x1 intr 206
d234 1
a234 1
n900lckbtn0	at gpio3 offset 17 mask 0x1 intr 209
d237 1
a237 1
n900audjck0	at gpio5 offset 17 mask 0x1 intr 273
@


1.13.2.3
log
@Beginning to handle interrupts from the TPS65950 companion chip.
@
text
@d2 1
a2 1
#	$NetBSD: N900,v 1.13.2.2 2013/05/11 18:01:04 khorben Exp $
d251 1
a251 1
tps65950pm1	at iic0 addr 0x49 intr 7
@


1.13.2.4
log
@Added GPIO support to the TPS65950 companion chip. I haven't been able to
test it properly thus far unfortunately.

XXX Implement level-triggered interrupts.
@
text
@d2 1
a2 1
#	$NetBSD: N900,v 1.13.2.3 2013/05/11 18:22:47 khorben Exp $
d251 1
a251 1
tps65950pm1	at iic0 addr 0x49 intrbase 288 intr 7
a253 3
#tps65950pm4	at iic1 addr 0x12

gpio*		at tps65950pm1
@


1.13.2.5
log
@Added keyboard support for the TPS65950 companion chip.

Tested on the Nokia N900 (multi-user)
@
text
@d2 1
a2 1
#	$NetBSD: N900,v 1.13.2.4 2013/05/12 00:42:50 khorben Exp $
a257 3
# Integrated keyboard
wskbd*		at tps65950pm2 mux 1

@


1.13.2.6
log
@Attaching the lp5523led(4) LED driver to the I2C bus.

Tested on my Nokia N900 smartphone.
@
text
@d2 1
a2 1
#	$NetBSD: N900,v 1.13.2.5 2013/05/12 01:49:44 khorben Exp $
a260 3
# LED driver
lp5523led0	at iic1 addr 0x32

@


1.12
log
@Boot on the MicroSD card slot by default.

Tested on my Nokia N900 smartphone. This is the only way currently
supported on this device at the moment anyway (that I know of).
@
text
@d2 1
a2 1
#	$NetBSD: N900,v 1.11 2013/04/20 03:37:55 khorben Exp $
d213 1
a213 1
#omapgpio5	at obio2 addr 0x49058000 size 0x0400 intrbase 256 intr 34
d227 3
d236 3
@


1.11
log
@Imported the n900cambtn(4), n900camcvr(4) and n900kbdsld(4) drivers for the
Nokia N900, all attaching to the GPIO bus, respectively handling:
- the camera button (focus and capture)
- the camera cover slide;
- the keypad slide.
@
text
@d2 1
a2 1
#	$NetBSD: N900,v 1.10 2013/04/17 01:06:13 khorben Exp $
d133 1
d161 1
a161 1
config		netbsd		root on ? type ?
@


1.10
log
@Imported n900lckbtn(4), a driver for the lock button on the Nokia N900
smartphone. Currently reporting events via a hotkey, named after the driver
instance.

Tasted and approved.
@
text
@d2 1
a2 1
#	$NetBSD: N900,v 1.9 2013/04/17 00:57:22 khorben Exp $
d220 9
d241 2
a242 1
# Power Managent and System Companion Device
@


1.9
log
@Disable com0 for the time being, so that the console defaults to the framebuffer.
@
text
@d2 1
a2 1
#	$NetBSD: N900,v 1.8 2013/04/14 19:17:06 khorben Exp $
d208 3
a210 3
#omapgpio1	at obio2 addr 0x49050000 size 0x0400 intrbase 128 intr 30
#omapgpio2	at obio2 addr 0x49052000 size 0x0400 intrbase 160 intr 31
#omapgpio3	at obio2 addr 0x49054000 size 0x0400 intrbase 192 intr 32
d220 3
@


1.8
log
@Imported n900acad(4), a driver for the Nokia N900 reporting the charging
status through sysmon_envsys(9).

XXX need a better way to locate the interrupt (documented)
@
text
@d2 1
a2 1
#	$NetBSD: N900,v 1.7 2013/03/13 03:08:18 khorben Exp $
d236 1
a236 1
com0		at obio2 addr 0x49020000 intr 74 mult 4	# UART3 (console)
d238 1
a238 1
options 	CONSADDR=0x49020000, CONSPEED=115200
@


1.7
log
@Set the N900 kernel on par with the latest improvements related to the
BEAGLEBOARD. Tested on a Nokia N900; BEAGLEBOARD still builds.
@
text
@d2 1
a2 1
#	$NetBSD: N900,v 1.6 2013/03/02 02:42:13 christos Exp $
d216 4
@


1.6
log
@Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it.
@
text
@d2 1
a2 1
#	$NetBSD: N900,v 1.5 2013/03/01 18:25:35 joerg Exp $
d20 1
d38 1
a38 1
#file-system	KERNFS		# /kern
d40 1
a40 1
#file-system	PROCFS		# /proc
d141 1
a141 1
options 	SYMTAB_SPACE=530000
d216 14
a229 8
# # I2C Controller
# omapi2c0	at tipb? addr 0xfffb3800 intr 36 mult 4
# iic*		at omapi2c?
# # omap's own i2c address
# options		OMAP_I2C_ADDRESS=0xe
# # i2c bus clock low and high times in ns
# options		I2C_LOW_TIME_nSEC=1500
# options		I2C_HIGH_TIME_nSEC=1000
d246 4
a249 2
#omapwdt32k*	at obio1 addr 0x4830c000 size 2048	# WDT1
#omapwdt32k*	at obio1 addr 0x48314000 size 2048	# WDT2
d265 2
d321 2
@


1.5
log
@Retire OSI network stack. OK core@@
@
text
@d2 1
a2 1
#	$NetBSD: N900,v 1.4 2012/12/20 01:20:54 khorben Exp $
a59 1
#options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
@


1.4
log
@MEMSIZE is now optional on N900 as well.
@
text
@d2 1
a2 1
#	$NetBSD: N900,v 1.3 2012/12/20 01:15:30 khorben Exp $
a66 2
#options 	ISO,TPIP	# OSI
#options 	EON		# OSI tunneling over IP
@


1.4.6.1
log
@file N900 was added on branch tls-maxphys on 2013-02-25 00:28:34 +0000
@
text
@d1 312
@


1.4.6.2
log
@resync with head
@
text
@a0 312
#
#	$NetBSD$
#
#	N900 -- Nokia N900 Kernel
#

include	"arch/evbarm/conf/std.n900"

# estimated number of users

maxusers	32

# Standard system options

options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
#options 	NTP		# NTP phase/frequency locked loop

# CPU options

options 	CPU_CORTEXA8
options 	OMAP_3430
options 	PMAPCOUNTERS

# Architecture options

# File systems

file-system	FFS		# UFS
#file-system	LFS		# log-structured file system
file-system	MFS		# memory file system
file-system	NFS		# Network file system
#file-system 	ADOSFS		# AmigaDOS-compatible file system
#file-system 	EXT2FS		# second extended file system (linux)
#file-system	CD9660		# ISO 9660 + Rock Ridge file system
file-system	MSDOSFS		# MS-DOS file system
#file-system	FDESC		# /dev/fd
#file-system	KERNFS		# /kern
#file-system	NULLFS		# loopback file system
#file-system	PROCFS		# /proc
#file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
#file-system	UMAPFS		# NULLFS + uid and gid remapping
#file-system	UNION		# union file system
file-system	TMPFS		# memory file system
file-system	PTYFS		# /dev/pts/N support

# File system options
#options 	QUOTA		# legacy UFS quotas
#options 	QUOTA2		# new, in-filesystem UFS quotas
#options 	FFS_EI		# FFS Endian Independent support
#options 	NFSSERVER
options 	WAPBL		# File system journaling support
#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support

# Networking options

#options 	GATEWAY		# packet forwarding
options 	INET		# IP + ICMP + TCP + UDP
options 	INET6		# IPV6
#options 	IPSEC		# IP security
#options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
#options 	IPSEC_DEBUG	# debug for IP security
#options 	MROUTING	# IP multicast routing
#options 	PIM		# Protocol Independent Multicast
#options 	NS		# XNS
#options 	NSIP		# XNS tunneling over IP
#options 	ISO,TPIP	# OSI
#options 	EON		# OSI tunneling over IP
#options 	CCITT,LLC,HDLC	# X.25
#options 	NETATALK	# AppleTalk networking
#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
#options 	PPP_DEFLATE	# Deflate compression support for PPP
#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG

options 	NFS_BOOT_BOOTP
options 	NFS_BOOT_DHCP
#options		NFS_BOOT_BOOTSTATIC
#options		NFS_BOOTSTATIC_MYIP="\"192.168.1.4\""
#options		NFS_BOOTSTATIC_GWIP="\"192.168.1.1\""
#options		NFS_BOOTSTATIC_MASK="\"255.255.255.0\""
#options		NFS_BOOTSTATIC_SERVADDR="\"192.168.1.1\""
#options		NFS_BOOTSTATIC_SERVER="\"192.168.1.1:/nfs/sdp2430\""

options		NFS_BOOT_RWSIZE=1024

# Compatibility options

#options 	COMPAT_43	# 4.3BSD compatibility.
options 	COMPAT_60	# NetBSD 6.0 compatibility.
options 	COMPAT_50	# NetBSD 5.0 compatibility.
options 	COMPAT_40	# NetBSD 4.0 compatibility.
options 	COMPAT_30	# NetBSD 3.0 compatibility.
#options 	COMPAT_20	# NetBSD 2.0 compatibility.
#options 	COMPAT_16	# NetBSD 1.6 compatibility.
#options 	COMPAT_15	# NetBSD 1.5 compatibility.
#options 	COMPAT_14	# NetBSD 1.4 compatibility.
#options 	COMPAT_13	# NetBSD 1.3 compatibility.
#options 	COMPAT_12	# NetBSD 1.2 compatibility.
#options 	COMPAT_11	# NetBSD 1.1 compatibility.
#options 	COMPAT_10	# NetBSD 1.0 compatibility.
#options 	COMPAT_09	# NetBSD 0.9 compatibility.
#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
#options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.

# Shared memory options

options 	SYSVMSG		# System V-like message queues
options 	SYSVSEM		# System V-like semaphores
options 	SYSVSHM		# System V-like memory sharing

# Device options

#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
#options 	MEMORY_DISK_ROOT_SIZE=8192	# Size in blocks
#options 	MEMORY_DISK_DYNAMIC
#options 	MINIROOTSIZE=1000	# Size in blocks
#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root

# Miscellaneous kernel options
options 	KTRACE		# system call tracing, a la ktrace(1)
#options 	KMEMSTATS	# kernel memory statistics
#options 	SCSIVERBOSE	# Verbose SCSI errors
#options 	MIIVERBOSE	# Verbose MII autoconfuration messages
#options 	DDB_KEYCODE=0x40
#options 	USERCONF	# userconf(4) support
#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)

# Development and Debugging options

#options 	PERFCTRS	# performance counters
options 	DIAGNOSTIC	# internally consistency checks
#options 	DEBUG
#options 	PMAP_DEBUG	# Enable pmap_debug_level code
#options 	IPKDB		# remote kernel debugging
#options 	VERBOSE_INIT_ARM # verbose bootstraping messages
options 	DDB		# in-kernel debugger
options		DDB_ONPANIC=1
options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
#options 	KGDB
makeoptions	DEBUG="-g"	# compile full symbol table
options 	SYMTAB_SPACE=530000

## USB Debugging options
options USB_DEBUG
options EHCI_DEBUG
options OHCI_DEBUG
options UHUB_DEBUG


# Valid options for BOOT_ARGS:
#  single		Boot to single user only
#  kdb			Give control to kernel debugger
#  ask			Ask for file name to reboot from
#  pmapdebug=<n>	If PMAP_DEBUG, set pmap_debug_level to <n>
#  memorydisk=<n>	Set memorydisk size to <n> KB
#  quiet		Show aprint_naive output
#  verbose		Show aprint_normal and aprint_verbose output
options		BOOT_ARGS="\"\""

config		netbsd		root on ? type ?

# The main bus device
mainbus0	at root

# The boot cpu
cpu0		at mainbus?

# Specify the memory size in megabytes.
#options	MEMSIZE=256

# L3 Interconnect
L3i0		at mainbus?

# OBIO
obio0		at mainbus? base 0x48000000 size 0x1000000	# L4 CORE
obio1		at mainbus? base 0x48300000 size 0x0040000	# L4 WAKEUP
obio2		at mainbus? base 0x49000000 size 0x0100000	# L4 PERIPHERAL
#obio3		at mainbus? base 0x54000000 size 0x0800000	# L4 EMUL

# General Purpose Memory Controller
gpmc0		at mainbus? base 0x6e000000

# SDHC controllers
sdhc0		at obio0 addr 0x4809C000 size 0x0400 intr 83
#sdhc1		at obio0 addr 0x480B4000 size 0x0400 intr 86
#sdhc2		at obio0 addr 0x480AD000 size 0x0400 intr 94
sdmmc*		at sdhc?		# SD/MMC bus
ld*		at sdmmc?


# NAND controller
omapnand0	at gpmc? addr 0x30000000

# NAND layer
nand0		at nandbus?

# use the bad block table
options NAND_BBT

# Define flash partitions for board
flash0		at nand0 offset 0x0000040 size 0x3602000 # MyDocs
flash1		at nand0 offset 0x3602040 size 0x0400000 # filesystem
flash2		at nand0 offset 0x3a02040 size 0x0180000 # swap

# Interrupt Controller
omapicu0	at obio0 addr 0x48200000 size 0x1000 intrbase 0
omapgpio0	at obio1 addr 0x48310000 size 0x0400 intrbase 96  intr 29
#omapgpio1	at obio2 addr 0x49050000 size 0x0400 intrbase 128 intr 30
#omapgpio2	at obio2 addr 0x49052000 size 0x0400 intrbase 160 intr 31
#omapgpio3	at obio2 addr 0x49054000 size 0x0400 intrbase 192 intr 32
omapgpio4	at obio2 addr 0x49056000 size 0x0400 intrbase 224 intr 33
#omapgpio5	at obio2 addr 0x49058000 size 0x0400 intrbase 256 intr 34

gpio*		at omapgpio?

# # I2C Controller
# omapi2c0	at tipb? addr 0xfffb3800 intr 36 mult 4
# iic*		at omapi2c?
# # omap's own i2c address
# options		OMAP_I2C_ADDRESS=0xe
# # i2c bus clock low and high times in ns
# options		I2C_LOW_TIME_nSEC=1500
# options		I2C_HIGH_TIME_nSEC=1000

# On-board 16550 UARTs
com0		at obio2 addr 0x49020000 intr 74 mult 4	# UART3 (console)
#options 	CONSADDR=0x49020000, CONSPEED=38400
options 	CONSADDR=0x49020000, CONSPEED=115200

# Operating System Timer
omapmputmr0	at obio2 addr 0x49032000 intr 38	# GP Timer 2
# Statistics Timer
omapmputmr1	at obio2 addr 0x49034000 intr 39	# GP Timer 3
# Microtime Reference Timer
omapmputmr2	at obio2 addr 0x49036000 intr 40	# GP Timer 4
options OMAP_MPU_TIMER_CLOCK_FREQ=12000000

# Watchdog timers
#omapwdt32k*	at obio2 addr 0x49030000 size 2048	# WDT3
#omapwdt32k*	at obio1 addr 0x4830c000 size 2048	# WDT1
#omapwdt32k*	at obio1 addr 0x48314000 size 2048	# WDT2

# onboard video
omapfb*		at obio0 addr 0x48050000 size 0x10000

# make sure the console display is always wsdisplay0
wsdisplay0	at wsemuldisplaydev? console 1
wsdisplay*	at wsemuldisplaydev?

# various options for wscons - we try to look as much like a standard
# sun console as possible
options 	WSEMUL_VT100		# sun terminal emulation
options 	WS_DEFAULT_FG=WSCOL_BLACK
options 	WS_DEFAULT_BG=WSCOL_LIGHT_WHITE
options		WS_KERNEL_FG=WSCOL_GREEN
options		WS_KERNEL_BG=WSCOL_LIGHT_WHITE
options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
options 	WSDISPLAY_DEFAULTSCREENS=4
options		FONT_QVSS8x15
#options 	FONT_GALLANT12x22	# the console font

pseudo-device	wsmux			# mouse & keyboard multiplexor
pseudo-device	wsfont

# Power, Reset and Clock Management
prcm*		at obio1 addr 0x48306000 size 0x2000	# PRM Module

# On-board USB
#ehci*		at obio0 addr 0x48064800 size 0x0400 intr 77
#ohci*		at obio0 addr 0x48064400 size 0x0400 intr 76
#usb*		at ohci?
#usb*		at ehci?
#uhub*		at usb?
#uhub*		at uhub? port ?
#umass*		at uhub? port ? configuration ? interface ?
#wd*		at umass?
#uhidev*		at uhub?
#ukbd*		at uhidev?
#ums*		at uhidev?
#wskbd*		at ukbd?
#wsmouse*	at ums?

#axe*		at uhub? port ? configuration ? interface ?

# Hardware clocking and power management

options		HWCLOCK
options		HWCLOCK_MACHINE="<arch/arm/omap/hwclock_omap1.h>"
options		OMAP_CK_REF_SPEED=12000000

# Pseudo-Devices

# disk/mass storage pseudo-devices
#pseudo-device	md			# memory disk device (ramdisk)
#pseudo-device	vnd			# disk-like interface to files
#pseudo-device	fss			# file system snapshot device
#pseudo-device	putter			# for puffs and pud

# network pseudo-devices
pseudo-device	bpfilter		# Berkeley packet filter
pseudo-device	loop			# network loopback
#pseudo-device	kttcp			# network loopback

# miscellaneous pseudo-devices
pseudo-device	pty			# pseudo-terminals
#options	RND_COM
#pseudo-device	clockctl		# user control of clock subsystem
pseudo-device	ksyms			# /dev/ksyms
pseudo-device	lockstat		# lock profiling
@


1.4.6.3
log
@resync from head
@
text
@a19 1
#options 	UVMHIST,UVMHIST_PRINT
d37 1
a37 1
file-system	KERNFS		# /kern
d39 1
a39 1
file-system	PROCFS		# /proc
d60 2
d65 5
a134 1
#options 	LOCKDEBUG	# expensive locking checks/support
d143 1
a143 1
options 	SYMTAB_SPACE=800000
d162 1
a162 1
config		netbsd		root on ld0a type ?
d210 3
a212 3
omapgpio1	at obio2 addr 0x49050000 size 0x0400 intrbase 128 intr 30
omapgpio2	at obio2 addr 0x49052000 size 0x0400 intrbase 160 intr 31
omapgpio3	at obio2 addr 0x49054000 size 0x0400 intrbase 192 intr 32
d214 1
a214 1
omapgpio5	at obio2 addr 0x49058000 size 0x0400 intrbase 256 intr 34
d218 8
a225 37
# GPIO devices
# Charging sensor
n900acad0	at gpio0 offset 7 mask 0x1 #intr 103

# Camera button
n900cambtn0	at gpio2 offset 4 mask 0x3 #intr 164, 165

# Keyboard slide
n900kbdsld0	at gpio2 offset 7 mask 0x1 #intr 167

# Proximity sensor
n900prxmty0	at gpio2 offset 25 mask 0x1 #intr 185

# Camera cover
n900camcvr0	at gpio3 offset 14 mask 0x1 #intr 206

# Lock button
n900lckbtn0	at gpio3 offset 17 mask 0x1 #intr 209

# Audio jack
n900audjck0	at gpio5 offset 17 mask 0x1 #intr 273

# System Control Module
omapscm0 	at obio0 addr 0x48002000 size 0x1000

# I2C Controller
omapiic0	at obio0 addr 0x48070000 size 0x80
omapiic1	at obio0 addr 0x48072000 size 0x80
omapiic2	at obio0 addr 0x48060000 size 0x80
iic*		at omapiic?

# I2C devices
# Power Management and System Companion Device
tps65950pm0	at iic0 addr 0x48
tps65950pm1	at iic0 addr 0x49
tps65950pm2	at iic0 addr 0x4a
tps65950pm3	at iic0 addr 0x4b
d228 1
a228 1
#com0		at obio2 addr 0x49020000 intr 74 mult 4	# UART3 (console)
d230 1
a230 1
#options 	CONSADDR=0x49020000, CONSPEED=115200
d242 2
a243 4
omapwdt32k*	at obio1 addr 0x48314000 size 2048	# WDT2

# onboard DMA
omapdma0	at obio0 addr 0x48056000 size 0x1000
a258 2
options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some more ioctls
a312 2

cinclude "arch/evbarm/conf/N900.local"
@


1.4.6.4
log
@Rebase to HEAD as of a few days ago.
@
text
@d65 1
a83 1
options		COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
d127 1
a127 1
options 	DIAGNOSTIC	# internal consistency checks
@


1.4.6.5
log
@update from HEAD
@
text
@a49 1
#options 	DISKLABEL_EI	# disklabel Endian Independent support
d79 1
a79 1
options 	NFS_BOOT_RWSIZE=1024
d83 17
a99 2
include 	"conf/compat_netbsd30.config"
options 	COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
d117 1
d134 1
a134 1
options 	DDB_ONPANIC=1
d138 1
a138 1
makeoptions	COPY_SYMTAB=1
d155 1
a155 1
options 	BOOT_ARGS="\"\""
d173 1
a173 1
obio1		at mainbus? base 0x48300000 size 0x0100000	# L4 WAKEUP
d283 2
a284 2
options 	WS_KERNEL_FG=WSCOL_GREEN
options 	WS_KERNEL_BG=WSCOL_LIGHT_WHITE
d290 1
a290 1
options 	FONT_QVSS8x15
a313 1
# USB Ethernet adapters
d318 3
a320 3
options 	HWCLOCK
options 	HWCLOCK_MACHINE="<arch/arm/omap/hwclock_omap1.h>"
options 	OMAP_CK_REF_SPEED=12000000
@


1.4.2.1
log
@file N900 was added on branch yamt-pagecache on 2013-01-16 05:32:52 +0000
@
text
@d1 312
@


1.4.2.2
log
@sync with (a bit old) head
@
text
@a0 311
#
#	$NetBSD$
#
#	N900 -- Nokia N900 Kernel
#

include	"arch/evbarm/conf/std.n900"

# estimated number of users

maxusers	32

# Standard system options

options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
#options 	NTP		# NTP phase/frequency locked loop

# CPU options

options 	CPU_CORTEXA8
options 	OMAP_3430
options 	PMAPCOUNTERS

# Architecture options

# File systems

file-system	FFS		# UFS
#file-system	LFS		# log-structured file system
file-system	MFS		# memory file system
file-system	NFS		# Network file system
#file-system 	ADOSFS		# AmigaDOS-compatible file system
#file-system 	EXT2FS		# second extended file system (linux)
#file-system	CD9660		# ISO 9660 + Rock Ridge file system
file-system	MSDOSFS		# MS-DOS file system
#file-system	FDESC		# /dev/fd
#file-system	KERNFS		# /kern
#file-system	NULLFS		# loopback file system
#file-system	PROCFS		# /proc
#file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
#file-system	UMAPFS		# NULLFS + uid and gid remapping
#file-system	UNION		# union file system
file-system	TMPFS		# memory file system
file-system	PTYFS		# /dev/pts/N support

# File system options
#options 	QUOTA		# legacy UFS quotas
#options 	QUOTA2		# new, in-filesystem UFS quotas
#options 	FFS_EI		# FFS Endian Independent support
#options 	NFSSERVER
options 	WAPBL		# File system journaling support
#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support

# Networking options

#options 	GATEWAY		# packet forwarding
options 	INET		# IP + ICMP + TCP + UDP
options 	INET6		# IPV6
#options 	IPSEC		# IP security
#options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
#options 	IPSEC_DEBUG	# debug for IP security
#options 	MROUTING	# IP multicast routing
#options 	PIM		# Protocol Independent Multicast
#options 	NS		# XNS
#options 	NSIP		# XNS tunneling over IP
#options 	ISO,TPIP	# OSI
#options 	EON		# OSI tunneling over IP
#options 	CCITT,LLC,HDLC	# X.25
#options 	NETATALK	# AppleTalk networking
#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
#options 	PPP_DEFLATE	# Deflate compression support for PPP
#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG

options 	NFS_BOOT_BOOTP
options 	NFS_BOOT_DHCP
#options		NFS_BOOT_BOOTSTATIC
#options		NFS_BOOTSTATIC_MYIP="\"192.168.1.4\""
#options		NFS_BOOTSTATIC_GWIP="\"192.168.1.1\""
#options		NFS_BOOTSTATIC_MASK="\"255.255.255.0\""
#options		NFS_BOOTSTATIC_SERVADDR="\"192.168.1.1\""
#options		NFS_BOOTSTATIC_SERVER="\"192.168.1.1:/nfs/sdp2430\""

options		NFS_BOOT_RWSIZE=1024

# Compatibility options

#options 	COMPAT_43	# 4.3BSD compatibility.
options 	COMPAT_60	# NetBSD 6.0 compatibility.
options 	COMPAT_50	# NetBSD 5.0 compatibility.
options 	COMPAT_40	# NetBSD 4.0 compatibility.
options 	COMPAT_30	# NetBSD 3.0 compatibility.
#options 	COMPAT_20	# NetBSD 2.0 compatibility.
#options 	COMPAT_16	# NetBSD 1.6 compatibility.
#options 	COMPAT_15	# NetBSD 1.5 compatibility.
#options 	COMPAT_14	# NetBSD 1.4 compatibility.
#options 	COMPAT_13	# NetBSD 1.3 compatibility.
#options 	COMPAT_12	# NetBSD 1.2 compatibility.
#options 	COMPAT_11	# NetBSD 1.1 compatibility.
#options 	COMPAT_10	# NetBSD 1.0 compatibility.
#options 	COMPAT_09	# NetBSD 0.9 compatibility.
#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
#options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.

# Shared memory options

options 	SYSVMSG		# System V-like message queues
options 	SYSVSEM		# System V-like semaphores
options 	SYSVSHM		# System V-like memory sharing

# Device options

#options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
#options 	MEMORY_DISK_ROOT_SIZE=8192	# Size in blocks
#options 	MEMORY_DISK_DYNAMIC
#options 	MINIROOTSIZE=1000	# Size in blocks
#options 	MEMORY_DISK_IS_ROOT	# use memory disk as root

# Miscellaneous kernel options
options 	KTRACE		# system call tracing, a la ktrace(1)
#options 	KMEMSTATS	# kernel memory statistics
#options 	SCSIVERBOSE	# Verbose SCSI errors
#options 	MIIVERBOSE	# Verbose MII autoconfuration messages
#options 	DDB_KEYCODE=0x40
#options 	USERCONF	# userconf(4) support
#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)

# Development and Debugging options

#options 	PERFCTRS	# performance counters
options 	DIAGNOSTIC	# internally consistency checks
#options 	DEBUG
#options 	PMAP_DEBUG	# Enable pmap_debug_level code
#options 	IPKDB		# remote kernel debugging
#options 	VERBOSE_INIT_ARM # verbose bootstraping messages
options 	DDB		# in-kernel debugger
options		DDB_ONPANIC=1
options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
#options 	KGDB
makeoptions	DEBUG="-g"	# compile full symbol table
options 	SYMTAB_SPACE=530000

## USB Debugging options
options USB_DEBUG
options EHCI_DEBUG
options OHCI_DEBUG
options UHUB_DEBUG


# Valid options for BOOT_ARGS:
#  single		Boot to single user only
#  kdb			Give control to kernel debugger
#  ask			Ask for file name to reboot from
#  pmapdebug=<n>	If PMAP_DEBUG, set pmap_debug_level to <n>
#  memorydisk=<n>	Set memorydisk size to <n> KB
#  quiet		Show aprint_naive output
#  verbose		Show aprint_normal and aprint_verbose output
options		BOOT_ARGS="\"\""

config		netbsd		root on ? type ?

# The main bus device
mainbus0	at root

# The boot cpu
cpu0		at mainbus?

# Specify the memory size in megabytes.
options		MEMSIZE=256

# L3 Interconnect
L3i0		at mainbus?

# OBIO
obio0		at mainbus? base 0x48000000 size 0x1000000	# L4 CORE
obio1		at mainbus? base 0x48300000 size 0x0040000	# L4 WAKEUP
obio2		at mainbus? base 0x49000000 size 0x0100000	# L4 PERIPHERAL
#obio3		at mainbus? base 0x54000000 size 0x0800000	# L4 EMUL

# General Purpose Memory Controller
gpmc0		at mainbus? base 0x6e000000

# SDHC controllers
sdhc0		at obio0 addr 0x4809C000 size 0x0400 intr 83
#sdhc1		at obio0 addr 0x480B4000 size 0x0400 intr 86
#sdhc2		at obio0 addr 0x480AD000 size 0x0400 intr 94
sdmmc*		at sdhc?		# SD/MMC bus
ld*		at sdmmc?


# NAND controller
omapnand0	at gpmc? addr 0x30000000

# NAND layer
nand0		at nandbus?

# use the bad block table
options NAND_BBT

# Define flash partitions for board
flash0		at nand0 offset 0x0000040 size 0x3602000 # MyDocs
flash1		at nand0 offset 0x3602040 size 0x0400000 # filesystem
flash2		at nand0 offset 0x3a02040 size 0x0180000 # swap

# Interrupt Controller
omapicu0	at obio0 addr 0x48200000 size 0x1000 intrbase 0
omapgpio0	at obio1 addr 0x48310000 size 0x0400 intrbase 96  intr 29
#omapgpio1	at obio2 addr 0x49050000 size 0x0400 intrbase 128 intr 30
#omapgpio2	at obio2 addr 0x49052000 size 0x0400 intrbase 160 intr 31
#omapgpio3	at obio2 addr 0x49054000 size 0x0400 intrbase 192 intr 32
omapgpio4	at obio2 addr 0x49056000 size 0x0400 intrbase 224 intr 33
#omapgpio5	at obio2 addr 0x49058000 size 0x0400 intrbase 256 intr 34

gpio*		at omapgpio?

# # I2C Controller
# omapi2c0	at tipb? addr 0xfffb3800 intr 36 mult 4
# iic*		at omapi2c?
# # omap's own i2c address
# options		OMAP_I2C_ADDRESS=0xe
# # i2c bus clock low and high times in ns
# options		I2C_LOW_TIME_nSEC=1500
# options		I2C_HIGH_TIME_nSEC=1000

# On-board 16550 UARTs
com0		at obio2 addr 0x49020000 intr 74 mult 4	# UART3 (console)
#options 	CONSADDR=0x49020000, CONSPEED=38400
options 	CONSADDR=0x49020000, CONSPEED=115200

# Operating System Timer
omapmputmr0	at obio2 addr 0x49032000 intr 38	# GP Timer 2
# Statistics Timer
omapmputmr1	at obio2 addr 0x49034000 intr 39	# GP Timer 3
# Microtime Reference Timer
omapmputmr2	at obio2 addr 0x49036000 intr 40	# GP Timer 4
options OMAP_MPU_TIMER_CLOCK_FREQ=12000000

# Watchdog timers
#omapwdt32k*	at obio2 addr 0x49030000 size 2048	# WDT3
#omapwdt32k*	at obio1 addr 0x4830c000 size 2048	# WDT1
#omapwdt32k*	at obio1 addr 0x48314000 size 2048	# WDT2

# onboard video
omapfb*		at obio0 addr 0x48050000 size 0x10000

# make sure the console display is always wsdisplay0
wsdisplay0	at wsemuldisplaydev? console 1
wsdisplay*	at wsemuldisplaydev?

# various options for wscons - we try to look as much like a standard
# sun console as possible
options 	WSEMUL_VT100		# sun terminal emulation
options 	WS_DEFAULT_FG=WSCOL_BLACK
options 	WS_DEFAULT_BG=WSCOL_LIGHT_WHITE
options		WS_KERNEL_FG=WSCOL_GREEN
options		WS_KERNEL_BG=WSCOL_LIGHT_WHITE
options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
options 	WSDISPLAY_DEFAULTSCREENS=4
options		FONT_QVSS8x15
#options 	FONT_GALLANT12x22	# the console font

pseudo-device	wsmux			# mouse & keyboard multiplexor
pseudo-device	wsfont

# Power, Reset and Clock Management
prcm*		at obio1 addr 0x48306000 size 0x2000	# PRM Module

# On-board USB
#ehci*		at obio0 addr 0x48064800 size 0x0400 intr 77
#ohci*		at obio0 addr 0x48064400 size 0x0400 intr 76
#usb*		at ohci?
#usb*		at ehci?
#uhub*		at usb?
#uhub*		at uhub? port ?
#umass*		at uhub? port ? configuration ? interface ?
#wd*		at umass?
#uhidev*		at uhub?
#ukbd*		at uhidev?
#ums*		at uhidev?
#wskbd*		at ukbd?
#wsmouse*	at ums?

#axe*		at uhub? port ? configuration ? interface ?

# Hardware clocking and power management

options		HWCLOCK
options		HWCLOCK_MACHINE="<arch/arm/omap/hwclock_omap1.h>"
options		OMAP_CK_REF_SPEED=12000000

# Pseudo-Devices

# disk/mass storage pseudo-devices
#pseudo-device	md			# memory disk device (ramdisk)
#pseudo-device	vnd			# disk-like interface to files
#pseudo-device	fss			# file system snapshot device
#pseudo-device	putter			# for puffs and pud

# network pseudo-devices
pseudo-device	bpfilter		# Berkeley packet filter
pseudo-device	loop			# network loopback
#pseudo-device	kttcp			# network loopback

# miscellaneous pseudo-devices
pseudo-device	pty			# pseudo-terminals
#options	RND_COM
#pseudo-device	clockctl		# user control of clock subsystem
pseudo-device	ksyms			# /dev/ksyms
@


1.4.2.3
log
@sync with head
@
text
@d171 1
a171 1
#options	MEMSIZE=256
a311 1
pseudo-device	lockstat		# lock profiling
@


1.4.2.4
log
@sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")
@
text
@d2 1
a2 1
#	$NetBSD: N900,v 1.4.2.3 2013/01/23 00:05:44 yamt Exp $
a19 1
#options 	UVMHIST,UVMHIST_PRINT
d37 1
a37 1
file-system	KERNFS		# /kern
d39 1
a39 1
file-system	PROCFS		# /proc
d60 2
d65 5
d71 1
a134 1
#options 	LOCKDEBUG	# expensive locking checks/support
d143 1
a143 1
options 	SYMTAB_SPACE=800000
d162 1
a162 1
config		netbsd		root on ld0a type ?
d210 3
a212 3
omapgpio1	at obio2 addr 0x49050000 size 0x0400 intrbase 128 intr 30
omapgpio2	at obio2 addr 0x49052000 size 0x0400 intrbase 160 intr 31
omapgpio3	at obio2 addr 0x49054000 size 0x0400 intrbase 192 intr 32
d214 1
a214 1
omapgpio5	at obio2 addr 0x49058000 size 0x0400 intrbase 256 intr 34
d218 8
a225 37
# GPIO devices
# Charging sensor
n900acad0	at gpio0 offset 7 mask 0x1 #intr 103

# Camera button
n900cambtn0	at gpio2 offset 4 mask 0x3 #intr 164, 165

# Keyboard slide
n900kbdsld0	at gpio2 offset 7 mask 0x1 #intr 167

# Proximity sensor
n900prxmty0	at gpio2 offset 25 mask 0x1 #intr 185

# Camera cover
n900camcvr0	at gpio3 offset 14 mask 0x1 #intr 206

# Lock button
n900lckbtn0	at gpio3 offset 17 mask 0x1 #intr 209

# Audio jack
n900audjck0	at gpio5 offset 17 mask 0x1 #intr 273

# System Control Module
omapscm0 	at obio0 addr 0x48002000 size 0x1000

# I2C Controller
omapiic0	at obio0 addr 0x48070000 size 0x80
omapiic1	at obio0 addr 0x48072000 size 0x80
omapiic2	at obio0 addr 0x48060000 size 0x80
iic*		at omapiic?

# I2C devices
# Power Management and System Companion Device
tps65950pm0	at iic0 addr 0x48
tps65950pm1	at iic0 addr 0x49
tps65950pm2	at iic0 addr 0x4a
tps65950pm3	at iic0 addr 0x4b
d228 1
a228 1
#com0		at obio2 addr 0x49020000 intr 74 mult 4	# UART3 (console)
d230 1
a230 1
#options 	CONSADDR=0x49020000, CONSPEED=115200
d242 2
a243 4
omapwdt32k*	at obio1 addr 0x48314000 size 2048	# WDT2

# onboard DMA
omapdma0	at obio0 addr 0x48056000 size 0x1000
a258 2
options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some more ioctls
a312 2

cinclude "arch/evbarm/conf/N900.local"
@


1.3
log
@Added the lockstat pseudo-device
@
text
@d2 1
a2 1
#	$NetBSD: N900,v 1.2 2012/12/11 01:54:43 khorben Exp $
d171 1
a171 1
options		MEMSIZE=256
@


1.2
log
@Added kernel option OMAP_3430 to allow easy differentiation between the
BEAGLEBOARD and N900 kernels; otherwise no real change.

Resulting N900 kernel tested with no visible regression.

<gimpy> go for it
@
text
@d2 1
a2 1
#	$NetBSD: N900,v 1.1 2012/12/07 00:02:36 khorben Exp $
d312 1
@


1.1
log
@This adds a kernel configuration file for the Nokia N900 smartphone. It
is heavily based on the one for the Beagleboard (as documented first by
rhaamo).

The kernel boots properly and then asks for the root device. The
default partitions for flash memory are based on what's expected on a
stock N900 device.

ok mrg@@, after initial review on port-arm@@ a few weeks ago.
@
text
@d2 1
a2 1
#	$NetBSD$
d21 1
a21 1
options 	OMAP_3530
@

