]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mips: bmips: add wap-5813n usb support
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Sun, 4 Feb 2018 20:10:15 +0000 (21:10 +0100)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Wed, 21 Mar 2018 22:23:13 +0000 (23:23 +0100)
Signed-off-by: Ã\81lvaro Fernández Rojas <noltari@gmail.com>
arch/mips/dts/comtrend,wap-5813n.dts
configs/comtrend_wap5813n_ram_defconfig

index 29386e2662e5f02cb23061f28d98ff495bb9c625..f1f5430b42292b816ee32dde6f2169731e7b9190 100644 (file)
        };
 };
 
+&ehci {
+       status = "okay";
+};
+
 &gpio0 {
        status = "okay";
 };
 
+&ohci {
+       status = "okay";
+};
+
 &pflash {
        status = "okay";
 };
@@ -63,3 +71,7 @@
        u-boot,dm-pre-reloc;
        status = "okay";
 };
+
+&usbh {
+       status = "okay";
+};
index b73128b5a022b9644d724203ee8f6f5d33724635..a9c00e9122e66ce5f1c7c672961f9b7f569e452b 100644 (file)
@@ -24,6 +24,7 @@ CONFIG_CMD_LICENSE=y
 # CONFIG_CMD_CRC32 is not set
 CONFIG_CMD_MEMINFO=y
 # CONFIG_CMD_LOADS is not set
+CONFIG_CMD_USB=y
 # CONFIG_CMD_MISC is not set
 CONFIG_OF_EMBED=y
 # CONFIG_NET is not set
@@ -35,8 +36,16 @@ CONFIG_LED_GPIO=y
 CONFIG_MTD=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_CFI_FLASH=y
+CONFIG_PHY=y
+CONFIG_BCM6368_USBH_PHY=y
 CONFIG_DM_RESET=y
 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