Skip to content

Commit

Permalink
ARM: dts: stm32: add USBH wakeup management on stm32mp131
Browse files Browse the repository at this point in the history
USBH OHCI & EHCI can be used to wakeup from stop mode on stm32mp131.
Add wakeup-source property and attach USBH OHCI and EHCI to "pd_core"
power domain.

Change-Id: Ib43f793e0dd8754b7be80d3fb60db9315f19004e
Signed-off-by: Amelie Delaunay <amelie.delaunay@foss.st.com>
Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/linux-stm32/+/279521
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 db60695 commit 7b06527
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arch/arm/boot/dts/stm32mp131.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -603,6 +603,8 @@
clocks = <&usbphyc>, <&rcc USBH>;
resets = <&rcc USBH_R>;
interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
power-domains = <&pd_core>;
wakeup-source;
status = "disabled";
};

Expand All @@ -613,6 +615,8 @@
resets = <&rcc USBH_R>;
interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
companion = <&usbh_ohci>;
power-domains = <&pd_core>;
wakeup-source;
status = "disabled";
};

Expand Down

0 comments on commit 7b06527

Please sign in to comment.