ARM: dts: stm32: enable USB OTG in dual role mode on stm32mp135f-dk
authorFabrice Gasnier <fabrice.gasnier@foss.st.com>
Fri, 14 Oct 2022 14:15:08 +0000 (16:15 +0200)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Mon, 24 Oct 2022 09:57:18 +0000 (11:57 +0200)
commit4f532403b1e5b379e4027448da715567a2b3ff57
tree13fd3197d979e3f41858d3913241f238a5ab8165
parent44978e1359168ad0604235f0b36d7df7721ad85f
ARM: dts: stm32: enable USB OTG in dual role mode on stm32mp135f-dk

The USB OTG controller provides the USB data available on stm32mp135f-dk,
on the Type-C connector. Data role is determined by "usb-role-switch".

A STM32G0 provides the USB Type-C and Power Delivery connectivity.
It controls dual role power and dual role data through UCSI protocol over
I2C. It's wired on I2C1, with an interrupt pin on PI2 GPIO.
Its firmware maybe updated over I2C, so use the optional firmware-name
to enable firmware update.

Signed-off-by: Amelie Delaunay <amelie.delaunay@foss.st.com>
Signed-off-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
arch/arm/boot/dts/stm32mp135f-dk.dts