dt-bindings: arm: stm32: Document st,stm32mp23/25-syscfg subnodes and cells

The st,stm32mp23-syscfg and st,stm32mp25-syscfg can have subnodes, which
represent the USB 2.0 FEMTO-PHY. Document subnodes pattern properties and
address/size cells.

Signed-off-by: Marek Vasut <marex@nabladev.com>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20260902124018.606544-1-marex@nabladev.com
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
This commit is contained in:
Marek Vasut 2026-09-02 14:39:49 +02:00 committed by Alexandre Torgue
parent 4b14dbc4c6
commit 3cead63752

View File

@ -39,6 +39,17 @@ properties:
"#clock-cells":
const: 0
"#address-cells":
const: 1
"#size-cells":
const: 1
patternProperties:
"^phy@2[48]00$":
type: object
$ref: /schemas/phy/st,stm32-usb2phy.yaml
required:
- compatible
- reg
@ -54,13 +65,30 @@ allOf:
then:
required:
- clocks
else:
properties:
clocks: false
- if:
properties:
compatible:
const: st,stm32mp25-syscfg
contains:
enum:
- st,stm32mp23-syscfg
- st,stm32mp25-syscfg
then:
required:
- "#address-cells"
- "#clock-cells"
- "#size-cells"
- phy@2400
- phy@2800
else:
properties:
'#address-cells': false
'#clock-cells': false
'#size-cells': false
phy@2400: false
phy@2800: false
additionalProperties: false