On Mon, Mar 24, 2025 at 12:41 PM David Heidelberg via B4 Relay <devnull+david.ixit.cz@xxxxxxxxxx> wrote: > > From: Janne Grunau <j@xxxxxxxxxx> > > The ethernet-controller schema specifies "mac-address" and > "local-mac-address" but other network devices such as wireless network > adapters use mac addresses as well. > The Devicetree Specification, Release v0.3 specifies in section 4.3.1 > a generic "Network Class Binding" with "address-bits", "mac-address", > "local-mac-address" and "max-frame-size". This schema specifies the > "address-bits" property and moves the remaining properties over from > the ethernet-controller.yaml schema. > > The "max-frame-size" property is used to describe the maximal payload > size despite its name. Keep the description from ethernet-controller > specifying this property as MTU. The contradictory description in the > Devicetree Specification is ignored. > > Signed-off-by: Janne Grunau <j@xxxxxxxxxx> > Signed-off-by: David Heidelberg <david@xxxxxxx> > --- > .../bindings/net/ethernet-controller.yaml | 25 +----------- > .../devicetree/bindings/net/network-class.yaml | 46 ++++++++++++++++++++++ > 2 files changed, 47 insertions(+), 24 deletions(-) Reviewed-by: Rob Herring (Arm) <robh@xxxxxxxxxx>