mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 14:37:57 +00:00
7a58972680
The current uboot default config for the A13 SOM erroneously enables support for the AXP209 power regulator IC which is not present on the board. This superfluous support module sets an incorrect initial clock frequency and confuses the kernel, ultimately leading to a boot failure later on. Properly disable the PMIC support and enable the EHCI support by translating the deprecated SYS_EXTRA_OPTIONS values into proper SUNXI_NO_PMIC and USB_EHCI_HCD symbols respectively. Also rename 002-add-olimex-a13-som.diff to 002-add-olimex-a13-som.patch and refresh the remaining patches of the series while we're at it. Reported-by: Mario Fischer <mario-fischer@web.de> Signed-off-by: Jo-Philipp Wich <jo@mein.io>
32 lines
1021 B
Diff
32 lines
1021 B
Diff
From ce0d0926758f631fdd655d438acd32d5935d43a4 Mon Sep 17 00:00:00 2001
|
|
From: Hans de Goede <hdegoede@redhat.com>
|
|
Date: Fri, 18 Mar 2016 08:45:21 +0100
|
|
Subject: [PATCH] sunxi: Specify USB vbus pins for orangepi boards
|
|
|
|
This fixes the USB ports not working on the orangepi_plus and stops us
|
|
from messing with gpio-s which we should not touch on the orangepi_pc.
|
|
|
|
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
|
|
Acked-by: Ian Campbell <ijc@hellion.org.uk>
|
|
---
|
|
configs/orangepi_pc_defconfig | 3 +++
|
|
configs/orangepi_plus_defconfig | 1 +
|
|
2 files changed, 4 insertions(+)
|
|
|
|
--- a/configs/orangepi_pc_defconfig
|
|
+++ b/configs/orangepi_pc_defconfig
|
|
@@ -14,3 +14,6 @@ CONFIG_SPL=y
|
|
CONFIG_CMD_GPIO=y
|
|
CONFIG_SY8106A_POWER=y
|
|
CONFIG_USB_EHCI_HCD=y
|
|
+CONFIG_USB1_VBUS_PIN=""
|
|
+CONFIG_USB2_VBUS_PIN=""
|
|
+CONFIG_USB3_VBUS_PIN=""
|
|
--- a/configs/orangepi_plus_defconfig
|
|
+++ b/configs/orangepi_plus_defconfig
|
|
@@ -14,3 +14,4 @@ CONFIG_SPL=y
|
|
CONFIG_CMD_GPIO=y
|
|
CONFIG_SY8106A_POWER=y
|
|
CONFIG_USB_EHCI_HCD=y
|
|
+CONFIG_USB1_VBUS_PIN="PG13"
|