> > > + allOf: > > > + - $ref: /schemas/types.yaml#/definitions/uint16-array > > > + - minItems: 1 > > > + maxItems: 4 > > > + > > > +examples: > > > + - | > > > + ethernet-phy@0 { > > > + reg = <0>; > > > > This needs to be under an 'mdio' node with #address-cells and > > #size-cells set correctly. > > I wish these things were documented somewhere... I'm pretty sure this > passed validation when I wrote it. Documentation/devicetree/bindings/net/mdio.yaml Rob, is there a way to express the hierarchy between yaml files and properties? Can we say that a phy, as defined by ethernet-phy.yaml should always be inside an MDIO bus as defined in mdio.yaml? Thanks Andrew