Skip to content

Commit

Permalink
ARM: dts: stm32: add USB OTG wakeup management on stm32mp131
Browse files Browse the repository at this point in the history
USB OTG can be used to wakeup from stop mode on stm32mp131.
Add wakeup-source property, use EXTI torvalds#44 interrupt instead of GIC, and
attach USB OTG to "pd_core" power domain.

Change-Id: I2a1afd29c1b12aaf179eb44c3b333cb69f77bbac
Signed-off-by: Amelie Delaunay <amelie.delaunay@foss.st.com>
Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/linux-stm32/+/279522
ACI: CITOOLS <MDG-smet-aci-reviews@list.st.com>
Tested-by: Fabrice GASNIER <fabrice.gasnier@foss.st.com>
Reviewed-by: Fabrice GASNIER <fabrice.gasnier@foss.st.com>
Domain-Review: Fabrice GASNIER <fabrice.gasnier@foss.st.com>
  • Loading branch information
ADESTM authored and fourmone committed May 30, 2023
1 parent 7b06527 commit 177f2a9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion arch/arm/boot/dts/stm32mp131.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -356,13 +356,15 @@
clock-names = "otg";
resets = <&rcc USBO_R>;
reset-names = "dwc2";
interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
interrupts-extended = <&exti 44 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 = <&scmi_usb33>;
power-domains = <&pd_core>;
wakeup-source;
status = "disabled";
};

Expand Down

0 comments on commit 177f2a9

Please sign in to comment.