diff options
author | Tom Rini | 2024-04-01 09:08:13 -0400 |
---|---|---|
committer | Tom Rini | 2024-04-01 09:08:13 -0400 |
commit | bc39e06778168a34bb4e0a34fbee4edbde4414d8 (patch) | |
tree | 1a62e02df7db59fcffe3c57c24cf577039a4d389 /dts/upstream/Bindings/net/dsa/microchip,ksz.yaml | |
parent | 27795dd717dadc73091e1b4d6c50952b93aaa819 (diff) | |
parent | 93743d241c64bc1f7ecbf3262d1683176551e11f (diff) |
Subtree merge tag 'v6.8-dts' of devicetree-rebasing repo [1] into dts/upstream
[1] https://git.kernel.org/pub/scm/linux/kernel/git/devicetree/devicetree-rebasing.git/
Diffstat (limited to 'dts/upstream/Bindings/net/dsa/microchip,ksz.yaml')
-rw-r--r-- | dts/upstream/Bindings/net/dsa/microchip,ksz.yaml | 34 |
1 files changed, 33 insertions, 1 deletions
diff --git a/dts/upstream/Bindings/net/dsa/microchip,ksz.yaml b/dts/upstream/Bindings/net/dsa/microchip,ksz.yaml index b3029c64d0d..c963dc09e8e 100644 --- a/dts/upstream/Bindings/net/dsa/microchip,ksz.yaml +++ b/dts/upstream/Bindings/net/dsa/microchip,ksz.yaml @@ -11,7 +11,6 @@ maintainers: - Woojung Huh <Woojung.Huh@microchip.com> allOf: - - $ref: dsa.yaml#/$defs/ethernet-ports - $ref: /schemas/spi/spi-peripheral-props.yaml# properties: @@ -78,6 +77,39 @@ required: - compatible - reg +if: + not: + properties: + compatible: + enum: + - microchip,ksz8863 + - microchip,ksz8873 +then: + $ref: dsa.yaml#/$defs/ethernet-ports +else: + patternProperties: + "^(ethernet-)?ports$": + patternProperties: + "^(ethernet-)?port@[0-2]$": + $ref: dsa-port.yaml# + unevaluatedProperties: false + properties: + microchip,rmii-clk-internal: + $ref: /schemas/types.yaml#/definitions/flag + description: + When ksz88x3 is acting as clock provier (via REFCLKO) it + can select between internal and external RMII reference + clock. Internal reference clock means that the clock for + the RMII of ksz88x3 is provided by the ksz88x3 internally + and the REFCLKI pin is unconnected. For the external + reference clock, the clock needs to be fed back to ksz88x3 + via REFCLKI. + If microchip,rmii-clk-internal is set, ksz88x3 will provide + rmii reference clock internally, otherwise reference clock + should be provided externally. + dependencies: + microchip,rmii-clk-internal: [ethernet] + unevaluatedProperties: false examples: |