head	1.37;
access;
symbols
	netbsd-11-0-RC4:1.35.8.1
	netbsd-11-0-RC3:1.35.8.1
	netbsd-11-0-RC2:1.35.8.1
	netbsd-11-0-RC1:1.35.8.1
	perseant-exfatfs-base-20250801:1.35
	netbsd-11:1.35.0.8
	netbsd-11-base:1.35
	netbsd-10-1-RELEASE:1.34
	perseant-exfatfs-base-20240630:1.35
	perseant-exfatfs:1.35.0.6
	perseant-exfatfs-base:1.35
	netbsd-8-3-RELEASE:1.9.2.3
	netbsd-9-4-RELEASE:1.28.4.1
	netbsd-10-0-RELEASE:1.34
	netbsd-10-0-RC6:1.34
	netbsd-10-0-RC5:1.34
	netbsd-10-0-RC4:1.34
	netbsd-10-0-RC3:1.34
	netbsd-10-0-RC2:1.34
	thorpej-ifq:1.35.0.4
	thorpej-ifq-base:1.35
	thorpej-altq-separation:1.35.0.2
	thorpej-altq-separation-base:1.35
	netbsd-10-0-RC1:1.34
	netbsd-10:1.34.0.10
	netbsd-10-base:1.34
	bouyer-sunxi-drm:1.34.0.8
	bouyer-sunxi-drm-base:1.34
	netbsd-9-3-RELEASE:1.28.4.1
	thorpej-i2c-spi-conf2:1.34.0.6
	thorpej-i2c-spi-conf2-base:1.34
	thorpej-futex2:1.34.0.4
	thorpej-futex2-base:1.34
	thorpej-cfargs2:1.34.0.2
	thorpej-cfargs2-base:1.34
	cjep_sun2x-base1:1.33
	cjep_sun2x:1.33.0.4
	cjep_sun2x-base:1.33
	cjep_staticlib_x-base1:1.33
	netbsd-9-2-RELEASE:1.28.4.1
	cjep_staticlib_x:1.33.0.2
	cjep_staticlib_x-base:1.33
	thorpej-i2c-spi-conf:1.32.0.6
	thorpej-i2c-spi-conf-base:1.34
	thorpej-cfargs:1.32.0.4
	thorpej-cfargs-base:1.32
	thorpej-futex:1.32.0.2
	thorpej-futex-base:1.32
	netbsd-9-1-RELEASE:1.28.4.1
	bouyer-xenpvh-base2:1.31
	phil-wifi-20200421:1.31
	bouyer-xenpvh-base1:1.31
	phil-wifi-20200411:1.31
	bouyer-xenpvh:1.31.0.6
	bouyer-xenpvh-base:1.31
	is-mlppp:1.31.0.4
	is-mlppp-base:1.31
	phil-wifi-20200406:1.31
	netbsd-8-2-RELEASE:1.9.2.3
	ad-namecache-base3:1.31
	netbsd-9-0-RELEASE:1.28.4.1
	netbsd-9-0-RC2:1.28.4.1
	ad-namecache-base2:1.31
	ad-namecache-base1:1.31
	ad-namecache:1.31.0.2
	ad-namecache-base:1.31
	netbsd-9-0-RC1:1.28.4.1
	phil-wifi-20191119:1.29
	netbsd-9:1.28.0.4
	netbsd-9-base:1.28
	phil-wifi-20190609:1.28
	netbsd-8-1-RELEASE:1.9.2.3
	netbsd-8-1-RC1:1.9.2.3
	isaki-audio2:1.28.0.2
	isaki-audio2-base:1.28
	pgoyette-compat-merge-20190127:1.15.2.6
	pgoyette-compat-20190127:1.28
	pgoyette-compat-20190118:1.28
	pgoyette-compat-1226:1.28
	pgoyette-compat-1126:1.27
	pgoyette-compat-1020:1.27
	pgoyette-compat-0930:1.26
	pgoyette-compat-0906:1.23
	pgoyette-compat-0728:1.21
	netbsd-8-0-RELEASE:1.9.2.3
	phil-wifi:1.17.0.2
	phil-wifi-base:1.17
	pgoyette-compat-0625:1.17
	netbsd-8-0-RC2:1.9.2.3
	pgoyette-compat-0521:1.15
	pgoyette-compat-0502:1.15
	pgoyette-compat-0422:1.15
	netbsd-8-0-RC1:1.9.2.3
	pgoyette-compat-0415:1.15
	pgoyette-compat-0407:1.15
	pgoyette-compat-0330:1.15
	pgoyette-compat-0322:1.15
	pgoyette-compat-0315:1.15
	pgoyette-compat:1.15.0.2
	pgoyette-compat-base:1.15
	tls-maxphys:1.14.0.2
	tls-maxphys-base-20171202:1.14
	matt-nb8-mediatek:1.9.2.3.0.2
	matt-nb8-mediatek-base:1.9.2.3
	nick-nhusb-base-20170825:1.12
	perseant-stdc-iso10646:1.12.0.2
	perseant-stdc-iso10646-base:1.12
	netbsd-8:1.9.0.2
	netbsd-8-base:1.9
	prg-localcount2-base3:1.1
	prg-localcount2-base2:1.1
	prg-localcount2-base1:1.1
	prg-localcount2:1.1.0.10
	prg-localcount2-base:1.1
	pgoyette-localcount-20170426:1.1
	bouyer-socketcan-base1:1.1
	jdolecek-ncq:1.1.0.8
	jdolecek-ncq-base:1.1
	pgoyette-localcount-20170320:1.1
	nick-nhusb-base-20170204:1.1
	bouyer-socketcan:1.1.0.6
	bouyer-socketcan-base:1.1
	pgoyette-localcount-20170107:1.1
	nick-nhusb-base-20161204:1.1
	pgoyette-localcount-20161104:1.1
	nick-nhusb-base-20161004:1.1
	localcount-20160914:1.1
	pgoyette-localcount-20160806:1.1
	pgoyette-localcount-20160726:1.1
	pgoyette-localcount:1.1.0.4
	pgoyette-localcount-base:1.1
	nick-nhusb-base-20160907:1.1
	nick-nhusb-base-20160529:1.1
	nick-nhusb-base-20160422:1.1
	nick-nhusb-base-20160319:1.1
	nick-nhusb:1.1.0.2
	nick-nhusb-base-20151226:1.1;
locks; strict;
comment	@# @;


1.37
date	2025.09.06.21.02.40;	author thorpej;	state Exp;
branches;
next	1.36;
commitid	wcjZhEYF1XjshH9G;

1.36
date	2025.09.06.15.44.02;	author thorpej;	state Exp;
branches;
next	1.35;
commitid	9V4ybx31NXy5wF9G;

1.35
date	2023.06.12.12.58.17;	author skrll;	state Exp;
branches
	1.35.8.1;
next	1.34;
commitid	DshbkkJHdh9FQEsE;

1.34
date	2021.07.22.00.47.55;	author jmcneill;	state Exp;
branches;
next	1.33;
commitid	IwIkHjTtPgUTZU1D;

1.33
date	2021.04.26.14.44.16;	author thorpej;	state Exp;
branches;
next	1.32;
commitid	uJhX0NCGpXwiqOQC;

1.32
date	2020.10.10.15.25.31;	author jmcneill;	state Exp;
branches
	1.32.6.1;
next	1.31;
commitid	nPFuXAaN8f6C0nrC;

1.31
date	2020.01.07.08.22.23;	author skrll;	state Exp;
branches;
next	1.30;
commitid	3abm12f714OYyJRB;

1.30
date	2020.01.05.17.26.31;	author jmcneill;	state Exp;
branches;
next	1.29;
commitid	WbOB5QL6yKpwEwRB;

1.29
date	2019.08.10.17.03.59;	author skrll;	state Exp;
branches;
next	1.28;
commitid	yab5sPZMtMfGhvyB;

1.28
date	2018.12.05.21.43.33;	author jmcneill;	state Exp;
branches
	1.28.4.1;
next	1.27;
commitid	oqGsKeNyJthLNE2B;

1.27
date	2018.10.12.22.20.48;	author jmcneill;	state Exp;
branches;
next	1.26;
commitid	pLF0G8toYw3tKIVA;

1.26
date	2018.09.21.12.04.06;	author skrll;	state Exp;
branches;
next	1.25;
commitid	koRgyXMfdOPKZXSA;

1.25
date	2018.09.10.11.05.12;	author ryo;	state Exp;
branches;
next	1.24;
commitid	0SjBllc9h4Os2yRA;

1.24
date	2018.09.08.00.40.57;	author jmcneill;	state Exp;
branches;
next	1.23;
commitid	LyEY1KBCgCTeEeRA;

1.23
date	2018.08.17.14.21.30;	author skrll;	state Exp;
branches;
next	1.22;
commitid	U8LPc2XcSd1BTtOA;

1.22
date	2018.08.08.19.03.08;	author jmcneill;	state Exp;
branches;
next	1.21;
commitid	DX4N9rv9VjtcKlNA;

1.21
date	2018.07.15.23.48.08;	author jmcneill;	state Exp;
branches;
next	1.20;
commitid	nPyUQf8ZPLMG5iKA;

1.20
date	2018.07.15.16.07.49;	author jmcneill;	state Exp;
branches;
next	1.19;
commitid	BcsTusxZslZNxfKA;

1.19
date	2018.06.30.16.30.35;	author jmcneill;	state Exp;
branches;
next	1.18;
commitid	h7VSwO8FlLGy9kIA;

1.18
date	2018.06.30.16.22.56;	author jmcneill;	state Exp;
branches;
next	1.17;
commitid	ruX9AQ5f0zUF6kIA;

1.17
date	2018.06.20.08.03.55;	author hkenken;	state Exp;
branches
	1.17.2.1;
next	1.16;
commitid	cVhdjUv0iAIHFZGA;

1.16
date	2018.06.05.08.03.28;	author hkenken;	state Exp;
branches;
next	1.15;
commitid	aErRAE50OFgr94FA;

1.15
date	2018.02.19.16.10.42;	author jmcneill;	state Exp;
branches
	1.15.2.1;
next	1.14;
commitid	KDrGiG2Jq3GPfurA;

1.14
date	2017.10.02.22.49.38;	author jmcneill;	state Exp;
branches
	1.14.2.1;
next	1.13;
commitid	NzxhBLHjnAbFXw9A;

1.13
date	2017.08.26.15.05.48;	author jmcneill;	state Exp;
branches;
next	1.12;
commitid	NzuLfWEDEhn3AJ4A;

1.12
date	2017.06.28.23.48.22;	author jmcneill;	state Exp;
branches;
next	1.11;
commitid	mcrGAY0cDVTLmcXz;

1.11
date	2017.06.08.21.01.06;	author jmcneill;	state Exp;
branches;
next	1.10;
commitid	ZG2YBoW0JHLB5CUz;

1.10
date	2017.06.08.10.03.59;	author jmcneill;	state Exp;
branches;
next	1.9;
commitid	naepVhWwFSt1syUz;

1.9
date	2017.06.03.17.05.23;	author jmcneill;	state Exp;
branches
	1.9.2.1;
next	1.8;
commitid	dX1RmP88HWdqWWTz;

1.8
date	2017.06.03.14.50.39;	author jmcneill;	state Exp;
branches;
next	1.7;
commitid	DUK0FNTVbanicWTz;

1.7
date	2017.06.02.14.30.58;	author jmcneill;	state Exp;
branches;
next	1.6;
commitid	yptKFsEOog3A7OTz;

1.6
date	2017.06.02.11.04.01;	author jmcneill;	state Exp;
branches;
next	1.5;
commitid	LSegDF8LxCLqYMTz;

1.5
date	2017.06.02.10.46.07;	author jmcneill;	state Exp;
branches;
next	1.4;
commitid	fN0EHtR1QaXwSMTz;

1.4
date	2017.05.30.22.55.26;	author jmcneill;	state Exp;
branches;
next	1.3;
commitid	ZztECOq8tOTF0tTz;

1.3
date	2017.05.29.23.21.12;	author jmcneill;	state Exp;
branches;
next	1.2;
commitid	lJykdXTSSbJublTz;

1.2
date	2017.05.28.00.40.20;	author jmcneill;	state Exp;
branches;
next	1.1;
commitid	if4ELrtmtX6qG5Tz;

1.1
date	2015.12.13.17.45.37;	author jmcneill;	state Exp;
branches
	1.1.2.1;
next	;
commitid	D5KGn5MhloaJsOMy;

1.35.8.1
date	2025.09.16.04.03.33;	author snj;	state Exp;
branches;
next	;
commitid	ygUKJtQi0LNrjTaG;

1.32.6.1
date	2021.05.13.00.47.23;	author thorpej;	state Exp;
branches;
next	1.32.6.2;
commitid	hlq0lOvHnylpfVSC;

1.32.6.2
date	2021.08.01.22.42.04;	author thorpej;	state Exp;
branches;
next	;
commitid	NihqK3haIgTUWj3D;

1.28.4.1
date	2019.08.15.09.49.49;	author martin;	state Exp;
branches;
next	;
commitid	7Y97oj6vEQ91J6zB;

1.17.2.1
date	2019.06.10.22.05.53;	author christos;	state Exp;
branches;
next	1.17.2.2;
commitid	jtc8rnCzWiEEHGqB;

1.17.2.2
date	2020.04.08.14.07.29;	author martin;	state Exp;
branches;
next	1.17.2.3;
commitid	Qli2aW9E74UFuA3C;

1.17.2.3
date	2020.04.13.08.03.34;	author martin;	state Exp;
branches;
next	;
commitid	X01YhRUPVUDaec4C;

1.15.2.1
date	2018.06.25.07.25.39;	author pgoyette;	state Exp;
branches;
next	1.15.2.2;
commitid	8PtAu9af7VvhiDHA;

1.15.2.2
date	2018.07.28.04.37.28;	author pgoyette;	state Exp;
branches;
next	1.15.2.3;
commitid	1UP1xAIUxv1ZgRLA;

1.15.2.3
date	2018.09.06.06.55.26;	author pgoyette;	state Exp;
branches;
next	1.15.2.4;
commitid	HCi1bXD317XIK0RA;

1.15.2.4
date	2018.09.30.01.45.38;	author pgoyette;	state Exp;
branches;
next	1.15.2.5;
commitid	SQ44grEPCeKPh4UA;

1.15.2.5
date	2018.10.20.06.58.25;	author pgoyette;	state Exp;
branches;
next	1.15.2.6;
commitid	mTSoqZEZ4arHnFWA;

1.15.2.6
date	2018.12.26.14.01.33;	author pgoyette;	state Exp;
branches;
next	;
commitid	xUhK8IAeBM1azj5B;

1.14.2.1
date	2017.10.02.22.49.38;	author jdolecek;	state dead;
branches;
next	1.14.2.2;
commitid	XcIYRZTAh1LmerhA;

1.14.2.2
date	2017.12.03.11.35.52;	author jdolecek;	state Exp;
branches;
next	;
commitid	XcIYRZTAh1LmerhA;

1.9.2.1
date	2017.06.09.16.59.20;	author snj;	state Exp;
branches;
next	1.9.2.2;
commitid	LkpFUjltpsTbIIUz;

1.9.2.2
date	2017.06.10.05.57.08;	author snj;	state Exp;
branches;
next	1.9.2.3;
commitid	mye48S3WOVht0NUz;

1.9.2.3
date	2017.07.18.19.13.08;	author snj;	state Exp;
branches;
next	;
commitid	xwp7839uh5fpcKZz;

1.1.2.1
date	2015.12.13.17.45.37;	author skrll;	state dead;
branches;
next	1.1.2.2;
commitid	BTSqUD4SdJ5k7AOy;

1.1.2.2
date	2015.12.27.12.09.30;	author skrll;	state Exp;
branches;
next	1.1.2.3;
commitid	BTSqUD4SdJ5k7AOy;

1.1.2.3
date	2017.08.28.17.51.30;	author skrll;	state Exp;
branches;
next	;
commitid	UQQpnjvcNkUZn05A;


desc
@@


1.37
log
@Refactor the "platform" defitions into fdt_platform.h
@
text
@# $NetBSD: files.fdt,v 1.36 2025/09/06 15:44:02 thorpej Exp $

include	"dev/pckbport/files.pckbport"

device	armfdt: bus_space_generic, fdt
attach	armfdt at root with arm_fdt
file	dev/fdt/fdt_platform.c			arm_fdt
file	arch/arm/fdt/arm_fdt.c			arm_fdt
file	arch/arm/fdt/arm_platform.c		arm_fdt & gtmr_fdt & psci_fdt
file	arch/arm/fdt/arm_simplefb.c		arm_fdt & wsdisplay & genfb
file	arch/arm/fdt/cpus_fdt.c			arm_fdt

attach	cpu at fdt with cpu_fdt
file	arch/arm/fdt/cpu_fdt.c			cpu_fdt

device	cpufreqdt: fdt_clock, fdt_regulator
attach	cpufreqdt at cpu with cpufreq_dt
file	dev/fdt/cpufreq_dt.c			cpufreq_dt

device	a9tmr: mpcorebus
attach	a9tmr at fdt with a9tmr_fdt: fdt_clock
file	arch/arm/fdt/a9tmr_fdt.c		a9tmr_fdt

device	a9ptmr: mpcorebus
attach	a9ptmr at fdt with a9ptmr_fdt: fdt_clock
file	arch/arm/fdt/a9ptmr_fdt.c		a9ptmr_fdt

device	a9wdt: mpcorebus
attach	a9wdt at fdt with a9wdt_fdt
file	arch/arm/fdt/a9wdt_fdt.c		a9wdt_fdt

device	gtmr: mpcorebus
attach	gtmr at fdt with gtmr_fdt
file	arch/arm/fdt/gtmr_fdt.c			gtmr_fdt

device  gic: mpcorebus
attach  gic at fdt with gic_fdt
file    arch/arm/fdt/gic_fdt.c			gic_fdt

attach	gicvthree at fdt with gicv3_fdt
file	arch/arm/fdt/gicv3_fdt.c		gicv3_fdt

device  l2cc: mpcorebus
attach  l2cc at fdt with l2cc_fdt
file    arch/arm/fdt/l2cc_fdt.c			l2cc_fdt

attach	plcom at fdt with plcom_fdt: fdt_clock
file	arch/arm/fdt/plcom_fdt.c		plcom_fdt

attach	plkmi at fdt with plkmi_fdt: fdt_clock
file	arch/arm/fdt/plkmi_fdt.c		plkmi_fdt

attach	plmmc at fdt with plmmc_fdt: fdt_clock
file	arch/arm/fdt/plmmc_fdt.c		plmmc_fdt

attach	smsh at fdt with smsh_fdt
file	arch/arm/fdt/smsh_fdt.c			smsh_fdt

attach	aaci at fdt with aaci_fdt: fdt_clock
file	arch/arm/fdt/aaci_fdt.c			aaci_fdt

attach	plrtc at fdt with plrtc_fdt
file	arch/arm/fdt/plrtc_fdt.c		plrtc_fdt

attach	psci at fdt with psci_fdt: fdt_power
file	arch/arm/fdt/psci_fdt.c			psci_fdt	needs-flag

# Generic PCI host controller
device	pcihost: pcibus
attach	pcihost at fdt with pcihost_fdt
file	arch/arm/fdt/pcihost_fdt.c		pcihost_fdt

device	armpmu: tprof
attach	armpmu at fdt with pmu_fdt
file	arch/arm/fdt/pmu_fdt.c			pmu_fdt

attach	genfb at fdt with plfb_fdt: fdt_clock, fdt_display_timing
file	arch/arm/fdt/plfb_fdt.c			plfb_fdt

device	acpifdt: fdt_power, acpibus, smbios
attach	acpifdt at fdt with acpi_fdt
file	arch/arm/fdt/acpi_fdt.c			acpi_fdt
file	dev/smbios_platform.c			acpi_fdt
@


1.36
log
@Step towards modularizing the Flattened Device Tree code.

Define attributes for each of the specific device bindings: clock,
dai, dma, gpio, i2c, iommu, mbox, mmc_pwrseq, phy, power, power domain,
pwm, regulator, reset controller, spi, system controller, pin
controller.  Include these support files only if either a provider
or consumer with one of these attributes is present in the kernel
config.

Add the necessary attributes to the device / attach declarations for
each provider and consumer.

There are some bindings that are consumed by generic code (iommu, pinctrl,
power, power domain).  Provide weak stubs for these routines to handle
situations where there is no provider.

No actual code changed; NFCI.
@
text
@d1 1
a1 1
# $NetBSD: files.fdt,v 1.35 2023/06/12 12:58:17 skrll Exp $
d7 1
@


1.35
log
@Call / define fdtbus_cpus_md_attach for platforms with cpus @@ fdt.

The RISC-V binding here seems somewhat of an abuse, but it exists in
mainline linux.
@
text
@d1 1
a1 1
# $NetBSD: files.fdt,v 1.34 2021/07/22 00:47:55 jmcneill Exp $
d15 1
a15 1
device	cpufreqdt
d20 1
a20 1
attach	a9tmr at fdt with a9tmr_fdt
d24 1
a24 1
attach	a9ptmr at fdt with a9ptmr_fdt
d46 1
a46 1
attach	plcom at fdt with plcom_fdt
d49 1
a49 1
attach	plkmi at fdt with plkmi_fdt
d52 1
a52 1
attach	plmmc at fdt with plmmc_fdt
d58 1
a58 1
attach	aaci at fdt with aaci_fdt
d64 1
a64 1
attach	psci at fdt with psci_fdt
d76 1
a76 1
attach	genfb at fdt with plfb_fdt: fdt_display_timing
d79 1
a79 1
device	acpifdt: acpibus, smbios
@


1.35.8.1
log
@Pull up following revision(s) (requested by rin in ticket #31):

	sys/arch/arm/fdt/files.fdt: revision 1.37
	sys/arch/riscv/fdt/files.fdt: revision 1.5
	sys/dev/fdt/files.fdt: revision 1.75 via patch

Prune fdt_platform.c from sys/dev/fdt/files.fdt and explicitly pull
in at sys/arch/arm/fdt/files.fdt and sys/arch/riscv/fdt/files.fdt.
Unbreaks OCTEON build.
@
text
@d1 1
a1 1
# $NetBSD: files.fdt,v 1.35 2023/06/12 12:58:17 skrll Exp $
a6 1
file	dev/fdt/fdt_platform.c			arm_fdt
@


1.34
log
@Expose SMBIOS tables using sysctl machdep.dmi.*, same as x86.
@
text
@d1 1
a1 1
# $NetBSD: files.fdt,v 1.33 2021/04/26 14:44:16 thorpej Exp $
d10 1
@


1.33
log
@armfdt does not need its own interface attribute; all of its children
attach to the "fdt" interface attribute.
@
text
@d1 1
a1 1
# $NetBSD: files.fdt,v 1.32 2020/10/10 15:25:31 jmcneill Exp $
d78 1
a78 1
device	acpifdt: acpibus
d81 1
@


1.32
log
@Support early FB console attachment when booting with a devicetree
(non-ACPI mode). Inform the pciconf code about the framebuffer to
prevent pciconf from changing resources out from under us when framebuffer
memory is in VRAM.
@
text
@d1 1
a1 1
# $NetBSD: files.fdt,v 1.31 2020/01/07 08:22:23 skrll Exp $
d5 1
a5 1
device	armfdt { }: bus_space_generic, fdt
@


1.32.6.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
# $NetBSD: files.fdt,v 1.33 2021/04/26 14:44:16 thorpej Exp $
d5 1
a5 1
device	armfdt: bus_space_generic, fdt
@


1.32.6.2
log
@Sync with HEAD.
@
text
@d1 1
a1 1
# $NetBSD: files.fdt,v 1.32.6.1 2021/05/13 00:47:23 thorpej Exp $
d78 1
a78 1
device	acpifdt: acpibus, smbios
a80 1
file	dev/smbios_platform.c			acpi_fdt
@


1.31
log
@arm_platform requires gtmr and psci.  Should fix build failures.
@
text
@d1 1
a1 1
# $NetBSD: files.fdt,v 1.30 2020/01/05 17:26:31 jmcneill Exp $
d9 1
@


1.30
log
@Make the generic Arm platform available for arm32 as well.
@
text
@d1 1
a1 1
# $NetBSD: files.fdt,v 1.29 2019/08/10 17:03:59 skrll Exp $
d8 1
a8 1
file	arch/arm/fdt/arm_platform.c		arm_fdt
@


1.29
log
@Add a driver for the A5/A9 Private timer.

While here FDTise the Watchdog driver.
@
text
@d1 1
a1 1
# $NetBSD: files.fdt,v 1.28 2018/12/05 21:43:33 jmcneill Exp $
d8 1
@


1.28
log
@Split armv7/armv8 tprof backend config logic from the fdt bus glue.
@
text
@d1 1
a1 1
# $NetBSD: files.fdt,v 1.27 2018/10/12 22:20:48 jmcneill Exp $
d20 8
@


1.28.4.1
log
@Pull up following revision(s) (requested by skrll in ticket #55):

	sys/arch/arm/cortex/a9wdt.c: revision 1.10
	sys/arch/evbarm/conf/HUMMINGBOARD: revision 1.9
	sys/arch/evbarm/conf/GENERIC: revision 1.50
	sys/arch/evbarm/conf/NITROGEN6X: revision 1.24
	sys/arch/arm/cortex/a9tmr_var.h: revision 1.7
	sys/arch/arm/fdt/files.fdt: revision 1.29
	sys/arch/arm/amlogic/meson_platform.c: revision 1.12
	sys/arch/arm/amlogic/meson8b_pinctrl.c: revision 1.2
	sys/arch/arm/amlogic/meson_platform.c: revision 1.13
	sys/arch/evbarm/conf/BCM5301X: revision 1.34
	sys/arch/arm/dts/meson8b.dtsi: revision 1.6
	sys/arch/arm/fdt/a9ptmr_fdt.c: revision 1.1
	sys/arch/arm/dts/meson8b.dtsi: revision 1.7
	sys/arch/arm/cortex/a9ptmr_var.h: revision 1.1
	sys/arch/evbarm/conf/PANDABOARD: revision 1.30
	sys/arch/evbarm/conf/DUOVERO: revision 1.14
	sys/arch/arm/cortex/a9ptmr.c: revision 1.1
	sys/arch/arm/cortex/a9ptmr.c: revision 1.2
	sys/arch/arm/fdt/a9wdt_fdt.c: revision 1.1
	sys/arch/evbarm/conf/BCM56340: revision 1.19
	sys/arch/evbarm/conf/CUBOX-I: revision 1.23
	sys/arch/arm/amlogic/meson8b_clkc.c: revision 1.4
	sys/arch/evbarm/conf/PARALLELLA: revision 1.7
	sys/arch/arm/cortex/files.cortex: revision 1.12
	sys/arch/arm/dts/meson8b-odroidc1.dts: revision 1.4
	sys/arch/arm/cortex/a9wdt.c: revision 1.9
	sys/arch/evbarm/conf/ZEDBOARD: revision 1.6

spaces to tab

 -

Add a driver for the A5/A9 Private timer.
While here FDTise the Watchdog driver.

 -

Update for recent a9wdt changes
 -

Trailing whitespace

 -
Updates to get Odroid-C1 in better shape since the last DTS import

 -

Various fixes / changes
- don't use prescaler
- improve AB_DEBUG output
- fix a9ptmr_delay to work with a decrementing counter!
Thanks to jmcneill@@ for proving I'm an idiot

 -

Add eth_rxd3 and eth_rxd2 pinctrl groups

 -

Catch up to recent mainline dts changes
@
text
@d1 1
a1 1
# $NetBSD: files.fdt,v 1.28 2018/12/05 21:43:33 jmcneill Exp $
a19 8
device	a9ptmr: mpcorebus
attach	a9ptmr at fdt with a9ptmr_fdt
file	arch/arm/fdt/a9ptmr_fdt.c		a9ptmr_fdt

device	a9wdt: mpcorebus
attach	a9wdt at fdt with a9wdt_fdt
file	arch/arm/fdt/a9wdt_fdt.c		a9wdt_fdt

@


1.27
log
@Add acpi @@ fdt glue
@
text
@d1 1
a1 1
# $NetBSD: files.fdt,v 1.26 2018/09/21 12:04:06 skrll Exp $
d61 1
a61 1
device	armpmu
a63 2
file	dev/tprof/tprof_armv7.c			pmu_fdt & arm32
file	dev/tprof/tprof_armv8.c			pmu_fdt & aarch64
@


1.26
log
@Centralise defparam CONSADDR, CONSPEED, CONMODE and CONADDR into
opt_console.h and adjust.
@
text
@d1 1
a1 1
# $NetBSD: files.fdt,v 1.25 2018/09/10 11:05:12 ryo Exp $
d70 3
@


1.25
log
@cleanup aarch64 mpstart and fdt bootstrap
 * arm_cpu_hatch_arg is a bad idea. avoid serializing CPU startup, and eliminate arm_cpu_hatch_arg.
   in mpstart, resolve own cpu index using array of cpu_mpidr[] (aarch64)
 * add support fdt enable-method "spin-table"
 * add support fdt enable-method "brcm,bcm2836-smp" (for 32bit RaspberryPi)
 * use arm_fdt_cpu_bootstrap() instead of psci_fdt_bootstrap()
 * rename "arm/fdt/psci_fdt.h" to "arm/fdt/psci_fdtvar.h" because of conflict of include file for needs-flag
 * add devmap for cpu spin-table of raspberrypi3/aarch64
 * no need to force hatch APs for raspberrypi3/arm32 ifndef MULTIPROCESSOR.
 * fix to work pmap_extract(kerneltext/data/bss) even if before calling pmap_bootstrap

idea to use cpu_mpidr[] by jmcneill@@. reviewd by skrll@@. thanks.
@
text
@d1 1
a1 1
# $NetBSD: files.fdt,v 1.24 2018/09/08 00:40:57 jmcneill Exp $
a69 2
# Console parameters
defparam opt_fdt_arm.h				CONSADDR
@


1.24
log
@Add FDT generic PCI host controller driver.
@
text
@d1 1
a1 1
# $NetBSD: files.fdt,v 1.23 2018/08/17 14:21:30 skrll Exp $
d54 1
a54 1
file	arch/arm/fdt/psci_fdt.c			psci_fdt
@


1.23
log
@Whitespace
@
text
@d1 1
a1 1
# $NetBSD: files.fdt,v 1.22 2018/08/08 19:03:08 jmcneill Exp $
d56 5
@


1.22
log
@Add GICv3 FDT glue
@
text
@d1 1
a1 1
# $NetBSD: files.fdt,v 1.21 2018/07/15 23:48:08 jmcneill Exp $
d26 1
a26 1
file    arch/arm/fdt/gic_fdt.c             	gic_fdt
d33 1
a33 1
file    arch/arm/fdt/l2cc_fdt.c             	l2cc_fdt
@


1.21
log
@Add support for ARMv7 performance monitor (PMU).
@
text
@d1 1
a1 1
# $NetBSD: files.fdt,v 1.20 2018/07/15 16:07:49 jmcneill Exp $
d28 3
@


1.20
log
@Add glue for ARMv8 performance monitor (PMU).
@
text
@d1 1
a1 1
# $NetBSD: files.fdt,v 1.19 2018/06/30 16:30:35 jmcneill Exp $
d56 1
@


1.19
log
@cpus: use fdt_add_bus
@
text
@d1 1
a1 1
# $NetBSD: files.fdt,v 1.18 2018/06/30 16:22:56 jmcneill Exp $
d53 5
@


1.18
log
@Allow nodes to attach child devices using the same sorting rules as used
by the simplebus driver.
@
text
@d1 1
a1 1
# $NetBSD: files.fdt,v 1.17 2018/06/20 08:03:55 hkenken Exp $
d9 1
a9 1
attach	cpu at cpus with cpu_fdt
@


1.17
log
@Add l2cc support.
@
text
@d1 1
a1 1
# $NetBSD: files.fdt,v 1.16 2018/06/05 08:03:28 hkenken Exp $
d5 1
a5 1
device	armfdt { }: bus_space_generic, fdtbus
@


1.17.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
# $NetBSD: files.fdt,v 1.28 2018/12/05 21:43:33 jmcneill Exp $
d5 1
a5 1
device	armfdt { }: bus_space_generic, fdt
d9 1
a9 1
attach	cpu at fdt with cpu_fdt
d26 1
a26 4
file    arch/arm/fdt/gic_fdt.c			gic_fdt

attach	gicvthree at fdt with gicv3_fdt
file	arch/arm/fdt/gicv3_fdt.c		gicv3_fdt
d30 1
a30 1
file    arch/arm/fdt/l2cc_fdt.c			l2cc_fdt
d51 1
a51 10
file	arch/arm/fdt/psci_fdt.c			psci_fdt	needs-flag

# Generic PCI host controller
device	pcihost: pcibus
attach	pcihost at fdt with pcihost_fdt
file	arch/arm/fdt/pcihost_fdt.c		pcihost_fdt

device	armpmu: tprof
attach	armpmu at fdt with pmu_fdt
file	arch/arm/fdt/pmu_fdt.c			pmu_fdt
d56 2
a57 3
device	acpifdt: acpibus
attach	acpifdt at fdt with acpi_fdt
file	arch/arm/fdt/acpi_fdt.c			acpi_fdt
@


1.17.2.2
log
@Merge changes from current as of 20200406
@
text
@d1 1
a1 1
# $NetBSD$
a7 1
file	arch/arm/fdt/arm_platform.c		arm_fdt & gtmr_fdt & psci_fdt
@


1.17.2.3
log
@Mostly merge changes from HEAD upto 20200411
@
text
@a20 8
device	a9ptmr: mpcorebus
attach	a9ptmr at fdt with a9ptmr_fdt
file	arch/arm/fdt/a9ptmr_fdt.c		a9ptmr_fdt

device	a9wdt: mpcorebus
attach	a9wdt at fdt with a9wdt_fdt
file	arch/arm/fdt/a9wdt_fdt.c		a9wdt_fdt

@


1.16
log
@Rename ARM A9 Global Timer driver name to support fdt.

- Rename a9tmr to arma9tmr.
- Add a9tmr_fdt.c based gtmr_fdt.c.
@
text
@d1 1
a1 1
# $NetBSD: files.fdt,v 1.15 2018/02/19 16:10:42 jmcneill Exp $
d28 4
@


1.15
log
@move plfb glue to the correct location
@
text
@d1 1
a1 1
# $NetBSD: files.fdt,v 1.14 2017/10/02 22:49:38 jmcneill Exp $
d16 4
@


1.15.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
# $NetBSD: files.fdt,v 1.17 2018/06/20 08:03:55 hkenken Exp $
a15 4
device	a9tmr: mpcorebus
attach	a9tmr at fdt with a9tmr_fdt
file	arch/arm/fdt/a9tmr_fdt.c		a9tmr_fdt

a23 4
device  l2cc: mpcorebus
attach  l2cc at fdt with l2cc_fdt
file    arch/arm/fdt/l2cc_fdt.c             	l2cc_fdt

@


1.15.2.2
log
@Sync with HEAD
@
text
@d1 1
a1 1
# $NetBSD: files.fdt,v 1.21 2018/07/15 23:48:08 jmcneill Exp $
d5 1
a5 1
device	armfdt { }: bus_space_generic, fdt
d9 1
a9 1
attach	cpu at fdt with cpu_fdt
a52 6
device	armpmu
attach	armpmu at fdt with pmu_fdt
file	arch/arm/fdt/pmu_fdt.c			pmu_fdt
file	dev/tprof/tprof_armv7.c			pmu_fdt & arm32
file	dev/tprof/tprof_armv8.c			pmu_fdt & aarch64

@


1.15.2.3
log
@Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
@
text
@d1 1
a1 1
# $NetBSD: files.fdt,v 1.23 2018/08/17 14:21:30 skrll Exp $
d26 1
a26 4
file    arch/arm/fdt/gic_fdt.c			gic_fdt

attach	gicvthree at fdt with gicv3_fdt
file	arch/arm/fdt/gicv3_fdt.c		gicv3_fdt
d30 1
a30 1
file    arch/arm/fdt/l2cc_fdt.c			l2cc_fdt
@


1.15.2.4
log
@Ssync with HEAD
@
text
@d1 1
a1 1
# $NetBSD: files.fdt,v 1.26 2018/09/21 12:04:06 skrll Exp $
d54 1
a54 6
file	arch/arm/fdt/psci_fdt.c			psci_fdt	needs-flag

# Generic PCI host controller
device	pcihost: pcibus
attach	pcihost at fdt with pcihost_fdt
file	arch/arm/fdt/pcihost_fdt.c		pcihost_fdt
d65 2
@


1.15.2.5
log
@Sync with head
@
text
@d1 1
a1 1
# $NetBSD: files.fdt,v 1.27 2018/10/12 22:20:48 jmcneill Exp $
a69 3
device	acpifdt: acpibus
attach	acpifdt at fdt with acpi_fdt
file	arch/arm/fdt/acpi_fdt.c			acpi_fdt
@


1.15.2.6
log
@Sync with HEAD, resolve a few conflicts
@
text
@d1 1
a1 1
# $NetBSD$
d61 1
a61 1
device	armpmu: tprof
d64 2
@


1.14
log
@Add generic DT cpu frequency and voltage scaling driver.
@
text
@d1 1
a1 1
# $NetBSD: files.fdt,v 1.13 2017/08/26 15:05:48 jmcneill Exp $
d45 3
@


1.14.2.1
log
@file files.fdt was added on branch tls-maxphys on 2017-12-03 11:35:52 +0000
@
text
@d1 46
@


1.14.2.2
log
@update from HEAD
@
text
@a0 46
# $NetBSD$

include	"dev/pckbport/files.pckbport"

device	armfdt { }: bus_space_generic, fdtbus
attach	armfdt at root with arm_fdt
file	arch/arm/fdt/arm_fdt.c			arm_fdt

attach	cpu at cpus with cpu_fdt
file	arch/arm/fdt/cpu_fdt.c			cpu_fdt

device	cpufreqdt
attach	cpufreqdt at cpu with cpufreq_dt
file	dev/fdt/cpufreq_dt.c			cpufreq_dt

device	gtmr: mpcorebus
attach	gtmr at fdt with gtmr_fdt
file	arch/arm/fdt/gtmr_fdt.c			gtmr_fdt

device  gic: mpcorebus
attach  gic at fdt with gic_fdt
file    arch/arm/fdt/gic_fdt.c             	gic_fdt

attach	plcom at fdt with plcom_fdt
file	arch/arm/fdt/plcom_fdt.c		plcom_fdt

attach	plkmi at fdt with plkmi_fdt
file	arch/arm/fdt/plkmi_fdt.c		plkmi_fdt

attach	plmmc at fdt with plmmc_fdt
file	arch/arm/fdt/plmmc_fdt.c		plmmc_fdt

attach	smsh at fdt with smsh_fdt
file	arch/arm/fdt/smsh_fdt.c			smsh_fdt

attach	aaci at fdt with aaci_fdt
file	arch/arm/fdt/aaci_fdt.c			aaci_fdt

attach	plrtc at fdt with plrtc_fdt
file	arch/arm/fdt/plrtc_fdt.c		plrtc_fdt

attach	psci at fdt with psci_fdt
file	arch/arm/fdt/psci_fdt.c			psci_fdt

# Console parameters
defparam opt_fdt_arm.h				CONSADDR
@


1.13
log
@Until config supports multiple 'attach driver at bus with <foo>' lines,
move plfb from common files.fdt to files.vexpress
@
text
@d1 1
a1 1
# $NetBSD: files.fdt,v 1.12 2017/06/28 23:48:22 jmcneill Exp $
d12 4
@


1.12
log
@Add support for ARM Power State Coordination Interface (PSCI).
@
text
@d1 1
a1 1
# $NetBSD: files.fdt,v 1.11 2017/06/08 21:01:06 jmcneill Exp $
a22 3
attach	genfb at fdt with plfb_fdt: fdt_display_timing
file	arch/arm/fdt/plfb_fdt.c			plfb_fdt

@


1.11
log
@Add fdt glue for plrtc
@
text
@d1 1
a1 1
# $NetBSD: files.fdt,v 1.10 2017/06/08 10:03:59 jmcneill Exp $
d41 3
@


1.10
log
@Add fdt glue for ARM PrimeCell Advanced Audio CODEC interface (PL041).
@
text
@d1 1
a1 1
# $NetBSD: files.fdt,v 1.9 2017/06/03 17:05:23 jmcneill Exp $
d38 3
@


1.9
log
@Add and enable FDT glue for ARM PrimeCell PL050 (KMI) PS2 keyboard/mouse
interface.
@
text
@d1 1
a1 1
# $NetBSD: files.fdt,v 1.8 2017/06/03 14:50:39 jmcneill Exp $
d35 3
@


1.9.2.1
log
@Pull up following revision(s) (requested by jmcneill in ticket #17):
	sys/arch/arm/fdt/aaci_fdt.c: revision 1.1
	sys/arch/arm/fdt/files.fdt: revision 1.10
	sys/arch/evbarm/conf/VEXPRESS_A15: revisions 1.14, 1.15
	sys/conf/files: revision 1.1174
	sys/dev/ic/pl041.c: revisions 1.1-1.3
	sys/dev/ic/pl041var.h: revision 1.1
Add driver for ARM PrimeCell Advanced Audio CODEC interface (PL041).
Don't expect this driver to work on real hardware, but QEMU emulates it.
--
Add fdt glue for ARM PrimeCell Advanced Audio CODEC interface (PL041).
--
Add aaci at fdt, commented out for now. Driver should work (tm) but QEMU
and my old Thinkpad can't seem to keep up.
--
Fix two bugs:
 - Inverted test for fifo status in aaci_write_data
 - Return success from trigger_output (thanks nat)
--
Enable aaci
--
bus_space_write_multi_4 takes a count, not number of bytes. With this,
audio works in qemu.
@
text
@d1 1
a1 1
# $NetBSD: files.fdt,v 1.9 2017/06/03 17:05:23 jmcneill Exp $
a34 3
attach	aaci at fdt with aaci_fdt
file	arch/arm/fdt/aaci_fdt.c			aaci_fdt

@


1.9.2.2
log
@Pull up following revision(s) (requested by jmcneill in ticket #19):
	sys/arch/arm/fdt/files.fdt: revision 1.11
	sys/arch/arm/fdt/plrtc_fdt.c: revision 1.1
	sys/arch/evbarm/conf/VEXPRESS_A15: revision 1.16
	sys/conf/files: revision 1.1175
	sys/dev/ic/pl031.c: revision 1.1
	sys/dev/ic/pl031var.h: revision 1.1
Add driver for ARM PrimeCell PL031 (RTC) Real Time Clock.
--
Add fdt glue for plrtc
--
Add plrtc driver
@
text
@d1 1
a1 1
# $NetBSD: files.fdt,v 1.9.2.1 2017/06/09 16:59:20 snj Exp $
a37 3
attach	plrtc at fdt with plrtc_fdt
file	arch/arm/fdt/plrtc_fdt.c		plrtc_fdt

@


1.9.2.3
log
@Pull up following revision(s) (requested by jmcneill in ticket #114):
	sys/arch/arm/samsung/exynos_intr.h: revision 1.3
	sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.1
	sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.2
	sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.3
	sys/arch/arm/sunxi/sunxi_gates.c: revision 1.1
	distrib/utils/embedded/mkimage: revision 1.66
	sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.4
	sys/arch/arm/sunxi/sunxi_rsb.c: revision 1.1
	sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.5
	sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.6
	sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.7
	sys/dev/gpio/gpio.c: revision 1.59
	sys/arch/arm/sunxi/sunxi_ccu_prediv.c: revision 1.1
	sys/conf/Makefile.kern.inc: revision 1.257
	sys/arch/evbarm/conf/ODROID-XU_INSTALL: file removal
	sys/arch/arm/sunxi/sunxi_ccu_prediv.c: revision 1.2
	sys/conf/Makefile.kern.inc: revision 1.258
	sys/arch/arm/fdt/psci_fdt.h: revision 1.1
	sys/arch/arm/sunxi/sunxi_resets.c: revision 1.1
	sys/arch/evbarm/conf/files.sunxi: revision 1.1
	sys/arch/evbarm/fdt/fdt_machdep.c: revision 1.8
	sys/arch/evbarm/fdt/fdt_machdep.c: revision 1.9
	sys/arch/arm/samsung/files.exynos: revision 1.22
	distrib/utils/embedded/conf/armv7.conf: revision 1.13
	sys/arch/arm/samsung/files.exynos: revision 1.23
	sys/arch/evbarm/conf/std.tegra: revision 1.15
	distrib/utils/embedded/conf/armv7.conf: revision 1.14
	sys/arch/arm/samsung/files.exynos: revision 1.24
	distrib/utils/embedded/conf/armv7.conf: revision 1.15
	sys/arch/evbarm/sunxi/genassym.cf: revision 1.1
	sys/arch/arm/samsung/exynos_fdt.c: file removal
	sys/dev/fdt/fdt_pinctrl.c: revision 1.4
	sys/arch/arm/samsung/exynos_sysmmu.c: revision 1.2
	sys/arch/arm/sunxi/sun8i_h3_gpio.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_twi.c: revision 1.1
	sys/dev/usb/ehci.c: revision 1.255
	sys/arch/arm/sunxi/sunxi_twi.c: revision 1.2
	sys/arch/arm/sunxi/sun8i_a83t_ccu.h: revision 1.1
	sys/dev/ic/dwc_mmc.c: revision 1.11
	sys/arch/arm/cortex/gic.c: revision 1.24
	distrib/evbarm/instkernel/ramdisk/Makefile: revision 1.17
	etc/etc.evbarm/Makefile.inc: revision 1.87
	etc/etc.evbarm/Makefile.inc: revision 1.88
	sys/arch/arm/fdt/gic_fdt.c: revision 1.5
	etc/Makefile: revision 1.429
	sys/arch/arm/fdt/gic_fdt.c: revision 1.6
	sys/arch/arm/fdt/gic_fdt.c: revision 1.7
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.2
	sys/arch/evbarm/conf/std.sunxi: revision 1.1
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.3
	sys/arch/evbarm/conf/std.sunxi: revision 1.2
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.4
	sys/arch/evbarm/conf/std.sunxi: revision 1.3
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.5
	sys/arch/arm/sunxi/sunxi_ccu_div.c: revision 1.1
	sys/dev/gpio/gpiovar.h: revision 1.17
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.6
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.7
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.8
	sys/arch/arm/sunxi/sunxi_rsb.h: revision 1.1
	sys/arch/arm/samsung/exynos_i2c.c: revision 1.12
	sys/dev/fdt/fdtvar.h: revision 1.21
	sys/arch/evbarm/sunxi/sunxi_start.S: revision 1.1
	sys/arch/arm/samsung/exynos_i2c.c: revision 1.13
	sys/dev/fdt/fdtvar.h: revision 1.22
	sys/arch/evbarm/conf/SUNXI: revision 1.10
	sys/dev/fdt/fdtvar.h: revision 1.23
	sys/arch/evbarm/conf/SUNXI: revision 1.11
	sys/dev/fdt/gpioleds.c: revision 1.1
	sys/dev/fdt/fdtvar.h: revision 1.24
	sys/arch/evbarm/conf/SUNXI: revision 1.12
	sys/arch/evbarm/conf/SUNXI: revision 1.13
	sys/arch/arm/cortex/gic.c: revision 1.30
	sys/arch/evbarm/conf/SUNXI: revision 1.14
	sys/arch/evbarm/conf/SUNXI: revision 1.15
	sys/arch/evbarm/conf/SUNXI: revision 1.16
	sys/arch/arm/sunxi/sunxi_emac.c: revision 1.1
	etc/Makefile: revision 1.430
	sys/arch/arm/sunxi/sunxi_emac.c: revision 1.2
	etc/Makefile: revision 1.431
	sys/arch/evbarm/conf/VEXPRESS_A15: revision 1.17
	sys/arch/arm/sunxi/sunxi_emac.c: revision 1.3
	sys/arch/arm/sunxi/sunxi_emac.c: revision 1.4
	sys/arch/arm/samsung/exynos5422_clock.c: revision 1.6
	sys/arch/arm/samsung/exynos_platform.c: revision 1.1
	sys/dev/ofw/ofw_subr.c: revision 1.29
	sys/arch/arm/samsung/exynos_platform.c: revision 1.2
	sys/arch/evbarm/conf/mk.vexpress: revision 1.3
	sys/arch/arm/samsung/exynos_platform.c: revision 1.3
	sys/arch/evbarm/conf/mk.vexpress: revision 1.4
	sys/arch/arm/samsung/exynos_platform.c: revision 1.4
	sys/arch/arm/arm/psci.h: revision 1.1
	sys/arch/arm/samsung/exynos_platform.c: revision 1.5
	sys/arch/arm/samsung/exynos_platform.c: revision 1.6
	sys/arch/evbarm/fdt/fdt_machdep.c: revision 1.10
	external/bsd/mdocml/bin/mandoc/Makefile: revision 1.12
	sys/dev/fdt/files.fdt: revision 1.17
	sys/dev/fdt/files.fdt: revision 1.18
	sys/dev/fdt/files.fdt: revision 1.19
	sys/arch/arm/samsung/exynos_sscom.c: revision 1.8
	sys/arch/arm/sunxi/sun8i_a83t_ccu.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_mmc.c: revision 1.1
	sys/arch/arm/samsung/exynos_sscom.c: revision 1.9
	sys/arch/arm/conf/files.arm: revision 1.133
	sys/arch/arm/samsung/mct_var.h: revision 1.5
	sys/arch/arm/sunxi/sunxi_platform.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_platform.c: revision 1.2
	sys/arch/evbarm/conf/std.vexpress: revision 1.6
	sys/arch/arm/sunxi/sunxi_platform.c: revision 1.3
	sys/arch/arm/sunxi/sun6i_a31_gpio.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_platform.c: revision 1.4
	sys/arch/arm/sunxi/sun6i_a31_gpio.c: revision 1.2
	sys/arch/arm/sunxi/files.sunxi: revision 1.1
	sys/dev/ofw/ofw_subr.c: revision 1.30
	sys/arch/arm/sunxi/files.sunxi: revision 1.2
	sys/dev/ofw/openfirm.h: revision 1.35
	sys/arch/arm/sunxi/files.sunxi: revision 1.3
	sys/dev/ofw/openfirm.h: revision 1.36
	sys/arch/arm/sunxi/files.sunxi: revision 1.4
	sys/arch/arm/sunxi/files.sunxi: revision 1.5
	sys/arch/evbarm/exynos/exynos_machdep.c: file removal
	sys/arch/arm/sunxi/sunxi_gpio.h: revision 1.1
	sys/arch/arm/samsung/sscom.c: revision 1.9
	sys/arch/arm/sunxi/files.sunxi: revision 1.6
	sys/dev/fdt/ohci_fdt.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_usbphy.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_gpio.h: revision 1.2
	sys/arch/arm/sunxi/files.sunxi: revision 1.7
	sys/arch/arm/sunxi/sunxi_usbphy.c: revision 1.2
	sys/arch/arm/sunxi/sunxi_gpio.h: revision 1.3
	sys/arch/arm/sunxi/files.sunxi: revision 1.8
	sys/arch/arm/sunxi/sunxi_usbphy.c: revision 1.3
	sys/arch/arm/sunxi/files.sunxi: revision 1.9
	sys/arch/arm/samsung/exynos_sscom.c: revision 1.10
	sys/arch/evbarm/conf/mk.tegra: revision 1.5
	sys/arch/arm/samsung/exynos_dwcmmc.c: revision 1.4
	sys/arch/evbarm/conf/mk.tegra: revision 1.6
	sys/arch/evbarm/conf/EXYNOS: revision 1.15
	sys/arch/evbarm/conf/EXYNOS: revision 1.16
	sys/arch/evbarm/conf/EXYNOS: revision 1.17
	sys/arch/arm/sunxi/sunxi_ccu.c: revision 1.1
	sys/arch/evbarm/conf/EXYNOS: revision 1.19
	sys/arch/arm/sunxi/sunxi_ccu.c: revision 1.2
	sys/arch/arm/sunxi/sunxi_ccu.c: revision 1.3
	sys/arch/arm/sunxi/sunxi_ccu.c: revision 1.4
	sys/arch/arm/sunxi/sunxi_ccu.c: revision 1.5
	sys/arch/arm/sunxi/sunxi_emac.h: revision 1.1
	sys/arch/evbarm/conf/mk.sunxi: revision 1.1
	sys/arch/evbarm/include/bootconfig.h: revision 1.7
	sys/arch/evbarm/conf/TEGRA: revision 1.24
	sys/arch/arm/arm/psci.c: revision 1.1
	sys/dev/led.c: revision 1.1
	sys/dev/led.c: revision 1.2
	sys/arch/arm/arm/psci_arm.S: revision 1.1
	sys/arch/arm/sunxi/sunxi_ccu_gate.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_ccu_gate.c: revision 1.2
	sys/dev/fdt/ehci_fdt.c: revision 1.1
	sys/dev/fdt/ehci_fdt.c: revision 1.2
	sys/arch/arm/sunxi/sun6i_a31_ccu.h: revision 1.1
	sys/arch/evbarm/conf/EXYNOS: revision 1.21
	sys/arch/arm/sunxi/files.sunxi: revision 1.10
	sys/arch/arm/sunxi/files.sunxi: revision 1.11
	sys/dev/fdt/fdtbus.c: revision 1.14
	sys/arch/arm/sunxi/sunxi_mmc.h: revision 1.1
	sys/arch/arm/samsung/exynos5422_dma.c: file removal
	usr.bin/config/mkmakefile.c: revision 1.69
	sys/conf/files: revision 1.1178
	sys/arch/arm/sunxi/sunxi_platform.h: revision 1.1
	sys/arch/evbarm/exynos/exynos_start.S: revision 1.4
	sys/arch/arm/samsung/exynos_pinctrl.c: revision 1.11
	sys/arch/arm/samsung/exynos_pinctrl.c: revision 1.12
	sys/arch/arm/sunxi/sunxi_rtc.c: revision 1.1
	sys/arch/arm/sunxi/sun8i_h3_ccu.h: revision 1.1
	sys/arch/arm/samsung/exynos5410_clock.c: revision 1.1
	sys/arch/arm/samsung/exynos5410_clock.c: revision 1.2
	sys/arch/evbarm/conf/SUNXI: revision 1.1
	external/bsd/elftosb/usr.sbin/elftosb/Makefile: revision 1.5
	sys/arch/evbarm/conf/SUNXI: revision 1.2
	sys/arch/arm/fdt/psci_fdt.c: revision 1.1
	sys/arch/evbarm/conf/SUNXI: revision 1.3
	sys/arch/evbarm/conf/SUNXI: revision 1.4
	sys/arch/evbarm/conf/files.exynos: revision 1.3
	sys/arch/evbarm/conf/SUNXI: revision 1.5
	sys/arch/evbarm/conf/SUNXI: revision 1.6
	sys/arch/arm/sunxi/sunxi_ccu_nm.c: revision 1.1
	sys/dev/fdt/fixedfactorclock.c: revision 1.1
	sys/dev/fdt/fdt_subr.c: revision 1.14
	sys/arch/evbarm/conf/SUNXI: revision 1.7
	sys/arch/arm/sunxi/sunxi_ccu_nm.c: revision 1.2
	sys/arch/arm/sunxi/sun8i_a83t_gpio.c: revision 1.1
	sys/dev/fdt/fdt_subr.c: revision 1.15
	sys/arch/evbarm/conf/SUNXI: revision 1.8
	sys/arch/arm/sunxi/sunxi_ccu_nm.c: revision 1.3
	sys/dev/ic/dwc_mmc_reg.h: revision 1.6
	sys/dev/fdt/fdt_subr.c: revision 1.16
	sys/arch/evbarm/conf/SUNXI: revision 1.9
	usr.bin/config/mkmakefile.c: revision 1.70
	sys/dev/fdt/fdt_phy.c: revision 1.1
	sys/arch/evbarm/conf/ODROID-XU: file removal
	sys/arch/arm/fdt/arm_fdt.c: revision 1.4
	sys/arch/arm/samsung/exynos_reg.h: revision 1.14
	sys/conf/files: revision 1.1180
	sys/arch/arm/samsung/exynos_reg.h: revision 1.15
	sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.1
	sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.2
	sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.3
	sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.4
	sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.5
	sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.6
	sys/dev/ic/dwc_mmc_var.h: revision 1.6
	sys/arch/arm/samsung/exynos_combiner.c: revision 1.7
	sys/arch/evbarm/exynos/platform.h: revision 1.2
	sys/arch/arm/fdt/files.fdt: revision 1.12
	sys/arch/evbarm/conf/std.exynos: revision 1.2
	sys/arch/evbarm/conf/std.exynos: revision 1.3
	sys/arch/arm/rockchip/rockchip_dwcmmc.c: revision 1.6
	sys/arch/arm/sunxi/sunxi_com.c: revision 1.1
	sys/dev/led.h: revision 1.1
	sys/arch/evbarm/conf/std.exynos: revision 1.5
	sys/arch/arm/sunxi/sunxi_com.c: revision 1.2
	sys/arch/evbarm/conf/files.evbarm: revision 1.26
	usr.bin/config/defs.h: revision 1.99
	sys/arch/arm/fdt/arm_fdtvar.h: revision 1.6
	sys/arch/arm/samsung/exynos_soc.c: revision 1.32
	sys/arch/arm/sunxi/sun6i_a31_ccu.c: revision 1.1
	sys/arch/arm/sunxi/sun6i_a31_ccu.c: revision 1.2
	sys/arch/arm/samsung/mct.c: revision 1.11
	sys/arch/evbarm/conf/ODROID-U: file removal
	sys/arch/arm/samsung/mct.c: revision 1.12
	sys/arch/arm/sunxi/sunxi_ccu_nkmp.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_ccu_nkmp.c: revision 1.2
	sys/arch/arm/sunxi/sunxi_ccu_nkmp.c: revision 1.3
	sys/arch/arm/sunxi/sunxi_ccu_nkmp.c: revision 1.4
Get the EXYNOS kernel building again with recent FDT changes. Untested.
Use arm_fdt_cpu_hatch and add mmu entry for DTB
Fix exynos5 devmap, bootstrap, and implement early_putchar.
Calculate UART frequency based on bootloader config.
Fix KERNEL_BASE_PHYS (how did this ever work?)
Avoid divide-by-zero for unconfigured PLLs
Correctly initialize i2cbus attach args.
Add delay and enable mct timecounter.
Fix build w/o VERBOSE_INIT_ARM
Remove ODROID-U and ODROID-XU kernel configs as they no longer work.
- Replace CONSADDR with SSCOM2CONSOLE in example
- Remove gtmr (Exynos5422 uses mct)
- cinclude EXYNOS.local instead of TEGRA.local
Use fdtbus_intr_establish to hook in block interrupts instead of
intr_establish.
Simplify MCT; just enable it and then attach an ARMv7 generic timer.
Add support for building DTB files during kernel build, from christos.
build vexpress-v2p-ca15-tc1.dtb with the kernel
build tegra124-apalis-eval.dtb, tegra124-jetson-tk1.dtb, tegra124-nyan-big.dtb, tegra124-nyan-blaze.dtb, and tegra124-venice2.dtb with the kernel
Allow multiline makeoptions to work by quoting the newline..
Bump for quoting makeoptions with multiple lines.
un-c99
bump required config version for multiline makeoptions feature
Set DTS makeoption in kernel config
Assign DTB files to a variable so we can make -V DTB
put the dtb files with their kernels.
no need for debug printing.
Don't assume that CPU index = GIC CPU interface number. We can determine
the current CPU interface number by reading from the read-only
GICD_ITARGETSR0 through GICD_ITARGETSR7 registers.
This gets interrupts working on Exynos 5422, where the boot processor has
GIC CPU interface #4.
use -v to get the expanded variable.
Use -v to get the expanded variables.
Get baud rate from sclk_uartN instead of uartN. Print IRQ number at attach.
Fix PLL con0 register locations and add uart clocks
Disable exyortc for now, it doesn't work.
More or less a rewrite of dwc_mmc, based on awin_mmc, adding DMA support.
Update for new dwc_mmc driver
Fix dmesg
Add Exynos 5410 clock controller driver.
Fix a few typos in clock parent names for mmc clocks.
From jmcneill@@
Update for new dwc_mmc driver
Implement platform reset for exynos5
Attach fdtbus to a /clocks node with no compatible string.
Add support for ARM Power State Coordination Interface (PSCI).
Support interrupt sharing.
Add initial support for Allwinner H3 SoC.
ARM Trusted Firmware reserves SGIs 8-15 for secure use. Even without ATF,
U-Boot on some platforms may use SGIs in this range for the PSCI
implementation.
Change ARMGIC_IPI_BASE to 0 from (16 - NIPI) and add a compile-time assert
to ensure that we don't end up with a conflict.
Add H3 MMC support
SD/MMC clock fixes
Add FDT PHY interface.
Add glue for generic ehci/ohci bindings.
Rename a variable, NFC.
Support parents in different clock domains.
Add USB stuff. Doesn't quite work yet.
Synopsys DesignWare APB UART needs "options COM_AWIN" for now.
Add i2c glue.
Add RTC driver.
PHY registers start at index 1. Now USB works.
Don't allow sharing edge and level triggered interrupts.
Add arm_fdt_memory_dump helper for dumping physical addresses from ddb
Print clocks with aprint_debug
Remove unused defines
Add fdtbus_get_string helper
Add of_search_compatible, which searches an array of compat_data structures
for a matching "compatible" entry matching the supplied OFW node. This
allows us to associate data with compatible strings.
Add driver for Allwinner Gigabit Ethernet (EMAC) as found in sun8i and
later family SoCs.
This is a port of my FreeBSD driver which has been confirmed to work on
Allwinner H3, A83T, and A64 SoCs.
Fix dmesg
Add basic support for Allwinner A31.
Add basic FDT GPIO support.
Fix the pinctrl api to match the spec. A pinctrl config can have more
than one xref, and an xref may have specifier data associated with it.
Enable sunxi pinctrl support
Adjust to new pinctrl API
Add P2WI/RSB driver, based on awin_p2wi.c.
Fix typo in a compat string.
Configure pin defaults at attach
No need to explicitly set pinctrl config 0 now
Fix some register definitions.
Disallow sharing between MPSAFE and non-MPSAFE handlers.
Add of_match_compat_data.
This routine searches an array of compat_data structures for a
matching "compatible" entry matching the supplied OFW node.
Add options __HAVE_CPU_UAREA_ALLOC_IDLELWP
Add support for reserved memory and MEMORY_DISK_DYNAMIC for FDT-based
kernels.
the extent code cannot use the full range of u_long,
so ignore the last page before 4GB too.  ok jmcneill@@
Copy install ramdisk to releasedir. Provide both a raw ffs and
Legacy U-Boot version of it.
Replace HUMMINGBIRD_A31 with SUNXI kernel on armv7.img and include .dtb
files for SUNXI and TEGRA kernels on the MSDOS partition.
Let the controller provide a default name for pins. This makes pins easier
to locate when we have multiple banks and a variable number of pins per
bank.
Attach gpio(4) to sunxigpio
Test for kernel build directory before reading DTB list
Add support for Allwinner A83T SoC.
Add A83T files
Fixup busdma sync and locking in the RX path. Disable batch RX/TX ints.
Fix AHB2 register definition and explicitly set AHB2 parent to PLL_PERIPH0/2 -- this gives us 50% more bus bandwidth for emac
Restore TX_INTERVAL_DEFAULT to 64
Drop the sunxi_emac_rx_batch feature. It was originally designed to
reduce the amount of mutex unlock/lock cycles during the RX path on
FreeBSD and if_input, but it is not required to drop the lock before
calling if_percpuq_enqueue on NetBSD.
Write back the data value instead of mask in sunxi_gpio_write
Add a helper for exposing LED controls via sysctl.
Add GPIO LED driver.
add gpioleds
Add misc. gates and resets driver, and explicitly enable PIO clocks
at attach.
Add fdtbus_get_string_index helper.
Add driver for fixed-factor clocks.
Add ffclock
Remove the requirement for ehci to attach after companion devices.
"go for it" - skrll@@
Remove the hack to find companion devices and just assume 1 companion if
ETTF flag is not set.
Remove pass numbers for ehci/ohci now that the attach order no longer matters
Use unsigned char for ctype functions, suggested by christos
Add : to body of populate_sunxi to appease bash.
port-evbarm/52388: Fix number of args to a debug printf.
@
text
@d1 1
a1 1
# $NetBSD: files.fdt,v 1.9.2.2 2017/06/10 05:57:08 snj Exp $
a40 3
attach	psci at fdt with psci_fdt
file	arch/arm/fdt/psci_fdt.c			psci_fdt

@


1.8
log
@Add driver for ARM PrimeCell Color LCD controller (PL111).
@
text
@d1 3
a3 1
# $NetBSD: files.fdt,v 1.7 2017/06/02 14:30:58 jmcneill Exp $
d26 3
@


1.7
log
@Add fdt glue for ARM PrimeCell UART (PL011).
@
text
@d1 1
a1 1
# $NetBSD: files.fdt,v 1.6 2017/06/02 11:04:01 jmcneill Exp $
d21 3
@


1.6
log
@Add fdt glue for ARM PrimeCell Multimedia Card Interface (MMCI).
@
text
@d1 1
a1 1
# $NetBSD: files.fdt,v 1.5 2017/06/02 10:46:07 jmcneill Exp $
d18 3
@


1.5
log
@Add fdt glue for SMSC LAN9118 ethernet.
@
text
@d1 1
a1 1
# $NetBSD: files.fdt,v 1.4 2017/05/30 22:55:26 jmcneill Exp $
d18 3
@


1.4
log
@Fix VERBOSE_INIT_ARM build with TEGRA kernel.
@
text
@d1 1
a1 1
# $NetBSD: files.fdt,v 1.3 2017/05/29 23:21:12 jmcneill Exp $
d18 3
@


1.3
log
@Rename armv7fdt to armfdt now that bus space + dma tags are filled in by
platform code.
@
text
@d1 1
a1 1
# $NetBSD: files.fdt,v 1.2 2017/05/28 00:40:20 jmcneill Exp $
d17 3
@


1.2
log
@Enumerate CPUs, GIC, and generic timer using FDT data instead of relying
on hard-coded tables in mainbus.
@
text
@d1 1
a1 1
# $NetBSD: files.fdt,v 1.1 2015/12/13 17:45:37 jmcneill Exp $
d3 3
a5 3
device	armv7fdt { }: bus_space_generic, fdtbus
attach	armv7fdt at root with armv7_fdt
file	arch/arm/fdt/armv7_fdt.c		armv7_fdt
@


1.1
log
@fdt glue for gic
@
text
@d1 1
a1 1
# $NetBSD$
d3 12
a14 1
device  gic
@


1.1.2.1
log
@file files.fdt was added on branch nick-nhusb on 2015-12-27 12:09:30 +0000
@
text
@d1 5
@


1.1.2.2
log
@Sync with HEAD (as of 26th Dec)
@
text
@a0 5
# $NetBSD: files.fdt,v 1.1 2015/12/13 17:45:37 jmcneill Exp $

device  gic
attach  gic at fdt with gic_fdt
file    arch/arm/fdt/gic_fdt.c             	gic_fdt
@


1.1.2.3
log
@Sync with HEAD
@
text
@d1 1
a1 1
# $NetBSD: files.fdt,v 1.1.2.2 2015/12/27 12:09:30 skrll Exp $
d3 1
a3 14
include	"dev/pckbport/files.pckbport"

device	armfdt { }: bus_space_generic, fdtbus
attach	armfdt at root with arm_fdt
file	arch/arm/fdt/arm_fdt.c			arm_fdt

attach	cpu at cpus with cpu_fdt
file	arch/arm/fdt/cpu_fdt.c			cpu_fdt

device	gtmr: mpcorebus
attach	gtmr at fdt with gtmr_fdt
file	arch/arm/fdt/gtmr_fdt.c			gtmr_fdt

device  gic: mpcorebus
a5 27

attach	plcom at fdt with plcom_fdt
file	arch/arm/fdt/plcom_fdt.c		plcom_fdt

attach	genfb at fdt with plfb_fdt: fdt_display_timing
file	arch/arm/fdt/plfb_fdt.c			plfb_fdt

attach	plkmi at fdt with plkmi_fdt
file	arch/arm/fdt/plkmi_fdt.c		plkmi_fdt

attach	plmmc at fdt with plmmc_fdt
file	arch/arm/fdt/plmmc_fdt.c		plmmc_fdt

attach	smsh at fdt with smsh_fdt
file	arch/arm/fdt/smsh_fdt.c			smsh_fdt

attach	aaci at fdt with aaci_fdt
file	arch/arm/fdt/aaci_fdt.c			aaci_fdt

attach	plrtc at fdt with plrtc_fdt
file	arch/arm/fdt/plrtc_fdt.c		plrtc_fdt

attach	psci at fdt with psci_fdt
file	arch/arm/fdt/psci_fdt.c			psci_fdt

# Console parameters
defparam opt_fdt_arm.h				CONSADDR
@


