Skip to content

Commit ea5c40e

Browse files
ADESTMthom24
authored andcommitted
ARM: dts: stm32: add USB OTG wakeup management on stm32mp131
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 <[email protected]>
1 parent b56d72e commit ea5c40e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: arch/arm/boot/dts/st/stm32mp131.dtsi

+3-1
Original file line numberDiff line numberDiff line change
@@ -828,13 +828,15 @@
828828
clock-names = "otg";
829829
resets = <&rcc USBO_R>;
830830
reset-names = "dwc2";
831-
interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
831+
interrupts-extended = <&exti 44 IRQ_TYPE_LEVEL_HIGH>;
832832
g-rx-fifo-size = <512>;
833833
g-np-tx-fifo-size = <32>;
834834
g-tx-fifo-size = <256 16 16 16 16 16 16 16>;
835835
dr_mode = "otg";
836836
otg-rev = <0x200>;
837837
usb33d-supply = <&scmi_usb33>;
838+
power-domains = <&pd_core>;
839+
wakeup-source;
838840
status = "disabled";
839841
};
840842

0 commit comments

Comments
 (0)