ethernet-switch.yaml (ea68a3e9d14e9e0bf017d178fb4bd53b6deb1482) | ethernet-switch.yaml (84ce730f82dfe62f6f3e76b059ce0f7178322fb9) |
---|---|
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/net/ethernet-switch.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Generic Ethernet Switch 8 --- 26 unchanged lines hidden (view full) --- 35 '#size-cells': 36 const: 0 37 38 patternProperties: 39 "^(ethernet-)?port@[0-9]+$": 40 type: object 41 description: Ethernet switch ports 42 | 1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/net/ethernet-switch.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Generic Ethernet Switch 8 --- 26 unchanged lines hidden (view full) --- 35 '#size-cells': 36 const: 0 37 38 patternProperties: 39 "^(ethernet-)?port@[0-9]+$": 40 type: object 41 description: Ethernet switch ports 42 |
43 required: 44 - "#address-cells" 45 - "#size-cells" 46 |
|
43oneOf: 44 - required: 45 - ports 46 - required: 47 - ethernet-ports 48 49additionalProperties: true 50 51$defs: 52 base: 53 description: An ethernet switch without any extra port properties | 47oneOf: 48 - required: 49 - ports 50 - required: 51 - ethernet-ports 52 53additionalProperties: true 54 55$defs: 56 base: 57 description: An ethernet switch without any extra port properties |
54 $ref: '#/' | 58 $ref: '#' |
55 56 patternProperties: 57 "^(ethernet-)?port@[0-9]+$": 58 description: Ethernet switch ports 59 $ref: ethernet-switch-port.yaml# 60 unevaluatedProperties: false 61 62... | 59 60 patternProperties: 61 "^(ethernet-)?port@[0-9]+$": 62 description: Ethernet switch ports 63 $ref: ethernet-switch-port.yaml# 64 unevaluatedProperties: false 65 66... |