From patchwork Wed Jan 1 23:44:45 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andre Przywara X-Patchwork-Id: 239049 List-Id: U-Boot discussion From: andre.przywara at arm.com (Andre Przywara) Date: Wed, 1 Jan 2020 23:44:45 +0000 Subject: [PATCH 0/4] sunxi: R40: Enable USB and Ethernet Message-ID: <20200101234449.26514-1-andre.przywara@arm.com> This series enables the USB ports on boards with the Allwinner R40 SoC, also updates the Bananapi M2 Berry board support. Patch 1/4 updates the M2 Berry .dts file, so that we get the USB and Ethernet nodes that we need to enable Ethernet in patch 2/4. Patch 3/4 adds support for the USB PHY in the R40 SoC, so that the final patch can enable USB for the two R40 boards that U-Boot supports. Tested on the Bananapi M2 Berry. I don't have the M2 Ultra, but USB should work there with this series too. Ethernet was already enabled. Cheers, Andre. Andre Przywara (4): sunxi: dts: R40: Update Bananapi M2 Berry .dts sunxi: defconfig: Bananapi M2 Berry: enable Ethernet phy: sun4i-usb: Add Allwinner R40 support sunxi: defconfig: R40 boards: enable USB arch/arm/dts/sun8i-v40-bananapi-m2-berry.dts | 135 ++++++++++++++++++++++++--- arch/arm/mach-sunxi/Kconfig | 1 + configs/Bananapi_M2_Ultra_defconfig | 4 + configs/bananapi_m2_berry_defconfig | 6 ++ drivers/phy/allwinner/phy-sun4i-usb.c | 12 +++ 5 files changed, 143 insertions(+), 15 deletions(-)