From: "Leon M. Busch-George" <leon@xxxxxxxxxxxxx> Add the option 'ignore-local-mac-address' to allow ignoring bogus addresses. This restores the ability to correctly set the MAC address from the device tree if a boot program stores a randomly generated address in 'local-mac-address'. Signed-off-by: Leon M. Busch-George <leon@xxxxxxxxxxxxx> --- .../devicetree/bindings/net/ethernet-controller.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/net/ethernet-controller.yaml b/Documentation/devicetree/bindings/net/ethernet-controller.yaml index b2785b03139f..67b8437febdf 100644 --- a/Documentation/devicetree/bindings/net/ethernet-controller.yaml +++ b/Documentation/devicetree/bindings/net/ethernet-controller.yaml @@ -23,6 +23,12 @@ properties: minItems: 6 maxItems: 6 + ignore-local-mac-address: + $ref: /schemas/types.yaml#/definitions/flag + description: + Indicates that 'local-mac-address' is to be ignored. This can + be useful when the boot program stores a bogus address. + mac-address: description: Specifies the MAC address that was last used by the boot -- 2.44.0