Get dwc2 working on octeon.
authorjmatthew <jmatthew@openbsd.org>
Sun, 26 Apr 2015 12:24:03 +0000 (12:24 +0000)
committerjmatthew <jmatthew@openbsd.org>
Sun, 26 Apr 2015 12:24:03 +0000 (12:24 +0000)
commit489a03d0385a1e10eec927d5c8c22be71c88cb92
tree7ba6f561274f753b18f67eb33e9d815c66f08719
parentb04c4e3952cf233d8fe31297075e4a4cc2e1bc93
Get dwc2 working on octeon.
- transplant the clock setup code from octhci
- add a bus space tag to deal with dwc2 using little endian addressing
- bump up the rx fifo size, necessary for umass/sd to work

tested on an edgerouter lite, which can almost boot by itself now
ok uebayasi@ (various parts), miod@ (bus space bits)
sys/arch/octeon/dev/iobusvar.h
sys/arch/octeon/dev/octdwctwo.c
sys/arch/octeon/dev/octeon_iobus.c