Dynamically attach tiiic using the FDT.
authorjsg <jsg@openbsd.org>
Sun, 26 Jun 2016 07:25:05 +0000 (07:25 +0000)
committerjsg <jsg@openbsd.org>
Sun, 26 Jun 2016 07:25:05 +0000 (07:25 +0000)
commitb8746ecc91c1c70018f67d0d661646271ebb559b
tree277f6b2572c2067831f1f64fce9bbcac7d2d2d77
parent1c440cd0eb8d330100fab91c4cddbff9226d1a16
Dynamically attach tiiic using the FDT.

Only match on omap4 compatible controllers such as the one in the
am335x on bbb.  omap3 has different register offsets and a different
compatible string.

This reuses kettenis' fdt i2c scan function from imxiic(4).
sys/arch/armv7/conf/GENERIC
sys/arch/armv7/conf/RAMDISK
sys/arch/armv7/omap/files.omap
sys/arch/armv7/omap/omap.c
sys/arch/armv7/omap/ti_iic.c