From: David Picard <david.picard@clermont.in2p3.fr>
To: Sascha Hauer <s.hauer@pengutronix.de>,
BAREBOX <barebox@lists.infradead.org>
Cc: David Picard <david.picard@clermont.in2p3.fr>,
Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [PATCH v5 2/3] ARM: socfpga: Enclustra SA2: enable USB1 HS
Date: Thu, 05 Mar 2026 15:00:46 +0100 [thread overview]
Message-ID: <20260305-b4-sa2-usb-v5-2-8e92a459d20b@clermont.in2p3.fr> (raw)
In-Reply-To: <20260305-b4-sa2-usb-v5-0-8e92a459d20b@clermont.in2p3.fr>
Enable high-speed USB 2.0 USB1 controller on Enclustra
Mercury+ SA2 module.
Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: David Picard <david.picard@clermont.in2p3.fr>
---
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";
--
2.43.0
next prev parent reply other threads:[~2026-03-05 14:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-05 14:00 [PATCH v5 0/3] ARM: socfpga: Enclustra SA2: enable HS USB David Picard
2026-03-05 14:00 ` [PATCH v5 1/3] ARM: socfpga: Enclustra SA2: add defconfig options David Picard
2026-03-05 14:00 ` David Picard [this message]
2026-03-05 14:00 ` [PATCH v5 3/3] ARM: socfpga: xload: compress image with xz David Picard
2026-03-05 14:06 ` [PATCH v5 0/3] ARM: socfpga: Enclustra SA2: enable HS USB 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=20260305-b4-sa2-usb-v5-2-8e92a459d20b@clermont.in2p3.fr \
--to=david.picard@clermont.in2p3.fr \
--cc=a.fatoum@pengutronix.de \
--cc=barebox@lists.infradead.org \
--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