mips: bmips: add ct-5361 usb support
authorÁlvaro Fernández Rojas <noltari@gmail.com>
Sun, 4 Feb 2018 10:18:26 +0000 (11:18 +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,ct-5361.dts
configs/comtrend_ct5361_ram_defconfig

index c909a528a976c2853e61b2160856f3a21a600e92..74dc09046ce432ec19de62d5436b651a1ec11e95 100644 (file)
        status = "okay";
 };
 
+&ohci {
+       status = "okay";
+};
+
 &pflash {
        status = "okay";
 };
@@ -47,3 +51,7 @@
        u-boot,dm-pre-reloc;
        status = "okay";
 };
+
+&usbh {
+       status = "okay";
+};
index ea6036166e903ce2523d7b74c93a9c8364392050..708dcda3ddd11f0013937c596e77e60433e31183 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,9 +36,15 @@ CONFIG_LED_GPIO=y
 CONFIG_MTD=y
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_CFI_FLASH=y
+CONFIG_PHY=y
+CONFIG_BCM6348_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_OHCI_HCD=y
+CONFIG_USB_OHCI_GENERIC=y
 CONFIG_WDT_BCM6345=y