head	1.49;
access;
symbols
	perseant-exfatfs-base-20250801:1.49
	perseant-exfatfs-base-20240630:1.49
	perseant-exfatfs:1.49.0.12
	perseant-exfatfs-base:1.49
	netbsd-8-3-RELEASE:1.42.2.4
	netbsd-9-4-RELEASE:1.48.2.1
	bouyer-sunxi-drm:1.49.0.10
	bouyer-sunxi-drm-base:1.49
	netbsd-9-3-RELEASE:1.48.2.1
	cjep_sun2x:1.49.0.8
	cjep_sun2x-base:1.49
	cjep_staticlib_x-base1:1.49
	netbsd-9-2-RELEASE:1.48.2.1
	cjep_staticlib_x:1.49.0.6
	cjep_staticlib_x-base:1.49
	thorpej-futex-base:1.49
	netbsd-9-1-RELEASE:1.48.2.1
	bouyer-xenpvh-base2:1.49
	phil-wifi-20200421:1.49
	bouyer-xenpvh-base1:1.49
	phil-wifi-20200411:1.49
	bouyer-xenpvh:1.49.0.4
	bouyer-xenpvh-base:1.49
	phil-wifi-20200406:1.49
	netbsd-8-2-RELEASE:1.42.2.4
	ad-namecache-base3:1.49
	netbsd-9-0-RELEASE:1.48.2.1
	netbsd-9-0-RC2:1.48.2.1
	ad-namecache-base2:1.49
	ad-namecache-base1:1.49
	ad-namecache:1.49.0.2
	ad-namecache-base:1.49
	netbsd-9-0-RC1:1.48.2.1
	netbsd-9:1.48.0.2
	netbsd-9-base:1.48
	phil-wifi-20190609:1.48
	netbsd-8-1-RELEASE:1.42.2.4
	netbsd-8-1-RC1:1.42.2.4
	isaki-audio2:1.47.0.2
	isaki-audio2-base:1.47
	pgoyette-compat-merge-20190127:1.43.4.2
	pgoyette-compat-20190127:1.46
	pgoyette-compat-20190118:1.46
	pgoyette-compat-1226:1.46
	pgoyette-compat-1126:1.46
	pgoyette-compat-1020:1.44
	pgoyette-compat-0930:1.44
	pgoyette-compat-0906:1.44
	netbsd-7-2-RELEASE:1.24.2.2
	pgoyette-compat-0728:1.44
	netbsd-8-0-RELEASE:1.42.2.4
	phil-wifi:1.44.0.2
	phil-wifi-base:1.44
	pgoyette-compat-0625:1.43
	netbsd-8-0-RC2:1.42.2.4
	pgoyette-compat-0521:1.43
	pgoyette-compat-0502:1.43
	pgoyette-compat-0422:1.43
	netbsd-8-0-RC1:1.42.2.4
	pgoyette-compat-0415:1.43
	pgoyette-compat-0407:1.43
	pgoyette-compat-0330:1.43
	pgoyette-compat-0322:1.43
	pgoyette-compat-0315:1.43
	netbsd-7-1-2-RELEASE:1.24.2.2
	pgoyette-compat:1.43.0.4
	pgoyette-compat-base:1.43
	netbsd-7-1-1-RELEASE:1.24.2.2
	tls-maxphys-base-20171202:1.43
	matt-nb8-mediatek:1.42.2.3.0.2
	matt-nb8-mediatek-base:1.42.2.3
	nick-nhusb-base-20170825:1.43
	perseant-stdc-iso10646:1.43.0.2
	perseant-stdc-iso10646-base:1.43
	netbsd-8:1.42.0.2
	netbsd-8-base:1.42
	prg-localcount2-base3:1.42
	prg-localcount2-base2:1.42
	prg-localcount2-base1:1.41
	prg-localcount2:1.41.0.2
	prg-localcount2-base:1.41
	pgoyette-localcount-20170426:1.41
	bouyer-socketcan-base1:1.40
	jdolecek-ncq:1.40.0.2
	jdolecek-ncq-base:1.40
	pgoyette-localcount-20170320:1.38
	netbsd-7-1:1.24.2.2.0.6
	netbsd-7-1-RELEASE:1.24.2.2
	netbsd-7-1-RC2:1.24.2.2
	nick-nhusb-base-20170204:1.36
	netbsd-7-nhusb-base-20170116:1.24.2.2
	bouyer-socketcan:1.36.0.4
	bouyer-socketcan-base:1.36
	pgoyette-localcount-20170107:1.36
	netbsd-7-1-RC1:1.24.2.2
	nick-nhusb-base-20161204:1.36
	pgoyette-localcount-20161104:1.36
	netbsd-7-0-2-RELEASE:1.24.2.2
	nick-nhusb-base-20161004:1.36
	localcount-20160914:1.36
	netbsd-7-nhusb:1.24.2.2.0.4
	netbsd-7-nhusb-base:1.24.2.2
	pgoyette-localcount-20160806:1.36
	pgoyette-localcount-20160726:1.36
	pgoyette-localcount:1.36.0.2
	pgoyette-localcount-base:1.36
	nick-nhusb-base-20160907:1.36
	nick-nhusb-base-20160529:1.34
	netbsd-7-0-1-RELEASE:1.24.2.2
	nick-nhusb-base-20160422:1.34
	nick-nhusb-base-20160319:1.34
	nick-nhusb-base-20151226:1.34
	netbsd-7-0:1.24.2.2.0.2
	netbsd-7-0-RELEASE:1.24.2.2
	nick-nhusb-base-20150921:1.33
	netbsd-7-0-RC3:1.24.2.2
	netbsd-7-0-RC2:1.24.2.2
	netbsd-7-0-RC1:1.24.2.2
	nick-nhusb-base-20150606:1.31
	nick-nhusb-base-20150406:1.30
	nick-nhusb:1.29.0.2
	nick-nhusb-base:1.29
	netbsd-7:1.24.0.2
	netbsd-7-base:1.24
	yamt-pagecache-base9:1.20
	yamt-pagecache-tag8:1.3.2.4
	tls-earlyentropy:1.20.0.2
	tls-earlyentropy-base:1.24
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.20
	riastradh-drm2-base3:1.20
	rmind-smpnet-nbase:1.20
	riastradh-drm2-base2:1.19
	riastradh-drm2-base1:1.19
	riastradh-drm2:1.19.0.2
	riastradh-drm2-base:1.19
	rmind-smpnet:1.18.0.2
	rmind-smpnet-base:1.20
	khorben-n900:1.13.0.2
	agc-symver:1.9.0.2
	agc-symver-base:1.9
	yamt-pagecache-base8:1.7
	yamt-pagecache-base7:1.4
	matt-nb6-plus:1.3.0.4
	matt-nb6-plus-nbase:1.3
	yamt-pagecache:1.3.0.2
	yamt-pagecache-base6:1.3
	tls-maxphys:1.2.0.2
	tls-maxphys-base:1.24;
locks; strict;
comment	@# @;


1.49
date	2019.10.28.22.24.56;	author jmcneill;	state dead;
branches;
next	1.48;
commitid	xtbDmGPooxSuwGIB;

1.48
date	2019.05.18.08.49.23;	author skrll;	state Exp;
branches
	1.48.2.1;
next	1.47;
commitid	VWUb8jSMwSEReFnB;

1.47
date	2019.02.06.11.58.30;	author rin;	state Exp;
branches;
next	1.46;
commitid	5Lq3lTxgmkkMwHaB;

1.46
date	2018.11.13.11.00.55;	author mlelstv;	state Exp;
branches;
next	1.45;
commitid	StbbTWNT7VDkXLZA;

1.45
date	2018.10.23.19.58.52;	author jdolecek;	state Exp;
branches;
next	1.44;
commitid	Uj00maxTZQIxA7XA;

1.44
date	2018.06.28.15.21.52;	author thorpej;	state Exp;
branches
	1.44.2.1;
next	1.43;
commitid	bL1ub8t2NffFP3IA;

1.43
date	2017.06.26.03.15.16;	author sevan;	state Exp;
branches
	1.43.4.1;
next	1.42;
commitid	rPmr3c7sr0iMBPWz;

1.42
date	2017.05.09.01.57.04;	author sevan;	state Exp;
branches
	1.42.2.1;
next	1.41;
commitid	iP4igqY9lCEpHEQz;

1.41
date	2017.04.25.18.52.31;	author sevan;	state Exp;
branches
	1.41.2.1;
next	1.40;
commitid	HhDjjhkZ6ywSMWOz;

1.40
date	2017.03.30.17.17.41;	author sevan;	state Exp;
branches;
next	1.39;
commitid	9crduYvBxSca5BLz;

1.39
date	2017.03.22.22.53.06;	author sevan;	state Exp;
branches;
next	1.38;
commitid	bLsL99o7hOh6dBKz;

1.38
date	2017.03.18.21.04.12;	author sevan;	state Exp;
branches;
next	1.37;
commitid	ozMtr40EhACWI4Kz;

1.37
date	2017.02.19.07.47.00;	author rin;	state Exp;
branches;
next	1.36;
commitid	ivCr5u3yfBMzbxGz;

1.36
date	2016.07.04.15.45.38;	author kiyohara;	state Exp;
branches
	1.36.2.1
	1.36.4.1;
next	1.35;
commitid	QdIFIjmfgh1Uc1dz;

1.35
date	2016.07.04.15.35.55;	author kiyohara;	state Exp;
branches;
next	1.34;
commitid	vtaiIelpWVtAb1dz;

1.34
date	2015.11.02.00.49.24;	author jmcneill;	state Exp;
branches;
next	1.33;
commitid	vd9eka2rlcBO9sHy;

1.33
date	2015.08.12.07.53.57;	author maxv;	state Exp;
branches;
next	1.32;
commitid	6eLXlen4HB1O8Xwy;

1.32
date	2015.06.06.14.00.52;	author jmcneill;	state Exp;
branches;
next	1.31;
commitid	jjOHuOTxJ1bhknoy;

1.31
date	2015.04.14.18.45.57;	author bouyer;	state Exp;
branches;
next	1.30;
commitid	jhUgrCR8ycaABAhy;

1.30
date	2014.12.04.16.50.15;	author riz;	state Exp;
branches;
next	1.29;
commitid	gBhMo0jKSdLZaK0y;

1.29
date	2014.10.11.15.55.36;	author uebayasi;	state Exp;
branches
	1.29.2.1;
next	1.28;
commitid	HfF5a6IjXTqWBNTx;

1.28
date	2014.09.18.15.00.08;	author wiz;	state Exp;
branches;
next	1.27;
commitid	uUYslPl5mGsH2QQx;

1.27
date	2014.08.23.20.26.57;	author dholland;	state Exp;
branches;
next	1.26;
commitid	Ef5fhfmsGe1uFwNx;

1.26
date	2014.08.17.21.17.43;	author joerg;	state Exp;
branches;
next	1.25;
commitid	1Tn1qthIdwV09LMx;

1.25
date	2014.08.16.17.56.31;	author apb;	state Exp;
branches;
next	1.24;
commitid	gjT9TWtCibuK4CMx;

1.24
date	2014.08.03.08.53.56;	author martin;	state Exp;
branches
	1.24.2.1;
next	1.23;
commitid	Fq8PfzZ3qg4yuTKx;

1.23
date	2014.07.27.03.34.41;	author dholland;	state Exp;
branches;
next	1.22;
commitid	rlGfXZaBJUt0XXJx;

1.22
date	2014.07.19.18.18.31;	author bouyer;	state Exp;
branches;
next	1.21;
commitid	DBM1n5Xen71i61Jx;

1.21
date	2014.07.16.18.36.46;	author bouyer;	state Exp;
branches;
next	1.20;
commitid	MvYiKzlRbTTaiDIx;

1.20
date	2013.08.16.02.21.53;	author jmcneill;	state Exp;
branches
	1.20.2.1;
next	1.19;
commitid	f0z5Wy3rky8DDC1x;

1.19
date	2013.06.30.21.38.56;	author rmind;	state Exp;
branches;
next	1.18;
commitid	WyqSRDp14EmayGVw;

1.18
date	2013.06.28.05.58.57;	author matt;	state Exp;
branches
	1.18.2.1;
next	1.17;
commitid	NkSJUSRJG0YTplVw;

1.17
date	2013.06.28.00.52.02;	author matt;	state Exp;
branches;
next	1.16;
commitid	etoWpQTRTEGxIjVw;

1.16
date	2013.06.17.00.40.18;	author matt;	state Exp;
branches;
next	1.15;
commitid	c8RPdrN2KjXn0UTw;

1.15
date	2013.06.16.16.48.23;	author matt;	state Exp;
branches;
next	1.14;
commitid	KCrkwEmsv0hXnRTw;

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

1.13
date	2013.05.03.15.46.53;	author jakllsch;	state Exp;
branches;
next	1.12;

1.12
date	2013.04.30.00.26.19;	author matt;	state Exp;
branches;
next	1.11;

1.11
date	2013.04.25.20.56.20;	author rkujawa;	state Exp;
branches;
next	1.10;

1.10
date	2013.04.17.14.38.04;	author bouyer;	state Exp;
branches;
next	1.9;

1.9
date	2013.03.02.02.42.12;	author christos;	state Exp;
branches;
next	1.8;

1.8
date	2013.03.01.18.25.32;	author joerg;	state Exp;
branches;
next	1.7;

1.7
date	2013.01.03.21.13.27;	author jakllsch;	state Exp;
branches;
next	1.6;

1.6
date	2012.12.29.05.00.36;	author riz;	state Exp;
branches;
next	1.5;

1.5
date	2012.12.19.07.54.42;	author msaitoh;	state Exp;
branches;
next	1.4;

1.4
date	2012.12.11.19.29.29;	author riastradh;	state Exp;
branches;
next	1.3;

1.3
date	2012.10.17.14.48.11;	author apb;	state Exp;
branches
	1.3.2.1
	1.3.4.1;
next	1.2;

1.2
date	2012.09.11.19.43.09;	author msaitoh;	state Exp;
branches
	1.2.2.1;
next	1.1;

1.1
date	2012.08.20.12.45.36;	author matt;	state Exp;
branches;
next	;

1.48.2.1
date	2019.11.27.13.46.44;	author martin;	state dead;
branches;
next	;
commitid	GtJZLifQuZ11HuMB;

1.44.2.1
date	2019.06.10.22.06.04;	author christos;	state Exp;
branches;
next	1.44.2.2;
commitid	jtc8rnCzWiEEHGqB;

1.44.2.2
date	2020.04.13.08.03.42;	author martin;	state dead;
branches;
next	;
commitid	X01YhRUPVUDaec4C;

1.43.4.1
date	2018.07.28.04.37.31;	author pgoyette;	state Exp;
branches;
next	1.43.4.2;
commitid	1UP1xAIUxv1ZgRLA;

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

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

1.42.2.2
date	2017.07.05.13.58.48;	author martin;	state Exp;
branches;
next	1.42.2.3;
commitid	OtOpwDgrZQyBS2Yz;

1.42.2.3
date	2017.08.29.09.42.19;	author martin;	state Exp;
branches;
next	1.42.2.4;
commitid	KV6cyviI22vSG55A;

1.42.2.4
date	2018.04.18.14.45.08;	author martin;	state Exp;
branches;
next	;
commitid	yXtHkg7uZYYFUVyA;

1.41.2.1
date	2017.05.11.02.58.35;	author pgoyette;	state Exp;
branches;
next	;
commitid	p6b6NO9zXediZUQz;

1.36.2.1
date	2017.03.20.06.57.13;	author pgoyette;	state Exp;
branches;
next	1.36.2.2;
commitid	jjw7cAwgyKq7RfKz;

1.36.2.2
date	2017.04.26.02.53.01;	author pgoyette;	state Exp;
branches;
next	;
commitid	ojV02aOSdzvBqZOz;

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

1.29.2.1
date	2015.04.06.15.17.55;	author skrll;	state Exp;
branches;
next	1.29.2.2;
commitid	pz01Zhy7RP6iGxgy;

1.29.2.2
date	2015.06.06.14.39.58;	author skrll;	state Exp;
branches;
next	1.29.2.3;
commitid	O6LVO5i6UulOvnoy;

1.29.2.3
date	2015.09.22.12.05.40;	author skrll;	state Exp;
branches;
next	1.29.2.4;
commitid	CpNWKp3ozVNTafCy;

1.29.2.4
date	2015.12.27.12.09.34;	author skrll;	state Exp;
branches;
next	1.29.2.5;
commitid	BTSqUD4SdJ5k7AOy;

1.29.2.5
date	2016.07.09.20.24.51;	author skrll;	state Exp;
branches;
next	1.29.2.6;
commitid	6Uo6zNa4c5W4AGdz;

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

1.24.2.1
date	2015.04.19.04.37.17;	author msaitoh;	state Exp;
branches;
next	1.24.2.2;
commitid	6jNGKBP8BOEAK9iy;

1.24.2.2
date	2015.06.10.16.38.05;	author snj;	state Exp;
branches;
next	;
commitid	pyhHGsPzzFzS3Uoy;

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

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

1.3.2.1
date	2012.10.17.14.48.11;	author yamt;	state dead;
branches;
next	1.3.2.2;

1.3.2.2
date	2012.10.30.17.19.19;	author yamt;	state Exp;
branches;
next	1.3.2.3;

1.3.2.3
date	2013.01.16.05.32.52;	author yamt;	state Exp;
branches;
next	1.3.2.4;

1.3.2.4
date	2013.01.23.00.05.44;	author yamt;	state Exp;
branches;
next	1.3.2.5;

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

1.3.4.1
date	2012.10.17.14.48.11;	author matt;	state dead;
branches;
next	1.3.4.2;

1.3.4.2
date	2012.11.28.22.50.07;	author matt;	state Exp;
branches;
next	;

1.2.2.1
date	2012.11.20.03.01.13;	author tls;	state Exp;
branches;
next	1.2.2.2;

1.2.2.2
date	2013.02.25.00.28.34;	author tls;	state Exp;
branches;
next	1.2.2.3;

1.2.2.3
date	2013.06.23.06.20.03;	author tls;	state Exp;
branches;
next	1.2.2.4;
commitid	eVjr9caYRQbRGHUw;

1.2.2.4
date	2014.08.20.00.02.53;	author tls;	state Exp;
branches;
next	1.2.2.5;
commitid	jTnpym9Qu0o4R1Nx;

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


desc
@@


1.49
log
@Remove BEAGLEBONE kernel config (AM335x SoC is supported by GENERIC now).
@
text
@#
#	$NetBSD: BEAGLEBONE,v 1.48 2019/05/18 08:49:23 skrll Exp $
#
#	BEAGLEBONE -- TI AM335x board Kernel
#

include	"arch/evbarm/conf/std.beagle"
include "arch/evbarm/conf/GENERIC.common"

# CPU options

options 	CPU_CORTEXA8
options 	TI_AM335X

# XXX The Cortex PMC delay() doesn't seem to work.
#no options	CORTEX_PMC

# Architecture options
#makeoptions	CPUFLAGS+="-mthumb"

# Development and Debugging options

options 	DEBUG
makeoptions	DEBUG="-g"	# compile full symbol table
makeoptions	COPY_SYMTAB=1

#options 	VERBOSE_INIT_ARM
#options 	EARLYCONS=beagle	# CONSADDR set below

## 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="\"-v\""

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 0x44c00000 size 0x00400000	# L4_WKUP
obio1		at mainbus? base 0x48000000 size 0x01000000	# L4_PER
obio2		at mainbus? base 0x4a000000 size 0x01000000	# L4_FAST

# Enhanced Direct Memory Access controller
edma0		at mainbus? base 0x49000000 size 0x100000 intrbase 12

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

# Interrupt Controller
omapicu0	at obio1 addr 0x48200000 size 0x1000 intrbase 0

# Power, Reset and Clock Management
prcm0		at obio0 addr 0x44e00000 size 0x2000	# PRM Module

# Control Module
sitaracm0	at obio0 addr 0x44e10000 size 0x2000

# SDHC controllers
sdhc0		at obio1 addr 0x48060000 size 0x1000 intr 64 edmabase 24
sdmmc0		at sdhc0
ld0		at sdmmc0
sdhc1		at obio1 addr 0x481d8000 size 0x1000 intr 28 edmabase 2 # BB Black
sdmmc1		at sdhc1
ld1		at sdmmc1
#sdhc2		at obio0 addr 0x47810000 size 0x1000 intr 29
#sdmmc2		at sdhc2
#ld2		at sdmmc2
sdmmc*		at sdhc?		# SD/MMC bus
ld*		at sdmmc?
#options SDMMC_DEBUG
#options SDHC_DEBUG

# General-purpose I/O pins
omapgpio0	at obio0 addr 0x44e07000 size 0x1000 # intrbase 128 intr 29
gpio0		at omapgpio0
omapgpio1	at obio1 addr 0x4804c000 size 0x1000 # intrbase 160 intr 30
gpio1		at omapgpio1
omapgpio2	at obio1 addr 0x481ac000 size 0x1000 # intrbase 192 intr 32
gpio2		at omapgpio2
omapgpio3	at obio1 addr 0x481ae000 size 0x1000 # intrbase 224 intr 32
gpio3		at omapgpio3
gpio* 		at gpiobus?

# I2C Controller
tiiic0		at obio0 addr 0x44e0b000 size 0x1000 intr 70
iic*		at tiiic?
seeprom*	at iic0 addr 0x50 flags 256	# 32768 bytes
tps65217pmic*	at iic0 addr 0x24

# On-board 16550 UARTs
com0		at obio0 addr 0x44e09000 size 0x1000 intr 72 mult 4	# UART0
options 	CONSADDR=0x44e09000, CONSPEED=115200

# XXX Clock assignment is kinda random.  My DM timer 3 seems to be
# unhappy and I don't know why.  DM timer 0 doesn't seem to deliver
# interrupts for the hard clock, although it seems to be the obvious
# choice.

# Hardclock timer
omapdmtimer0	at obio1 addr 0x48040000 size 0x1000 intr 68	# DM Timer 2

# Time counter
omapdmtimer1	at obio0 addr 0x44e31000 size 0x1000 intr 67	# DM Timer 1ms

# Statclock timer
omapdmtimer2	at obio1 addr 0x48044000 size 0x1000 intr 92	# DM Timer 4

# Watchdog timers
omapwdt32k*	at obio0 addr 0x44e35000 size 0x1000	# WDT1

# Random number generator
trng*		at obio1 addr 0x48310000 size 0x2000 intr 111	# TRNG

# onboard video, experimental. Video mode is hardcoded in the driver
#tifb* 	at obio1 addr 0x4830E000 size 0x1000 intr 36

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

# various options for wscons - we try to look as much like a standard
# sun console as possible
#options 	WSEMUL_VT100
#options 	WSDISPLAY_COMPAT_PCVT
#options 	WSDISPLAY_COMPAT_SYSCONS
#options 	WSDISPLAY_COMPAT_USL
#options 	WSDISPLAY_SCROLLSUPPORT
#options 	WS_KERNEL_FG=WSCOL_GREEN
#options 	WSDISPLAY_DEFAULTSCREENS=4
#options 	FONT_GALLANT12x22
#options 	FONT_BOLD8x16
# compatibility to other console drivers
#options 	WSDISPLAY_COMPAT_RAWKBD 	# can get raw scancodes

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

# On-board USB. Experimental
tiotg* 	at mainbus? base 0x47400000 size 0x5000 intrbase 17
motg*	at tiotg? port ?
usb*		at motg?

# USB device drivers
include "dev/usb/usbdevices.config"

# needed for umidi
midi*          at midibus?

# SCSI bus support
scsibus*	at scsi?
# SCSI devices
sd*		at scsibus? target ? lun ?      # SCSI disk drives

# Ethernet
cpsw*		at obio2 addr 0x4a100000 size 0x8000 intrbase 40

rgephy*		at mii? phy ?
rlphy*		at mii? phy ?
ukphy*		at mii? phy ?

# Pseudo-Devices

# local configuration
cinclude "arch/evbarm/conf/BEAGLEBONE.local"
@


1.48
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: BEAGLEBONE,v 1.47 2019/02/06 11:58:30 rin Exp $
@


1.48.2.1
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: BEAGLEBONE,v 1.48 2019/05/18 08:49:23 skrll Exp $
@


1.47
log
@Add ure(4) to kernel config files. Also add PHY drivers where necessary.
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.46 2018/11/13 11:00:55 mlelstv Exp $
d27 3
@


1.46
log
@use generic usbdevices.config
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.45 2018/10/23 19:58:52 jdolecek Exp $
a172 3
# USB Ethernet adapters
axe*		at uhub? port ? configuration ? interface ?

d175 4
a178 1
ukphy*		at mii?
@


1.45
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: BEAGLEBONE,v 1.44 2018/06/28 15:21:52 thorpej Exp $
a160 2
uhub*		at usb?
uhub*		at uhub? port ?
d162 2
a163 1
uhidev*		at uhub?
d165 2
a166 3
# USB Keyboards
ukbd*	at uhidev? reportid ?
wskbd*	at ukbd? console ? mux 1
a167 38
# USB Mice
ums*	at uhidev? reportid ?
wsmouse* at ums? mux 0

# USB generic touchscreen
uts*	at uhidev? reportid ?
wsmouse* at uts? mux 0

# USB Modem
umodem* at uhub? port ? configuration ?
ucom*	at umodem?
# Serial adapters
ubsa*	at uhub? port ?		# Belkin serial adapter
ucom*	at ubsa? portno ?

uchcom* at uhub? port ? 	# WinChipHead CH341/CH340 serial adapter
ucom*	at uchcom? portno ?

uftdi*	at uhub? port ?		# FTDI FT8U100AX serial adapter
ucom*	at uftdi? portno ?

uipaq*	at uhub? port ?		# iPAQ PDAs
ucom*	at uipaq? portno ?

umct*	at uhub? port ?		# MCT USB-RS232 serial adapter
ucom*	at umct? portno ?

uplcom* at uhub? port ? 	# I/O DATA USB-RSAQ2 serial adapter
ucom*	at uplcom? portno ?

uslsa*	at uhub? port ?		# Silicon Labs USB-RS232 serial adapter
ucom*	at uslsa? portno ?

uvscom* at uhub? port ? 	# SUNTAC Slipper U VS-10U serial adapter
ucom*	at uvscom? portno ?


umass*		at uhub? port ? configuration ? interface ?
@


1.44
log
@Use the "flags" config directive modifier to specify seeprom size
(a pre-existing capability in seeprom driver) now that "size" is no
longer a valid locator for i2c.
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.43 2017/06/26 03:15:16 sevan Exp $
a207 1
wd*		at umass?
@


1.44.2.1
log
@Sync with HEAD
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.48 2019/05/18 08:49:23 skrll Exp $
a26 3
#options 	VERBOSE_INIT_ARM
#options 	EARLYCONS=beagle	# CONSADDR set below

d161 26
d188 2
a189 2
# USB device drivers
include "dev/usb/usbdevices.config"
d191 2
a192 2
# needed for umidi
midi*          at midibus?
d194 15
d214 3
d219 1
a219 4

rgephy*		at mii? phy ?
rlphy*		at mii? phy ?
ukphy*		at mii? phy ?
@


1.44.2.2
log
@Mostly merge changes from HEAD upto 20200411
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.44.2.1 2019/06/10 22:06:04 christos Exp $
@


1.43
log
@Add a heading to describe the class of device axe(4) is.
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.42 2017/05/09 01:57:04 sevan Exp $
d107 1
a107 1
seeprom*	at iic0 addr 0x50 size 32768
@


1.43.4.1
log
@Sync with HEAD
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.44 2018/06/28 15:21:52 thorpej Exp $
d107 1
a107 1
seeprom*	at iic0 addr 0x50 flags 256	# 32768 bytes
@


1.43.4.2
log
@Sync with HEAD, resolve a couple of conflicts
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.46 2018/11/13 11:00:55 mlelstv Exp $
d161 2
d164 1
a164 2
# USB device drivers
include "dev/usb/usbdevices.config"
d166 3
a168 2
# needed for umidi
midi*          at midibus?
d170 39
@


1.42
log
@Allow gpio children for any parent which offers the gpiobus attribute.
Resolves issue with gpiosim(4)
gpiosim0: simulating 64 pins
gpiobus at gpiosim0 not configured

Reviewed by pgoyette
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.41 2017/04/25 18:52:31 sevan Exp $
d214 1
@


1.42.2.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: BEAGLEBONE,v 1.42 2017/05/09 01:57:04 sevan Exp $
a213 1
# USB Ethernet adapters
@


1.42.2.2
log
@Remove options DIAGNOSTIC/DEBUG and PAX debug options.
Requested by snj in #60.
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.42.2.1 2017/07/01 08:49:28 snj Exp $
d23 1
a23 1
#options 	DEBUG
@


1.42.2.3
log
@Requested by skrll in ticket #60:
	sys/arch/amd64/conf/GENERIC
	sys/arch/amd64/conf/XEN3_DOM0
	sys/arch/amd64/conf/XEN3_DOMU
	sys/arch/cobalt/conf/GENERIC
	sys/arch/evbarm/conf/BEAGLEBONE
	sys/arch/evbarm/conf/BEAGLEBOARD
	sys/arch/evbarm/conf/BEAGLEBOARDXM
	sys/arch/evbarm/conf/GENERIC.common
	sys/arch/i386/conf/GENERIC
	sys/arch/i386/conf/XEN3_DOM0
	sys/arch/i386/conf/XEN3_DOMU
	sys/arch/mvmeppc/conf/GENERIC
	sys/arch/shark/conf/GENERIC
	sys/arch/sparc64/conf/GENERIC
	sys/arch/zaurus/conf/GENERIC


Re-enable option DIAGNOSTIC for now, will remove it again later.
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.42.2.2 2017/07/05 13:58:48 martin Exp $
d23 1
a23 1
options 	DEBUG
@


1.42.2.4
log
@Requested by skrll in ticket #60:
        sys/arch/amd64/conf/GENERIC
        sys/arch/amd64/conf/XEN3_DOM0
        sys/arch/amd64/conf/XEN3_DOMU
        sys/arch/cobalt/conf/GENERIC
        sys/arch/evbarm/conf/BEAGLEBONE
        sys/arch/evbarm/conf/BEAGLEBOARD
        sys/arch/evbarm/conf/BEAGLEBOARDXM
        sys/arch/evbarm/conf/GENERIC.common
        sys/arch/i386/conf/GENERIC
        sys/arch/i386/conf/XEN3_DOM0
        sys/arch/i386/conf/XEN3_DOMU
        sys/arch/mvmeppc/conf/GENERIC
        sys/arch/shark/conf/GENERIC
        sys/arch/sparc64/conf/GENERIC
        sys/arch/zaurus/conf/GENERIC

Remove option DIAGNOSTIC.
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.42.2.3 2017/08/29 09:42:19 martin Exp $
d23 1
a23 1
#options 	DEBUG
@


1.41
log
@Switch BEAGLEBONE config over to using GENERIC.common.
Remove duplicates already defined in GENERIC.common.
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.40 2017/03/30 17:17:41 sevan Exp $
d102 1
@


1.41.2.1
log
@Sync with HEAD
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.42 2017/05/09 01:57:04 sevan Exp $
a101 1
gpio* 		at gpiobus?
@


1.40
log
@While KDTRACE_HOOKS is enabled by default in GENERIC.common, the BEAGLEBONE
config does not make use of this config file yet.
Revert previous change (r1.39).
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.39 2017/03/22 22:53:06 sevan Exp $
d8 1
a8 9

# 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
a13 1
options 	PMAPCOUNTERS
a20 102
# 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 	DISKLABEL_EI	# disklabel Endian Independent support
#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_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

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 	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

# Wedge support
options 	DKWEDGE_AUTODISCOVER	# Automatically add dk(4) instances
options 	DKWEDGE_METHOD_GPT	# Supports GPT partitions as wedges

# 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)

a22 2
#options 	PERFCTRS	# performance counters
options 	DIAGNOSTIC	# internal consistency checks
a23 9
options 	KDTRACE_HOOKS	# kernel DTrace hooks
options 	MODULAR 	# DTrace is a module (load via modules.conf)
#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
a220 19
# 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
pseudo-device	drvctl			# driver control

# 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.39
log
@KDTRACE_HOOKS is enabled by default in GENERIC.common, remove references in
individual config files.
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.38 2017/03/18 21:04:12 sevan Exp $
d137 1
@


1.38
log
@Build with DTrace support by default.
To activate, define the relevant modules in /etc/modules.conf.
For example (incomplete list):
solaris
dtrace
dtrace_sdt
dtrace_fbt
dtrace_lockstat
dtrace_profile
dtrace_syscall

Reviewed by christos
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.37 2017/02/19 07:47:00 rin Exp $
a136 1
options 	KDTRACE_HOOKS	# kernel DTrace hooks
@


1.37
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: BEAGLEBONE,v 1.36 2016/07/04 15:45:38 kiyohara Exp $
d137 2
a138 1
#options 	KDTRACE_HOOKS	# kernel DTrace hooks
@


1.36
log
@AM335x's sdhc@@obio use offset 0x100.
Oops this space maybe use HL registers?  OMAP4430 use this space.
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.35 2016/07/04 15:35:55 kiyohara Exp $
d53 1
@


1.36.4.1
log
@Sync with HEAD
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.40 2017/03/30 17:17:41 sevan Exp $
a52 1
#options 	DISKLABEL_EI	# disklabel Endian Independent support
d136 1
a136 2
options 	KDTRACE_HOOKS	# kernel DTrace hooks
options 	MODULAR 	# DTrace is a module (load via modules.conf)
@


1.36.2.1
log
@Sync with HEAD
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.38 2017/03/18 21:04:12 sevan Exp $
a52 1
#options 	DISKLABEL_EI	# disklabel Endian Independent support
d136 1
a136 2
options 	KDTRACE_HOOKS	# kernel DTrace hooks
options 	MODULAR 	# DTrace is a module (load via modules.conf)
@


1.36.2.2
log
@Sync with HEAD
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.41 2017/04/25 18:52:31 sevan Exp $
d8 9
a16 1
include "arch/evbarm/conf/GENERIC.common"
d22 1
d30 102
d134 2
d137 9
d343 19
@


1.35
log
@Attach edma and tiotg at mainbus instead of obio0.
And splits obio0 to obio[012], like OMAP3530.
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.34 2015/11/02 00:49:24 jmcneill Exp $
d199 1
a199 4
# XXX Kludge -- the am335x's mmc registers start at an offset of #x100
# from other omap3.  (What about omap4?)  Need to adapt the omap sdhc
# driver to handle this.
sdhc0		at obio1 addr 0x48060100 size 0x0f00 intr 64 edmabase 24
d202 1
a202 1
sdhc1		at obio1 addr 0x481d8100 size 0x0f00 intr 28 edmabase 2 # BB Black
d205 1
a205 1
#sdhc2		at obio0 addr 0x47810100 size 0xff00 intr 29
@


1.34
log
@enable GPIO
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.33 2015/08/12 07:53:57 maxv Exp $
d179 3
a181 5
obio0		at mainbus? base 0x44000000 size 0x0c000000
#obio0		at mainbus? base 0x44c00000 size 0x00400000	# L4_WKUP
#obio1		at mainbus? base 0x48000000 size 0x01000000	# L4_PER
#obio2		at mainbus? base 0x4a000000 size 0x01000000	# L4_FAST

d183 2
d190 1
a190 1
omapicu0	at obio0 addr 0x48200000 size 0x1000 intrbase 0
a197 3
# Enhanced Direct Memory Access controller
edma0		at obio0 addr 0x49000000 size 0x100000 intrbase 12

d202 1
a202 1
sdhc0		at obio0 addr 0x48060100 size 0x0f00 intr 64 edmabase 24
d205 1
a205 1
sdhc1		at obio0 addr 0x481d8100 size 0x0f00 intr 28 edmabase 2 # BB Black
d219 1
a219 1
omapgpio1	at obio0 addr 0x4804c000 size 0x1000 # intrbase 160 intr 30
d221 1
a221 1
omapgpio2	at obio0 addr 0x481ac000 size 0x1000 # intrbase 192 intr 32
d223 1
a223 1
omapgpio3	at obio0 addr 0x481ae000 size 0x1000 # intrbase 224 intr 32
d242 1
a242 1
omapdmtimer0	at obio0 addr 0x48040000 size 0x1000 intr 68	# DM Timer 2
d248 1
a248 1
omapdmtimer2	at obio0 addr 0x48044000 size 0x1000 intr 92	# DM Timer 4
d254 1
a254 1
trng*		at obio0 addr 0x48310000 size 0x2000 intr 111	# TRNG
d257 1
a257 1
#tifb* 	at obio0 addr 0x4830E000 size 0x1000 intr 36
d280 1
a280 1
tiotg* 	at obio0 addr 0x47400000 size 0x5000 intrbase 17
d339 1
a339 1
cpsw*		at obio0 addr 0x4a100000 size 0x8000 intrbase 40
@


1.33
log
@Remove KMEMSTATS.
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.32 2015/06/06 14:00:52 jmcneill Exp $
d220 8
a227 7
# XXX These are the GPIO v2 in the AM335x, not v1 as in the OMAP35xx.
#omapgpio0	at obio0 addr 0x44e07000 size 0x1000 intrbase 128 intr 29
#omapgpio1	at obio0 addr 0x4804c000 size 0x1000 intrbase 160 intr 30
#omapgpio2	at obio0 addr 0x481ac000 size 0x1000 intrbase 192 intr 32
#omapgpio3	at obio0 addr 0x481ae000 size 0x1000 intrbase 224 intr 32

#gpio*		at omapgpio?
@


1.32
log
@enable trng driver
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.31 2015/04/14 18:45:57 bouyer Exp $
a124 1
#options 	KMEMSTATS	# kernel memory statistics
@


1.31
log
@Add the edma controller, and enable DMA for sdhc0 and sdhc1
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.30 2014/12/04 16:50:15 riz Exp $
d256 3
@


1.30
log
@Enable nullfs, wedges for BEAGLEBONE
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.29 2014/10/11 15:55:36 uebayasi Exp $
d199 3
d206 1
a206 1
sdhc0		at obio0 addr 0x48060100 size 0x0f00 intr 64
d209 1
a209 1
sdhc1		at obio0 addr 0x481d8100 size 0x0f00 intr 28 # BB Black
@


1.29
log
@No wsdisplay options without wsdisplay.
@
text
@d2 1
a2 1
#	$NetBSD$
d42 1
a42 1
#file-system	NULLFS		# loopback file system
d119 4
@


1.29.2.1
log
@Sync with HEAD
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.30 2014/12/04 16:50:15 riz Exp $
d42 1
a42 1
file-system	NULLFS		# loopback file system
a118 4
# Wedge support
options 	DKWEDGE_AUTODISCOVER	# Automatically add dk(4) instances
options 	DKWEDGE_METHOD_GPT	# Supports GPT partitions as wedges

@


1.29.2.2
log
@Sync with HEAD
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.29.2.1 2015/04/06 15:17:55 skrll Exp $
a198 3
# Enhanced Direct Memory Access controller
edma0		at obio0 addr 0x49000000 size 0x100000 intrbase 12

d203 1
a203 1
sdhc0		at obio0 addr 0x48060100 size 0x0f00 intr 64 edmabase 24
d206 1
a206 1
sdhc1		at obio0 addr 0x481d8100 size 0x0f00 intr 28 edmabase 2 # BB Black
@


1.29.2.3
log
@Sync with HEAD
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.29.2.2 2015/06/06 14:39:58 skrll Exp $
d125 1
a255 3
# Random number generator
trng*		at obio0 addr 0x48310000 size 0x2000 intr 111	# TRNG

@


1.29.2.4
log
@Sync with HEAD (as of 26th Dec)
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.29.2.3 2015/09/22 12:05:40 skrll Exp $
d220 7
a226 8
omapgpio0	at obio0 addr 0x44e07000 size 0x1000 # intrbase 128 intr 29
gpio0		at omapgpio0
omapgpio1	at obio0 addr 0x4804c000 size 0x1000 # intrbase 160 intr 30
gpio1		at omapgpio1
omapgpio2	at obio0 addr 0x481ac000 size 0x1000 # intrbase 192 intr 32
gpio2		at omapgpio2
omapgpio3	at obio0 addr 0x481ae000 size 0x1000 # intrbase 224 intr 32
gpio3		at omapgpio3
@


1.29.2.5
log
@Sync with HEAD
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.29.2.4 2015/12/27 12:09:34 skrll Exp $
d179 5
a183 3
obio0		at mainbus? base 0x44c00000 size 0x00400000	# L4_WKUP
obio1		at mainbus? base 0x48000000 size 0x01000000	# L4_PER
obio2		at mainbus? base 0x4a000000 size 0x01000000	# L4_FAST
a184 2
# Enhanced Direct Memory Access controller
edma0		at mainbus? base 0x49000000 size 0x100000 intrbase 12
d190 1
a190 1
omapicu0	at obio1 addr 0x48200000 size 0x1000 intrbase 0
d198 3
d202 4
a205 1
sdhc0		at obio1 addr 0x48060000 size 0x1000 intr 64 edmabase 24
d208 1
a208 1
sdhc1		at obio1 addr 0x481d8000 size 0x1000 intr 28 edmabase 2 # BB Black
d211 1
a211 1
#sdhc2		at obio0 addr 0x47810000 size 0x1000 intr 29
d222 1
a222 1
omapgpio1	at obio1 addr 0x4804c000 size 0x1000 # intrbase 160 intr 30
d224 1
a224 1
omapgpio2	at obio1 addr 0x481ac000 size 0x1000 # intrbase 192 intr 32
d226 1
a226 1
omapgpio3	at obio1 addr 0x481ae000 size 0x1000 # intrbase 224 intr 32
d245 1
a245 1
omapdmtimer0	at obio1 addr 0x48040000 size 0x1000 intr 68	# DM Timer 2
d251 1
a251 1
omapdmtimer2	at obio1 addr 0x48044000 size 0x1000 intr 92	# DM Timer 4
d257 1
a257 1
trng*		at obio1 addr 0x48310000 size 0x2000 intr 111	# TRNG
d260 1
a260 1
#tifb* 	at obio1 addr 0x4830E000 size 0x1000 intr 36
d283 1
a283 1
tiotg* 	at mainbus? base 0x47400000 size 0x5000 intrbase 17
d342 1
a342 1
cpsw*		at obio2 addr 0x4a100000 size 0x8000 intrbase 40
@


1.29.2.6
log
@Sync with HEAD
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.29.2.5 2016/07/09 20:24:51 skrll Exp $
d8 9
a16 1
include "arch/evbarm/conf/GENERIC.common"
d22 1
d30 101
d133 2
d136 8
a221 1
gpio* 		at gpiobus?
a332 1
# USB Ethernet adapters
d341 19
@


1.28
log
@Add commented out KDTRACE_HOOKS line.
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.27 2014/08/23 20:26:57 dholland Exp $
d257 6
a262 6
options 	WSEMUL_VT100
options 	WSDISPLAY_COMPAT_PCVT
options 	WSDISPLAY_COMPAT_SYSCONS
options 	WSDISPLAY_COMPAT_USL
options 	WSDISPLAY_SCROLLSUPPORT
options 	WS_KERNEL_FG=WSCOL_GREEN
d264 2
a265 2
options 	FONT_GALLANT12x22
options 	FONT_BOLD8x16
d267 1
a267 1
options 	WSDISPLAY_COMPAT_RAWKBD 	# can get raw scancodes
@


1.27
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: BEAGLEBONE,v 1.26 2014/08/17 21:17:43 joerg Exp $
d133 1
@


1.26
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: BEAGLEBONE,v 1.25 2014/08/16 17:56:31 apb Exp $
d88 14
a101 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.25
log
@Add "options COMPAT_70" to all kernel configuration files that
already had "options COMPAT_60".
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.24 2014/08/03 08:53:56 martin Exp $
d141 1
a141 1
options 	SYMTAB_SPACE=530000
@


1.24
log
@Add COMPAT_NETBSD32, following the switch to eabi by default.
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.23 2014/07/27 03:34:41 dholland Exp $
d88 1
@


1.24.2.1
log
@Pull up following revision(s) (requested by bouyer in ticket #704):
	sys/arch/arm/omap/omap_edma.c: revision 1.1
	sys/arch/arm/omap/omap_edma.h: revision 1.1
	sys/arch/arm/omap/files.omap2: revision 1.30
	sys/arch/arm/omap/omap2_obiovar.h: revision 1.3
	sys/arch/arm/omap/omap3_sdhc.c: revision 1.16
	sys/arch/arm/omap/omap2_reg.h: revision 1.29
	sys/arch/evbarm/conf/BEAGLEBONE: revision 1.31
	sys/arch/arm/omap/omap2_obio.c: revision 1.22
 - Add a driver for the Enhanced Direct Memory Access controller found
   in the AM335x SoC. Written by Jared D. McNeill, with some final debug by me.
 - Supports only DMA (not QDMA) yet, and there's no support for DMA event
   matrix yet (this means that only primary DMA events can be used)
 - Add support for DMA transfers. From Jared D. McNeill, with final debug by
   me. With this I can get nearly 20MB/s from my sdcard on the BB black at 1Ghz
   (not bad for a 50Mhz 4-bits bus), and still 15MB/s on the BB white at
   low speed (275Mhz).
 - Add the edma controller, and enable DMA for sdhc0 and sdhc1
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.24 2014/08/03 08:53:56 martin Exp $
a192 3
# Enhanced Direct Memory Access controller
edma0		at obio0 addr 0x49000000 size 0x100000 intrbase 12

d197 1
a197 1
sdhc0		at obio0 addr 0x48060100 size 0x0f00 intr 64 edmabase 24
d200 1
a200 1
sdhc1		at obio0 addr 0x481d8100 size 0x0f00 intr 28 edmabase 2 # BB Black
@


1.24.2.2
log
@Pull up following revision(s) (requested by jmcneill in ticket #830):
	sys/arch/arm/omap/am335x_prcm.h: revision 1.9
	sys/arch/arm/omap/am335x_trngreg.h: revision 1.1
	sys/arch/arm/omap/am335x_trng.c: revision 1.1
	sys/arch/arm/omap/files.omap2: revision 1.31
	sys/arch/arm/omap/omap2_reg.h: revision 1.30
	sys/arch/evbarm/conf/BEAGLEBONE: revision 1.32
Add driver for AM335x TRNG module.
--
enable trng driver
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.24.2.1 2015/04/19 04:37:17 msaitoh Exp $
a249 3
# Random number generator
trng*		at obio0 addr 0x48310000 size 0x2000 intr 111	# TRNG

@


1.23
log
@"internally consistency checks" -> "internal consistency checks"
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.22 2014/07/19 18:18:31 bouyer Exp $
d86 1
@


1.22
log
@Fix uhidev entries (sync with i386)
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.21 2014/07/16 18:36:46 bouyer Exp $
d129 1
a129 1
options 	DIAGNOSTIC	# internally consistency checks
@


1.21
log
@Add a commented out tifb and associated wsdisplay entry; mark the
driver as experimental and point out that video mode is hardcoded.
Add tiotg, mark as experimental but I think it's good enough to have
it in by default.
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.20 2013/08/16 02:21:53 jmcneill Exp $
d275 1
d277 13
a289 4
ukbd*		at uhidev?
ums*		at uhidev?
wskbd*		at ukbd?
wsmouse*	at ums?
@


1.20
log
@Hardwire ld0 -> sdmmc0 and ld1 -> sdmmc1. Support local configuration in
BEAGLEBONE.local
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.19 2013/06/30 21:38:56 rmind Exp $
d246 2
a247 2
# onboard video
#omapfb* 	at obio0 addr 0x48050000 size 0x10000
a249 1
#wsdisplay0	at wsemuldisplaydev? console 1
d254 6
a259 7
#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
d261 4
a264 2
#options		FONT_QVSS8x15
#options 	FONT_GALLANT12x22	# the console font
d269 46
a314 14
# 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?
d316 1
a316 1
#axe*		at uhub? port ? configuration ? interface ?
@


1.20.2.1
log
@Rebase.
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.24 2014/08/03 08:53:56 martin Exp $
a85 1
options		COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
d129 1
a129 1
options 	DIAGNOSTIC	# internal consistency checks
d246 2
a247 2
# onboard video, experimental. Video mode is hardcoded in the driver
#tifb* 	at obio0 addr 0x4830E000 size 0x1000 intr 36
d250 1
d255 7
a261 6
options 	WSEMUL_VT100
options 	WSDISPLAY_COMPAT_PCVT
options 	WSDISPLAY_COMPAT_SYSCONS
options 	WSDISPLAY_COMPAT_USL
options 	WSDISPLAY_SCROLLSUPPORT
options 	WS_KERNEL_FG=WSCOL_GREEN
d263 2
a264 4
options 	FONT_GALLANT12x22
options 	FONT_BOLD8x16
# compatibility to other console drivers
options 	WSDISPLAY_COMPAT_RAWKBD 	# can get raw scancodes
d269 14
a282 6
# On-board USB. Experimental
tiotg* 	at obio0 addr 0x47400000 size 0x5000 intrbase 17
motg*	at tiotg? port ?
usb*		at motg?
uhub*		at usb?
uhub*		at uhub? port ?
d284 1
a284 51
uhidev*		at uhub?

# USB Keyboards
ukbd*	at uhidev? reportid ?
wskbd*	at ukbd? console ? mux 1

# USB Mice
ums*	at uhidev? reportid ?
wsmouse* at ums? mux 0

# USB generic touchscreen
uts*	at uhidev? reportid ?
wsmouse* at uts? mux 0

# USB Modem
umodem* at uhub? port ? configuration ?
ucom*	at umodem?
# Serial adapters
ubsa*	at uhub? port ?		# Belkin serial adapter
ucom*	at ubsa? portno ?

uchcom* at uhub? port ? 	# WinChipHead CH341/CH340 serial adapter
ucom*	at uchcom? portno ?

uftdi*	at uhub? port ?		# FTDI FT8U100AX serial adapter
ucom*	at uftdi? portno ?

uipaq*	at uhub? port ?		# iPAQ PDAs
ucom*	at uipaq? portno ?

umct*	at uhub? port ?		# MCT USB-RS232 serial adapter
ucom*	at umct? portno ?

uplcom* at uhub? port ? 	# I/O DATA USB-RSAQ2 serial adapter
ucom*	at uplcom? portno ?

uslsa*	at uhub? port ?		# Silicon Labs USB-RS232 serial adapter
ucom*	at uslsa? portno ?

uvscom* at uhub? port ? 	# SUNTAC Slipper U VS-10U serial adapter
ucom*	at uvscom? portno ?


umass*		at uhub? port ? configuration ? interface ?
wd*		at umass?
# SCSI bus support
scsibus*	at scsi?
# SCSI devices
sd*		at scsibus? target ? lun ?      # SCSI disk drives

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


1.19
log
@G/C PFIL_HOOKS from the kernel configs.
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.18 2013/06/28 05:58:57 matt Exp $
d197 2
d200 2
d203 2
d310 3
@


1.18
log
@Add drvctl
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.17 2013/06/28 00:52:02 matt Exp $
a67 1
#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
@


1.18.2.1
log
@sync with head
@
text
@d2 1
a2 1
#	$NetBSD$
d68 1
a197 2
sdmmc0		at sdhc0
ld0		at sdmmc0
a198 2
sdmmc1		at sdhc1
ld1		at sdmmc1
a199 2
#sdmmc2		at sdhc2
#ld2		at sdmmc2
a304 3

# local configuration
cinclude "arch/evbarm/conf/BEAGLEBONE.local"
@


1.17
log
@Remove -d from BOOT_ARGS
Remove HWCLOCK definitions
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.16 2013/06/17 00:40:18 matt Exp $
d292 1
@


1.16
log
@Turn off VERBOSE_INIT_ARM (which was turned on in last commit).
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.15 2013/06/16 16:48:23 matt Exp $
d157 1
a157 1
options		BOOT_ARGS="\"-d -v\""
a284 6
# Hardware clocking and power management

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

@


1.15
log
@adapt am335x memprobe so it can be used by omap4/omap5.
Fill in the reference clock (omap_sys_clk) when determining speed.
Make sure memory controller are mapped.
Make sure to map console PA in bootstrap page table.
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.14 2013/06/05 23:08:00 christos Exp $
d134 1
a134 1
options 	VERBOSE_INIT_ARM # verbose bootstraping messages
@


1.14
log
@remove obsolete networking options
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.13 2013/05/03 15:46:53 jakllsch Exp $
d134 1
a134 1
#options 	VERBOSE_INIT_ARM # verbose bootstraping messages
a237 2
options OMAP_SYSTEM_CLOCK_FREQ=24000000

@


1.13
log
@Enable file-system EXT2FS.
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.12 2013/04/30 00:26:19 matt Exp $
a63 1
#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
a66 3
#options 	NS		# XNS
#options 	NSIP		# XNS tunneling over IP
#options 	CCITT,LLC,HDLC	# X.25
@


1.12
log
@comment out MEMSIZE (now that we probe memory size)
Add second sdhc controller for beaglebone black
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.11 2013/04/25 20:56:20 rkujawa Exp $
d37 1
a37 1
#file-system 	EXT2FS		# second extended file system (linux)
@


1.11
log
@Add tps65217pmic to BEAGLEBONE config.
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.10 2013/04/17 14:38:04 bouyer Exp $
d172 1
a172 1
options 	MEMSIZE=256
d202 1
a202 1
#sdhc1		at obio0 addr 0x481d8100 size 0x0f00 intr 28
@


1.10
log
@Add sitaracm0 for the control module, tiiic0 for the I2C0 module and
seeprom for the on-board eeprom.
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.9 2013/03/02 02:42:12 christos Exp $
d222 1
@


1.9
log
@Under FAST_IPSEC, IPSEC_ESP is mandatory; GC it.
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.8 2013/03/01 18:25:32 joerg Exp $
d194 3
d218 4
a221 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
@


1.8
log
@Retire OSI network stack. OK core@@
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.7 2013/01/03 21:13:27 jakllsch Exp $
a63 1
#options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
@


1.7
log
@Add driver for TI CPSW Ethernet on TI AM335x SoCs.

Portions of this driver are derived from FreeBSD's cpsw(4).

Developed and tested on a BeagleBone.
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.6 2012/12/29 05:00:36 riz Exp $
a70 2
#options 	ISO,TPIP	# OSI
#options 	EON		# OSI tunneling over IP
@


1.6
log
@Enable the watchdog driver on BeagleBone.
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.5 2012/12/19 07:54:42 msaitoh Exp $
d290 4
@


1.5
log
@Add pseudo-device lockstat
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.4 2012/12/11 19:29:29 riastradh Exp $
d248 1
a248 1
#omapwdt32k*	at obio0 addr 0x44e35000 size 0x1000	# WDT1
@


1.4
log
@Hack up the BEAGLEBONE config and add a BEAGLEBONE_INSTALL.

This is a total mess right now, and BEAGLEBONE_INSTALL isn't useful
except to boot ramdisks for testing, but this hash of a config works
to get my beaglebone booted into sysinst, at least.
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.3 2012/10/17 14:48:11 apb Exp $
d314 1
@


1.3
log
@Add "options COMPAT_60" to all kernel configuration files
that already had "options COMPAT_50".
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.2 2012/09/11 19:43:09 msaitoh Exp $
d24 3
d138 1
a138 1
#options 	DEBUG
d164 1
a164 1
options		BOOT_ARGS="\"\""
d178 1
a178 1
L3i0		at mainbus?
d181 6
a186 4
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
d189 7
a195 1
gpmc0		at mainbus? base 0x6e000000
d198 6
a203 3
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
d206 2
d209 6
a214 8
# 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
d216 1
a216 1
gpio*		at omapgpio?
d228 1
a228 1
com0		at obio2 addr 0x44e09000 intr 74 mult 4	# UART3 (console)
d231 15
a245 7
# 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
d248 1
a248 3
omapwdt32k*	at obio2 addr 0x49030000 size 2048	# WDT3
#omapwdt32k*	at obio1 addr 0x4830c000 size 2048	# WDT1
#omapwdt32k*	at obio1 addr 0x48314000 size 2048	# WDT2
a272 3
# Power, Reset and Clock Management
prcm*		at obio1 addr 0x48306000 size 0x2000	# PRM Module

d299 1
a299 1
pseudo-device	md			# memory disk device (ramdisk)
@


1.3.4.1
log
@file BEAGLEBONE was added on branch matt-nb6-plus on 2012-11-28 22:50:07 +0000
@
text
@d1 296
@


1.3.4.2
log
@merge from -HEAD improves arm (mostly for Cortex) support targeting
OMAP and BCM53xx.
@
text
@a0 296
#
#	$NetBSD: BEAGLEBONE,v 1.3 2012/10/17 14:48:11 apb Exp $
#
#	BEAGLEBONE -- TI AM335x board Kernel
#

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

# 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 	TI_AM335X
options 	PMAPCOUNTERS

# Architecture options
#makeoptions	CPUFLAGS+="-mthumb"

# 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?

# 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 0x44e09000 intr 74 mult 4	# UART3 (console)
options 	CONSADDR=0x44e09000, 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.3.2.1
log
@file BEAGLEBONE was added on branch yamt-pagecache on 2012-10-30 17:19:19 +0000
@
text
@d1 296
@


1.3.2.2
log
@sync with head
@
text
@a0 296
#
#	$NetBSD$
#
#	BEAGLEBONE -- TI AM335x board Kernel
#

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

# 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 	TI_AM335X
options 	PMAPCOUNTERS

# Architecture options
#makeoptions	CPUFLAGS+="-mthumb"

# 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?

# 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 0x44e09000 intr 74 mult 4	# UART3 (console)
options 	CONSADDR=0x44e09000, 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.3.2.3
log
@sync with (a bit old) head
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.3.2.2 2012/10/30 17:19:19 yamt Exp $
a23 3
# XXX The Cortex PMC delay() doesn't seem to work.
#no options	CORTEX_PMC

d135 1
a135 1
options 	DEBUG
d161 1
a161 1
options		BOOT_ARGS="\"-d -v\""
d175 1
a175 1
#L3i0		at mainbus?
d178 4
a181 6
obio0		at mainbus? base 0x44000000 size 0x0c000000
#obio0		at mainbus? base 0x44c00000 size 0x00400000	# L4_WKUP
#obio1		at mainbus? base 0x48000000 size 0x01000000	# L4_PER
#obio2		at mainbus? base 0x4a000000 size 0x01000000	# L4_FAST


d184 1
a184 7
gpmc0		at mainbus? base 0x50000000

# Interrupt Controller
omapicu0	at obio0 addr 0x48200000 size 0x1000 intrbase 0

# Power, Reset and Clock Management
prcm0		at obio0 addr 0x44e00000 size 0x2000	# PRM Module
d187 3
a189 6
# XXX Kludge -- the am335x's mmc registers start at an offset of #x100
# from other omap3.  (What about omap4?)  Need to adapt the omap sdhc
# driver to handle this.
sdhc0		at obio0 addr 0x48060100 size 0x0f00 intr 64
#sdhc1		at obio0 addr 0x481d8100 size 0x0f00 intr 28
#sdhc2		at obio0 addr 0x47810100 size 0xff00 intr 29
a191 2
#options SDMMC_DEBUG
#options SDHC_DEBUG
d193 8
a200 6
# General-purpose I/O pins
# XXX These are the GPIO v2 in the AM335x, not v1 as in the OMAP35xx.
#omapgpio0	at obio0 addr 0x44e07000 size 0x1000 intrbase 128 intr 29
#omapgpio1	at obio0 addr 0x4804c000 size 0x1000 intrbase 160 intr 30
#omapgpio2	at obio0 addr 0x481ac000 size 0x1000 intrbase 192 intr 32
#omapgpio3	at obio0 addr 0x481ae000 size 0x1000 intrbase 224 intr 32
d202 1
a202 1
#gpio*		at omapgpio?
d214 1
a214 1
com0		at obio0 addr 0x44e09000 size 0x1000 intr 72 mult 4	# UART0
d217 7
a223 15
# XXX Clock assignment is kinda random.  My DM timer 3 seems to be
# unhappy and I don't know why.  DM timer 0 doesn't seem to deliver
# interrupts for the hard clock, although it seems to be the obvious
# choice.

# Hardclock timer
omapdmtimer0	at obio0 addr 0x48040000 size 0x1000 intr 68	# DM Timer 2

# Time counter
omapdmtimer1	at obio0 addr 0x44e31000 size 0x1000 intr 67	# DM Timer 1ms

# Statclock timer
omapdmtimer2	at obio0 addr 0x48044000 size 0x1000 intr 92	# DM Timer 4

options OMAP_SYSTEM_CLOCK_FREQ=24000000
d226 3
a228 1
#omapwdt32k*	at obio0 addr 0x44e35000 size 0x1000	# WDT1
d253 3
d282 1
a282 1
#pseudo-device	md			# memory disk device (ramdisk)
@


1.3.2.4
log
@sync with head
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.3.2.3 2013/01/16 05:32:52 yamt Exp $
d248 1
a248 1
omapwdt32k*	at obio0 addr 0x44e35000 size 0x1000	# WDT1
a289 4
# Ethernet
cpsw*		at obio0 addr 0x4a100000 size 0x8000 intrbase 40
ukphy*		at mii?

a313 1
pseudo-device	lockstat		# lock profiling
@


1.3.2.5
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: BEAGLEBONE,v 1.3.2.4 2013/01/23 00:05:44 yamt Exp $
d37 1
a37 1
file-system 	EXT2FS		# second extended file system (linux)
d64 2
d69 5
d75 1
d164 1
a164 1
options		BOOT_ARGS="\"-v\""
d175 1
a175 1
#options 	MEMSIZE=256
a196 3
# Control Module
sitaracm0	at obio0 addr 0x44e10000 size 0x2000

d202 1
a202 5
sdmmc0		at sdhc0
ld0		at sdmmc0
sdhc1		at obio0 addr 0x481d8100 size 0x0f00 intr 28 # BB Black
sdmmc1		at sdhc1
ld1		at sdmmc1
a203 2
#sdmmc2		at sdhc2
#ld2		at sdmmc2
d218 8
a225 5
# I2C Controller
tiiic0		at obio0 addr 0x44e0b000 size 0x1000 intr 70
iic*		at tiiic?
seeprom*	at iic0 addr 0x50 size 32768
tps65217pmic*	at iic0 addr 0x24
d245 2
d294 6
a306 1
pseudo-device	drvctl			# driver control
a318 3

# local configuration
cinclude "arch/evbarm/conf/BEAGLEBONE.local"
@


1.2
log
@Add PUFFS, putter and fss.
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.1 2012/08/20 12:45:36 matt Exp $
d92 1
@


1.2.2.1
log
@Resync to 2012-11-19 00:00:00 UTC
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.3 2012/10/17 14:48:11 apb Exp $
a91 1
options 	COMPAT_60	# NetBSD 6.0 compatibility.
@


1.2.2.2
log
@resync with head
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.2.2.1 2012/11/20 03:01:13 tls Exp $
a23 3
# XXX The Cortex PMC delay() doesn't seem to work.
#no options	CORTEX_PMC

d135 1
a135 1
options 	DEBUG
d161 1
a161 1
options		BOOT_ARGS="\"-d -v\""
d175 1
a175 1
#L3i0		at mainbus?
d178 4
a181 6
obio0		at mainbus? base 0x44000000 size 0x0c000000
#obio0		at mainbus? base 0x44c00000 size 0x00400000	# L4_WKUP
#obio1		at mainbus? base 0x48000000 size 0x01000000	# L4_PER
#obio2		at mainbus? base 0x4a000000 size 0x01000000	# L4_FAST


d184 1
a184 7
gpmc0		at mainbus? base 0x50000000

# Interrupt Controller
omapicu0	at obio0 addr 0x48200000 size 0x1000 intrbase 0

# Power, Reset and Clock Management
prcm0		at obio0 addr 0x44e00000 size 0x2000	# PRM Module
d187 3
a189 6
# XXX Kludge -- the am335x's mmc registers start at an offset of #x100
# from other omap3.  (What about omap4?)  Need to adapt the omap sdhc
# driver to handle this.
sdhc0		at obio0 addr 0x48060100 size 0x0f00 intr 64
#sdhc1		at obio0 addr 0x481d8100 size 0x0f00 intr 28
#sdhc2		at obio0 addr 0x47810100 size 0xff00 intr 29
a191 2
#options SDMMC_DEBUG
#options SDHC_DEBUG
d193 8
a200 6
# General-purpose I/O pins
# XXX These are the GPIO v2 in the AM335x, not v1 as in the OMAP35xx.
#omapgpio0	at obio0 addr 0x44e07000 size 0x1000 intrbase 128 intr 29
#omapgpio1	at obio0 addr 0x4804c000 size 0x1000 intrbase 160 intr 30
#omapgpio2	at obio0 addr 0x481ac000 size 0x1000 intrbase 192 intr 32
#omapgpio3	at obio0 addr 0x481ae000 size 0x1000 intrbase 224 intr 32
d202 1
a202 1
#gpio*		at omapgpio?
d214 1
a214 1
com0		at obio0 addr 0x44e09000 size 0x1000 intr 72 mult 4	# UART0
d217 7
a223 15
# XXX Clock assignment is kinda random.  My DM timer 3 seems to be
# unhappy and I don't know why.  DM timer 0 doesn't seem to deliver
# interrupts for the hard clock, although it seems to be the obvious
# choice.

# Hardclock timer
omapdmtimer0	at obio0 addr 0x48040000 size 0x1000 intr 68	# DM Timer 2

# Time counter
omapdmtimer1	at obio0 addr 0x44e31000 size 0x1000 intr 67	# DM Timer 1ms

# Statclock timer
omapdmtimer2	at obio0 addr 0x48044000 size 0x1000 intr 92	# DM Timer 4

options OMAP_SYSTEM_CLOCK_FREQ=24000000
d226 3
a228 1
omapwdt32k*	at obio0 addr 0x44e35000 size 0x1000	# WDT1
d253 3
a272 4
# Ethernet
cpsw*		at obio0 addr 0x4a100000 size 0x8000 intrbase 40
ukphy*		at mii?

d282 1
a282 1
#pseudo-device	md			# memory disk device (ramdisk)
a296 1
pseudo-device	lockstat		# lock profiling
@


1.2.2.3
log
@resync from head
@
text
@d2 1
a2 1
#	$NetBSD$
d37 1
a37 1
file-system 	EXT2FS		# second extended file system (linux)
d64 2
d69 5
d175 1
a175 1
#options 	MEMSIZE=256
a196 3
# Control Module
sitaracm0	at obio0 addr 0x44e10000 size 0x2000

d202 1
a202 1
sdhc1		at obio0 addr 0x481d8100 size 0x0f00 intr 28 # BB Black
d218 8
a225 5
# I2C Controller
tiiic0		at obio0 addr 0x44e0b000 size 0x1000 intr 70
iic*		at tiiic?
seeprom*	at iic0 addr 0x50 size 32768
tps65217pmic*	at iic0 addr 0x24
d245 2
@


1.2.2.4
log
@Rebase to HEAD as of a few days ago.
@
text
@d68 1
a86 1
options		COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
d130 1
a130 1
options 	DIAGNOSTIC	# internal consistency checks
d157 1
a157 1
options		BOOT_ARGS="\"-v\""
a197 2
sdmmc0		at sdhc0
ld0		at sdmmc0
a198 2
sdmmc1		at sdhc1
ld1		at sdmmc1
a199 2
#sdmmc2		at sdhc2
#ld2		at sdmmc2
d241 2
a242 2
# onboard video, experimental. Video mode is hardcoded in the driver
#tifb* 	at obio0 addr 0x4830E000 size 0x1000 intr 36
d245 1
d250 7
a256 6
options 	WSEMUL_VT100
options 	WSDISPLAY_COMPAT_PCVT
options 	WSDISPLAY_COMPAT_SYSCONS
options 	WSDISPLAY_COMPAT_USL
options 	WSDISPLAY_SCROLLSUPPORT
options 	WS_KERNEL_FG=WSCOL_GREEN
d258 2
a259 4
options 	FONT_GALLANT12x22
options 	FONT_BOLD8x16
# compatibility to other console drivers
options 	WSDISPLAY_COMPAT_RAWKBD 	# can get raw scancodes
d264 14
a277 6
# On-board USB. Experimental
tiotg* 	at obio0 addr 0x47400000 size 0x5000 intrbase 17
motg*	at tiotg? port ?
usb*		at motg?
uhub*		at usb?
uhub*		at uhub? port ?
d279 1
a279 51
uhidev*		at uhub?

# USB Keyboards
ukbd*	at uhidev? reportid ?
wskbd*	at ukbd? console ? mux 1

# USB Mice
ums*	at uhidev? reportid ?
wsmouse* at ums? mux 0

# USB generic touchscreen
uts*	at uhidev? reportid ?
wsmouse* at uts? mux 0

# USB Modem
umodem* at uhub? port ? configuration ?
ucom*	at umodem?
# Serial adapters
ubsa*	at uhub? port ?		# Belkin serial adapter
ucom*	at ubsa? portno ?

uchcom* at uhub? port ? 	# WinChipHead CH341/CH340 serial adapter
ucom*	at uchcom? portno ?

uftdi*	at uhub? port ?		# FTDI FT8U100AX serial adapter
ucom*	at uftdi? portno ?

uipaq*	at uhub? port ?		# iPAQ PDAs
ucom*	at uipaq? portno ?

umct*	at uhub? port ?		# MCT USB-RS232 serial adapter
ucom*	at umct? portno ?

uplcom* at uhub? port ? 	# I/O DATA USB-RSAQ2 serial adapter
ucom*	at uplcom? portno ?

uslsa*	at uhub? port ?		# Silicon Labs USB-RS232 serial adapter
ucom*	at uslsa? portno ?

uvscom* at uhub? port ? 	# SUNTAC Slipper U VS-10U serial adapter
ucom*	at uvscom? portno ?


umass*		at uhub? port ? configuration ? interface ?
wd*		at umass?
# SCSI bus support
scsibus*	at scsi?
# SCSI devices
sd*		at scsibus? target ? lun ?      # SCSI disk drives

axe*		at uhub? port ? configuration ? interface ?
d285 6
a297 1
pseudo-device	drvctl			# driver control
a309 3

# local configuration
cinclude "arch/evbarm/conf/BEAGLEBONE.local"
@


1.2.2.5
log
@update from HEAD
@
text
@d8 9
a16 1
include "arch/evbarm/conf/GENERIC.common"
d22 1
d30 97
d129 2
d132 7
d140 1
a140 1
makeoptions	COPY_SYMTAB=1
d174 5
a178 3
obio0		at mainbus? base 0x44c00000 size 0x00400000	# L4_WKUP
obio1		at mainbus? base 0x48000000 size 0x01000000	# L4_PER
obio2		at mainbus? base 0x4a000000 size 0x01000000	# L4_FAST
a179 2
# Enhanced Direct Memory Access controller
edma0		at mainbus? base 0x49000000 size 0x100000 intrbase 12
d185 1
a185 1
omapicu0	at obio1 addr 0x48200000 size 0x1000 intrbase 0
d194 4
a197 1
sdhc0		at obio1 addr 0x48060000 size 0x1000 intr 64 edmabase 24
d200 1
a200 1
sdhc1		at obio1 addr 0x481d8000 size 0x1000 intr 28 edmabase 2 # BB Black
d203 1
a203 1
#sdhc2		at obio0 addr 0x47810000 size 0x1000 intr 29
d212 7
a218 9
omapgpio0	at obio0 addr 0x44e07000 size 0x1000 # intrbase 128 intr 29
gpio0		at omapgpio0
omapgpio1	at obio1 addr 0x4804c000 size 0x1000 # intrbase 160 intr 30
gpio1		at omapgpio1
omapgpio2	at obio1 addr 0x481ac000 size 0x1000 # intrbase 192 intr 32
gpio2		at omapgpio2
omapgpio3	at obio1 addr 0x481ae000 size 0x1000 # intrbase 224 intr 32
gpio3		at omapgpio3
gpio* 		at gpiobus?
d236 1
a236 1
omapdmtimer0	at obio1 addr 0x48040000 size 0x1000 intr 68	# DM Timer 2
d242 1
a242 1
omapdmtimer2	at obio1 addr 0x48044000 size 0x1000 intr 92	# DM Timer 4
a246 3
# Random number generator
trng*		at obio1 addr 0x48310000 size 0x2000 intr 111	# TRNG

d248 1
a248 1
#tifb* 	at obio1 addr 0x4830E000 size 0x1000 intr 36
d255 6
a260 6
#options 	WSEMUL_VT100
#options 	WSDISPLAY_COMPAT_PCVT
#options 	WSDISPLAY_COMPAT_SYSCONS
#options 	WSDISPLAY_COMPAT_USL
#options 	WSDISPLAY_SCROLLSUPPORT
#options 	WS_KERNEL_FG=WSCOL_GREEN
d262 2
a263 2
#options 	FONT_GALLANT12x22
#options 	FONT_BOLD8x16
d265 1
a265 1
#options 	WSDISPLAY_COMPAT_RAWKBD 	# can get raw scancodes
d271 1
a271 1
tiotg* 	at mainbus? base 0x47400000 size 0x5000 intrbase 17
a326 1
# USB Ethernet adapters
d330 1
a330 1
cpsw*		at obio2 addr 0x4a100000 size 0x8000 intrbase 40
d335 19
@


1.1
log
@Inital config file BEAGLEBONE
@
text
@d2 1
a2 1
#	$NetBSD: BEAGLEBONE,v 1.28 2012/07/12 03:48:54 matt Exp $
d41 1
d284 1
@

