HardenedBSD/sys/arm/allwinner
Emmanuel Vadot 36dcd6a499 Allwinner usb phy: Rework resource allocation
The usbphy node for allwinner have two kind of resources, one for the
phy_ctrl and one per phy. Instead of blindy allocating resources, alloc
the phy_ctrl and pmu ones separately.
Also add a configuration struct for all different phy that hold the difference
between them (number of phys, unknow needed register write etc ...).

While here remove A83T code as upstream and FreeBSD dts don't have
nodes for USB.

This (plus 323640) re-enable OHCI on Pine64 on the bottom USB port.
The top USB port is routed to the OHCI0/EHCI0 which is by default in OTG mode.
While the phy code can handle the re-route to standard OHCI/EHCI we still need
a driver for musb to probe and configure it in host mode.

EHCI is still buggy on Pine64 (hang the board) so do not enable it for now.

Tested On:	Bananapi (A20), BananapiM2 (A31S), OrangePi One (H3) Pine64 (A64)
2017-09-16 15:58:20 +00:00
..
a10
a13
a20
a31
a33
a64
a83t
clk
clkng A64 CCUNG: Correct gate and reset for OHCI0/1 2017-09-16 15:50:31 +00:00
h3
a10_ahci.c
a10_codec.c
a10_dmac.c
a10_dmac.h
a10_ehci.c
a10_fb.c
a10_gpio.c Allwinner: a10_gpio Fix panic on multiple lock 2017-09-16 14:08:20 +00:00
a10_gpio.h
a10_hdmi.c
a10_hdmiaudio.c
a10_mmc.c
a10_mmc.h
a10_sramc.c
a10_sramc.h
a10_timer.c
a31_dmac.c
allwinner_pinctrl.h
aw_ccu.c
aw_cir.c
aw_console.c
aw_if_dwc.c
aw_machdep.c
aw_machdep.h
aw_mp.c
aw_mp.h
aw_nmi.c
aw_reset.c
aw_rsb.c
aw_rtc.c
aw_sid.c
aw_sid.h
aw_thermal.c
aw_ts.c
aw_usbphy.c Allwinner usb phy: Rework resource allocation 2017-09-16 15:58:20 +00:00
aw_wdog.c
aw_wdog.h
axp81x.c
axp209.c
axp209reg.h
files.allwinner
files.allwinner_up
if_awg.c
if_awgreg.h
if_emac.c
if_emacreg.h
std.allwinner
std.allwinner_up
sunxi_dma_if.m