diff options
author | Tom Rini <trini@konsulko.com> | 2024-10-01 12:24:21 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-10-01 12:24:21 -0600 |
commit | 136b7b6d2e9837849732c6ade8f4bdaf870ed83a (patch) | |
tree | 3ab71746d990f8ffd004c8d874fe5f823e5c7f26 /dts/upstream/Bindings/net/stm32-dwmac.yaml | |
parent | 667a671ccab9e6cfe04c654e2c935ea0a070f58b (diff) | |
parent | 6b642aca7f571e777924f50732f530fd94b03bfb (diff) | |
download | u-boot-136b7b6d2e9837849732c6ade8f4bdaf870ed83a.tar.gz |
Subtree merge tag 'v6.11-dts' of dts repo [1] into dts/upstreamWIP/01Oct2024-next
[1] https://git.kernel.org/pub/scm/linux/kernel/git/devicetree/devicetree-rebasing.git
Diffstat (limited to 'dts/upstream/Bindings/net/stm32-dwmac.yaml')
-rw-r--r-- | dts/upstream/Bindings/net/stm32-dwmac.yaml | 49 |
1 files changed, 42 insertions, 7 deletions
diff --git a/dts/upstream/Bindings/net/stm32-dwmac.yaml b/dts/upstream/Bindings/net/stm32-dwmac.yaml index 7ccf75676b6..bf23838fe6e 100644 --- a/dts/upstream/Bindings/net/stm32-dwmac.yaml +++ b/dts/upstream/Bindings/net/stm32-dwmac.yaml @@ -22,18 +22,22 @@ select: enum: - st,stm32-dwmac - st,stm32mp1-dwmac + - st,stm32mp13-dwmac + - st,stm32mp25-dwmac required: - compatible -allOf: - - $ref: snps,dwmac.yaml# - properties: compatible: oneOf: - items: - enum: + - st,stm32mp25-dwmac + - const: snps,dwmac-5.20 + - items: + - enum: - st,stm32mp1-dwmac + - st,stm32mp13-dwmac - const: snps,dwmac-4.20a - items: - enum: @@ -75,12 +79,15 @@ properties: st,syscon: $ref: /schemas/types.yaml#/definitions/phandle-array items: - - items: + - minItems: 2 + items: - description: phandle to the syscon node which encompases the glue register - description: offset of the control register + - description: field to set mask in register description: Should be phandle/offset pair. The phandle to the syscon node which - encompases the glue register, and the offset of the control register + encompases the glue register, the offset of the control register and + the mask to set bitfield in control register st,ext-phyclk: description: @@ -112,12 +119,40 @@ required: unevaluatedProperties: false +allOf: + - $ref: snps,dwmac.yaml# + - if: + properties: + compatible: + contains: + enum: + - st,stm32-dwmac + - st,stm32mp1-dwmac + - st,stm32mp25-dwmac + then: + properties: + st,syscon: + items: + minItems: 2 + maxItems: 2 + + - if: + properties: + compatible: + contains: + enum: + - st,stm32mp13-dwmac + then: + properties: + st,syscon: + items: + minItems: 3 + maxItems: 3 + examples: - | #include <dt-bindings/interrupt-controller/arm-gic.h> #include <dt-bindings/clock/stm32mp1-clks.h> - #include <dt-bindings/reset/stm32mp1-resets.h> - #include <dt-bindings/mfd/stm32h7-rcc.h> //Example 1 ethernet0: ethernet@5800a000 { compatible = "st,stm32mp1-dwmac", "snps,dwmac-4.20a"; |