mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: David Picard <david.picard@clermont.in2p3.fr>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	BAREBOX <barebox@lists.infradead.org>
Subject: Re: [PATCH v2 2/3] ARM: socfpga: Enclustra SA2: enable USB1 HS
Date: Thu, 5 Mar 2026 11:13:08 +0100	[thread overview]
Message-ID: <0e70659e-8927-4af9-9376-a0a8717543ca@pengutronix.de> (raw)
In-Reply-To: <20260305-b4-sa2-usb-v2-2-cf377c10efd5@clermont.in2p3.fr>

On 3/5/26 10:55 AM, David Picard wrote:
> Enable high-speed USB 2.0 USB1 controller on Enclustra
> Mercury+ SA2 module.

With Signed-off-by added:

Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de>

> ---
>  arch/arm/configs/socfpga_defconfig             | 6 ++++++
>  arch/arm/dts/socfpga_cyclone5_mercury_sa2.dtsi | 7 +++++++
>  2 files changed, 13 insertions(+)
> 
> diff --git a/arch/arm/configs/socfpga_defconfig b/arch/arm/configs/socfpga_defconfig
> index 37555a6297..8f9e34d459 100644
> --- a/arch/arm/configs/socfpga_defconfig
> +++ b/arch/arm/configs/socfpga_defconfig
> @@ -86,6 +86,10 @@ CONFIG_MTD_NAND_DENALI=y
>  CONFIG_MTD_NAND_DENALI_DT=y
>  CONFIG_MTD_SPI_NOR=y
>  CONFIG_SPI_CADENCE_QUADSPI=y
> +CONFIG_USB_HOST=y
> +CONFIG_USB_DWC2_HOST=y
> +CONFIG_USB_EHCI=y
> +CONFIG_USB_ULPI=y
>  CONFIG_MCI=y
>  CONFIG_MCI_DW=y
>  CONFIG_LED=y
> @@ -103,6 +107,8 @@ CONFIG_FIRMWARE_ALTERA_SOCFPGA=y
>  CONFIG_FPGA=y
>  CONFIG_FPGA_BRIDGE=y
>  CONFIG_SOCFPGA_FPGA_BRIDGE=y
> +CONFIG_GENERIC_PHY=y
> +CONFIG_USB_NOP_XCEIV=y
>  CONFIG_FS_EXT4=y
>  CONFIG_FS_TFTP=y
>  CONFIG_FS_NFS=y
> diff --git a/arch/arm/dts/socfpga_cyclone5_mercury_sa2.dtsi b/arch/arm/dts/socfpga_cyclone5_mercury_sa2.dtsi
> index 6334573a77..cd33b38d2b 100644
> --- a/arch/arm/dts/socfpga_cyclone5_mercury_sa2.dtsi
> +++ b/arch/arm/dts/socfpga_cyclone5_mercury_sa2.dtsi
> @@ -8,6 +8,7 @@
>   */
>  
>  #include <arm/intel/socfpga/socfpga_cyclone5.dtsi>
> +#include <dt-bindings/gpio/gpio.h>
>  
>  / {
>  	barebox,deep-probe;
> @@ -205,6 +206,12 @@ Reference:
>  	};
>  };
>  
> +&usbphy0 {
> +	/* HPS_GPIO0, active low */
> +	reset-gpios = <&porta 0 GPIO_ACTIVE_LOW>;
> +	status = "okay";
> +};
> +
>  &usb1 {
>  	status = "okay";
>  	dr_mode = "host";
> 

-- 
Pengutronix e.K.                  |                             |
Steuerwalder Str. 21              | http://www.pengutronix.de/  |
31137 Hildesheim, Germany         | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686  | Fax:   +49-5121-206917-5555 |




  reply	other threads:[~2026-03-05 10:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-05  9:55 [PATCH v2 0/3] ARM: socfpga: Enclustra SA2: enable HS USB David Picard
2026-03-05  9:55 ` [PATCH v2 1/3] ARM: socfpga: Enclustra SA2: add defconfig options David Picard
2026-03-05 10:11   ` Ahmad Fatoum
2026-03-05  9:55 ` [PATCH v2 2/3] ARM: socfpga: Enclustra SA2: enable USB1 HS David Picard
2026-03-05 10:13   ` Ahmad Fatoum [this message]
2026-03-05  9:55 ` [PATCH v2 3/3] ARM: socfpga: xload: compress image with xz David Picard
2026-03-05 10:13   ` Ahmad Fatoum

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0e70659e-8927-4af9-9376-a0a8717543ca@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=david.picard@clermont.in2p3.fr \
    --cc=s.hauer@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox