dts: bindings: usb: Introduce STM32N6 OTG HS compatible
Add STM32N6 USB OTG HS compatible 'st,stm32n6-otghs' that doesn't require pinctrl-0 and pinctrl-names. Signed-off-by: IBEN EL HADJ MESSAOUD Marwa <marwa.ibenelhadjmessaoud-ext@st.com>
This commit is contained in:
parent
fe6366b804
commit
83c1ee7474
3 changed files with 42 additions and 21 deletions
27
dts/bindings/usb/st,stm32-otghs-common.yaml
Normal file
27
dts/bindings/usb/st,stm32-otghs-common.yaml
Normal file
|
@ -0,0 +1,27 @@
|
|||
# Copyright (c) 2025, STMicroelectronics
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
# Common fields for STM32 OTGHS controller
|
||||
|
||||
include: [usb-ep.yaml, pinctrl-device.yaml]
|
||||
|
||||
properties:
|
||||
reg:
|
||||
required: true
|
||||
|
||||
interrupts:
|
||||
required: true
|
||||
|
||||
ram-size:
|
||||
type: int
|
||||
required: true
|
||||
description: |
|
||||
Size of USB dedicated RAM. STM32 SOC's reference
|
||||
manual defines a shared FIFO size.
|
||||
|
||||
phys:
|
||||
type: phandle
|
||||
description: PHY provider specifier
|
||||
|
||||
clocks:
|
||||
required: true
|
|
@ -1,35 +1,16 @@
|
|||
# Copyright (c) 2017, I-SENSE group of ICCS
|
||||
# Copyright (c) 2025, STMicroelectronics
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: STM32 OTGHS controller
|
||||
|
||||
compatible: "st,stm32-otghs"
|
||||
|
||||
include: [usb-ep.yaml, pinctrl-device.yaml]
|
||||
include: st,stm32-otghs-common.yaml
|
||||
|
||||
properties:
|
||||
reg:
|
||||
required: true
|
||||
|
||||
interrupts:
|
||||
required: true
|
||||
|
||||
pinctrl-0:
|
||||
required: true
|
||||
|
||||
pinctrl-names:
|
||||
required: true
|
||||
|
||||
ram-size:
|
||||
type: int
|
||||
required: true
|
||||
description: |
|
||||
Size of USB dedicated RAM. STM32 SOC's reference
|
||||
manual defines a shared FIFO size.
|
||||
|
||||
phys:
|
||||
type: phandle
|
||||
description: PHY provider specifier
|
||||
|
||||
clocks:
|
||||
required: true
|
||||
|
|
13
dts/bindings/usb/st,stm32n6-otghs.yaml
Normal file
13
dts/bindings/usb/st,stm32n6-otghs.yaml
Normal file
|
@ -0,0 +1,13 @@
|
|||
# Copyright (c) 2025, STMicroelectronics
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
description: |
|
||||
STM32N6 OTGHS controller
|
||||
|
||||
In the STM32N6 series, the `pinctrl-0` and `pinctrl-names` properties are not required
|
||||
for the USB OTG HS peripheral configuration. This is because the pin multiplexing
|
||||
for the USB OTG HS peripheral are handled automatically by the hardware.
|
||||
|
||||
compatible: "st,stm32n6-otghs"
|
||||
|
||||
include: st,stm32-otghs-common.yaml
|
Loading…
Add table
Add a link
Reference in a new issue