[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20221014141509.211149-5-fabrice.gasnier@foss.st.com>
Date: Fri, 14 Oct 2022 16:15:03 +0200
From: Fabrice Gasnier <fabrice.gasnier@...s.st.com>
To: <alexandre.torgue@...s.st.com>, <robh+dt@...nel.org>,
<krzysztof.kozlowski+dt@...aro.org>
CC: <amelie.delaunay@...s.st.com>, <devicetree@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>,
<linux-stm32@...md-mailman.stormreply.com>,
<fabrice.gasnier@...s.st.com>
Subject: [PATCH v2 04/10] ARM: dts: stm32: add USB OTG HS support on stm32mp131
From: Amelie Delaunay <amelie.delaunay@...s.st.com>
This patch adds USB OTG HS support on stm32mp131.
Signed-off-by: Amelie Delaunay <amelie.delaunay@...s.st.com>
Signed-off-by: Fabrice Gasnier <fabrice.gasnier@...s.st.com>
---
Changes in v2: adopt "usb" generic node name
---
arch/arm/boot/dts/stm32mp131.dtsi | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/arch/arm/boot/dts/stm32mp131.dtsi b/arch/arm/boot/dts/stm32mp131.dtsi
index e6129e11660b..6cf930d7721a 100644
--- a/arch/arm/boot/dts/stm32mp131.dtsi
+++ b/arch/arm/boot/dts/stm32mp131.dtsi
@@ -253,6 +253,23 @@ dmamux1: dma-router@...02000 {
dma-channels = <16>;
};
+ usbotg_hs: usb@...00000 {
+ compatible = "st,stm32mp15-hsotg", "snps,dwc2";
+ reg = <0x49000000 0x40000>;
+ clocks = <&rcc USBO_K>;
+ clock-names = "otg";
+ resets = <&rcc USBO_R>;
+ reset-names = "dwc2";
+ interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
+ g-rx-fifo-size = <512>;
+ g-np-tx-fifo-size = <32>;
+ g-tx-fifo-size = <256 16 16 16 16 16 16 16>;
+ dr_mode = "otg";
+ otg-rev = <0x200>;
+ usb33d-supply = <&usb33>;
+ status = "disabled";
+ };
+
spi4: spi@...02000 {
compatible = "st,stm32h7-spi";
reg = <0x4c002000 0x400>;
--
2.25.1
Powered by blists - more mailing lists