From 3cead63752de9036025d00ab910540d1104f9317 Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Wed, 2 Sep 2026 14:39:49 +0200 Subject: [PATCH] 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 Reviewed-by: Conor Dooley Link: https://lore.kernel.org/r/20260902124018.606544-1-marex@nabladev.com Signed-off-by: Alexandre Torgue --- .../bindings/arm/stm32/st,stm32-syscon.yaml | 30 ++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/arm/stm32/st,stm32-syscon.yaml b/Documentation/devicetree/bindings/arm/stm32/st,stm32-syscon.yaml index 95d2319afe23..a559f8b03b84 100644 --- a/Documentation/devicetree/bindings/arm/stm32/st,stm32-syscon.yaml +++ b/Documentation/devicetree/bindings/arm/stm32/st,stm32-syscon.yaml @@ -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