diff --git a/dtschema/schemas/net/pcs-consumer.yaml b/dtschema/schemas/net/pcs-consumer.yaml new file mode 100644 index 0000000..5880f56 --- /dev/null +++ b/dtschema/schemas/net/pcs-consumer.yaml @@ -0,0 +1,25 @@ +# SPDX-License-Identifier: BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/pcs-consumer.yaml# +$schema: http://devicetree.org/meta-schemas/base.yaml# + +title: PCS Consumer Common Properties + +maintainers: + - Christian Marangi + +# always select the core schema +select: true + +properties: + pcs-handle: + $ref: /schemas/types.yaml#/definitions/phandle-array + + pcs-names: + $ref: /schemas/types.yaml#/definitions/string-array + +dependencies: + pcs-names: [ pcs-handle ] + +additionalProperties: true diff --git a/dtschema/schemas/net/pcs-provider.yaml b/dtschema/schemas/net/pcs-provider.yaml new file mode 100644 index 0000000..8b09165 --- /dev/null +++ b/dtschema/schemas/net/pcs-provider.yaml @@ -0,0 +1,19 @@ +# SPDX-License-Identifier: BSD-2-Clause +--- +$id: http://devicetree.org/schemas/net/pcs-provider.yaml# +$schema: http://devicetree.org/meta-schemas/base.yaml# + +title: PCS Provider Common Properties + +maintainers: + - Christian Marangi + +# always select the core schema +select: true + +properties: + '#pcs-cells': true + +additionalProperties: true + +...