From: Álvaro Fernández Rojas Date: Sun, 4 Feb 2018 20:11:17 +0000 (+0100) Subject: mips: bmips: add ar-5315 usb support X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=358daa5b22f27d0e130ad1eb159b8b2c3c9e1011;p=u-boot.git mips: bmips: add ar-5315 usb support Signed-off-by: Álvaro Fernández Rojas --- diff --git a/arch/mips/dts/comtrend,ar-5315u.dts b/arch/mips/dts/comtrend,ar-5315u.dts index 4e4d69b638..af3159a03a 100644 --- a/arch/mips/dts/comtrend,ar-5315u.dts +++ b/arch/mips/dts/comtrend,ar-5315u.dts @@ -21,6 +21,10 @@ }; }; +&ehci { + status = "okay"; +}; + &leds { status = "okay"; @@ -67,6 +71,10 @@ }; }; +&ohci { + status = "okay"; +}; + &spi { status = "okay"; @@ -83,3 +91,7 @@ u-boot,dm-pre-reloc; status = "okay"; }; + +&usbh { + status = "okay"; +}; diff --git a/configs/comtrend_ar5315u_ram_defconfig b/configs/comtrend_ar5315u_ram_defconfig index a0ba7ac046..6b2c3555fe 100644 --- a/configs/comtrend_ar5315u_ram_defconfig +++ b/configs/comtrend_ar5315u_ram_defconfig @@ -27,6 +27,7 @@ CONFIG_CMD_MEMINFO=y # CONFIG_CMD_LOADS is not set CONFIG_CMD_SF=y CONFIG_CMD_SPI=y +CONFIG_CMD_USB=y # CONFIG_CMD_MISC is not set CONFIG_OF_EMBED=y # CONFIG_NET is not set @@ -39,7 +40,8 @@ CONFIG_DM_SPI_FLASH=y CONFIG_SPI_FLASH=y CONFIG_SPI_FLASH_WINBOND=y CONFIG_SPI_FLASH_MTD=y -CONFIG_POWER_DOMAIN=y +CONFIG_PHY=y +CONFIG_BCM6318_USBH_PHY=y CONFIG_BCM6328_POWER_DOMAIN=y CONFIG_DM_RESET=y CONFIG_RESET_BCM6345=y @@ -48,3 +50,9 @@ CONFIG_DM_SERIAL=y CONFIG_BCM6345_SERIAL=y CONFIG_DM_SPI=y CONFIG_BCM63XX_HSSPI=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