> > allOf: > > - $ref: /schemas/pci/pci-device.yaml > > - $ref: ethernet-controller.yaml > > + - if: > > + properties: > > + compatible: > > + contains: > > + enum: > > + - pci1131,e101 > > + then: > > + properties: > > + clocks: > > + maxItems: 1 > > + description: MAC transmit/receiver reference clock > > items: > - description: MAC transmit/receiver reference clock I remember Rob said maxItems:1 is enough, I think items is no needed here. > > > + > > + clock-names: > > + const: ref > > items: > - const: ref I think const: ref is enough, I referenced several other YAML files, such as cortina,gemini-ethernet.yaml, allwinner,sun8i-a83t-emac.yaml. > > > > + else: > > + properties: > > + clocks: false > > + clock-names: false > > > > unevaluatedProperties: false > > > > -- > > 2.34.1 > >