summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas <noltari@gmail.com>2018-02-04 21:10:19 +0100
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2018-03-21 23:23:13 +0100
commitddc5dc5a1b2a025a612adf17e81126a5ad832476 (patch)
treeeacbd8a5061e5abc9b0882b7841aa78ba3f59c7a
parentad7f6ed41e725a272804cf79d7045c70fb63eed7 (diff)
downloadu-boot-ddc5dc5a1b2a025a612adf17e81126a5ad832476.tar.gz
u-boot-ddc5dc5a1b2a025a612adf17e81126a5ad832476.tar.bz2
u-boot-ddc5dc5a1b2a025a612adf17e81126a5ad832476.zip
mips: bmips: add dgnd3700v2 usb support
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
-rw-r--r--arch/mips/dts/netgear,dgnd3700v2.dts12
-rw-r--r--configs/netgear_dgnd3700v2_ram_defconfig9
2 files changed, 21 insertions, 0 deletions
diff --git a/arch/mips/dts/netgear,dgnd3700v2.dts b/arch/mips/dts/netgear,dgnd3700v2.dts
index 9792e06ed3..8dc7d7ec32 100644
--- a/arch/mips/dts/netgear,dgnd3700v2.dts
+++ b/arch/mips/dts/netgear,dgnd3700v2.dts
@@ -40,6 +40,10 @@
};
};
+&ehci {
+ status = "okay";
+};
+
&gpio0 {
status = "okay";
};
@@ -115,7 +119,15 @@
};
};
+&ohci {
+ status = "okay";
+};
+
&uart0 {
u-boot,dm-pre-reloc;
status = "okay";
};
+
+&usbh {
+ status = "okay";
+};
diff --git a/configs/netgear_dgnd3700v2_ram_defconfig b/configs/netgear_dgnd3700v2_ram_defconfig
index 7cb37b398e..496833683d 100644
--- a/configs/netgear_dgnd3700v2_ram_defconfig
+++ b/configs/netgear_dgnd3700v2_ram_defconfig
@@ -26,6 +26,7 @@ CONFIG_CMD_LICENSE=y
CONFIG_CMD_MEMINFO=y
# CONFIG_CMD_FLASH is not set
# CONFIG_CMD_LOADS is not set
+CONFIG_CMD_USB=y
# CONFIG_CMD_NET is not set
# CONFIG_CMD_NFS is not set
# CONFIG_CMD_MISC is not set
@@ -37,6 +38,8 @@ CONFIG_LED=y
CONFIG_LED_BCM6328=y
CONFIG_LED_BLINK=y
CONFIG_LED_GPIO=y
+CONFIG_PHY=y
+CONFIG_BCM6368_USBH_PHY=y
CONFIG_POWER_DOMAIN=y
CONFIG_BCM6328_POWER_DOMAIN=y
CONFIG_DM_RESET=y
@@ -44,3 +47,9 @@ CONFIG_RESET_BCM6345=y
# CONFIG_SPL_SERIAL_PRESENT is not set
CONFIG_DM_SERIAL=y
CONFIG_BCM6345_SERIAL=y
+CONFIG_USB=y
+CONFIG_DM_USB=y
+CONFIG_USB_EHCI_HCD=y
+CONFIG_USB_EHCI_GENERIC=y
+CONFIG_USB_OHCI_HCD=y
+CONFIG_USB_OHCI_GENERIC=y