mips: bmips: add hg556a usb support
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Sun, 4 Feb 2018 10:19:13 +0000 (11:19 +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/huawei,hg556a.dts
configs/huawei_hg556a_ram_defconfig

index 31c7d7e..a1e9c15 100644 (file)
        };
 };
 
+&ehci {
+       status = "okay";
+};
+
 &gpio0 {
        status = "okay";
 };
 
+&ohci {
+       status = "okay";
+};
+
 &pflash {
        status = "okay";
 };
        u-boot,dm-pre-reloc;
        status = "okay";
 };
+
+&usbh {
+       status = "okay";
+};
index 508d323..4a13de4 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_BCM6358_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