]> git.dujemihanovic.xyz Git - u-boot.git/commit
sunxi: A64: enable USB support
authorAmit Singh Tomar <amittomer25@gmail.com>
Fri, 21 Oct 2016 01:24:30 +0000 (02:24 +0100)
committerHans de Goede <hdegoede@redhat.com>
Sun, 30 Oct 2016 10:38:04 +0000 (11:38 +0100)
commit9d6c9d988f0cd2fae095f1c76dc6b786a890108b
treefc40b43b090e958863d274bed5c5da8b06e79aeb
parent06de0701302488b4ac08f6e6d7bb9b8fcc92f5c2
sunxi: A64: enable USB support

Mostly by adding MACH_SUN50I to some existing #ifdefs enable support
for the the HCI0 USB host controller on the A64.
Fix up some minor 64-bit hiccups on the way.
Add the bare minimum DT bits to the A64 .dtsi and enable the controllers
and the PHY on the Pine64.
This is limited to the first USB controller at the moment, which is
connected to the lower USB socket on the Pine64 board.
[Andre: remove unneeded defines, enable OHCI, add commit message]

Signed-off-by: Amit Singh Tomar <amittomer25@gmail.com>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
arch/arm/dts/sun50i-a64-pine64-common.dtsi
arch/arm/dts/sun50i-a64.dtsi
arch/arm/include/asm/arch-sunxi/cpu_sun4i.h
arch/arm/mach-sunxi/usb_phy.c
configs/pine64_plus_defconfig
drivers/usb/host/ehci-sunxi.c
drivers/usb/host/ohci-sunxi.c
include/configs/sun50i.h