mirror of
https://github.com/brain-hackers/linux-brain.git
synced 2024-06-09 23:36:23 +09:00
dt-bindings: doc: add new properties for of_get_mac_address from nvmem
Currently, of_get_mac_address supports NVMEM, some platforms MAC address that read from NVMEM efuse requires to swap bytes order, so add new property "nvmem_macaddr_swap" to specify the behavior. If the MAC address is valid from NVMEM, add new property "nvmem-mac-address" in ethernet node. Update these two properties in the binding documentation. Signed-off-by: Fugang Duan <fugang.duan@nxp.com> [ Aisheng: update to yaml format ] Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
This commit is contained in:
parent
ca906c76a1
commit
77f76ace06
|
@ -34,6 +34,15 @@ properties:
|
|||
to the device by the boot program is different from the
|
||||
local-mac-address property.
|
||||
|
||||
nvmem-mac-address:
|
||||
allOf:
|
||||
- $ref: /schemas/types.yaml#definitions/uint8-array
|
||||
- minItems: 6
|
||||
maxItems: 6
|
||||
description:
|
||||
Specifies the MAC address that was read from nvmem-cells and dynamically
|
||||
add the property in device node;
|
||||
|
||||
max-frame-size:
|
||||
$ref: /schemas/types.yaml#definitions/uint32
|
||||
description:
|
||||
|
@ -54,6 +63,11 @@ properties:
|
|||
nvmem-cells-names:
|
||||
const: mac-address
|
||||
|
||||
nvmem_macaddr_swap:
|
||||
$ref: /schemas/types.yaml#/definitions/flag
|
||||
description:
|
||||
swap bytes order for the 6 bytes of MAC address
|
||||
|
||||
phy-connection-type:
|
||||
description:
|
||||
Operation mode of the PHY interface
|
||||
|
|
Loading…
Reference in New Issue
Block a user