Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 687e3d55 authored by Petr Štetiar's avatar Petr Štetiar Committed by David S. Miller
Browse files

dt-bindings: doc: reflect new NVMEM of_get_mac_address behaviour



As of_get_mac_address now supports NVMEM under the hood, we need to update
the bindings documentation with the new nvmem-cell* properties, which would
mean copy&pasting a lot of redundant information to every binding
documentation currently referencing some of the MAC address properties.

So I've just removed all the references to the optional MAC address
properties and replaced them with the small note referencing
net/ethernet.txt file.

Signed-off-by: default avatarPetr Štetiar <ynezz@true.cz>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d01f449c
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -46,9 +46,8 @@ Required properties:
	- reg: phy id used to communicate to phy.
	- device_type: Must be "ethernet-phy".

Optional properties:
- local-mac-address: See ethernet.txt in the same directory.
- max-frame-size: See ethernet.txt in the same directory.
The MAC address will be determined using the optional properties defined in
ethernet.txt.

Example:

+3 −2
Original line number Diff line number Diff line
@@ -24,8 +24,6 @@ Required properties:
- phy-mode: See ethernet.txt file in the same directory

Optional properties:
- mac-address: mac address to be assigned to the device. Can be overridden
  by UEFI.
- dma-coherent: Present if dma operations are coherent
- amd,per-channel-interrupt: Indicates that Rx and Tx complete will generate
  a unique interrupt for each DMA channel - this requires an additional
@@ -34,6 +32,9 @@ Optional properties:
    0 - 1GbE and 10GbE (default)
    1 - 2.5GbE and 10GbE

The MAC address will be determined using the optional properties defined in
ethernet.txt.

The following optional properties are represented by an array with each
value corresponding to a particular speed. The first array value represents
the setting for the 1GbE speed, the second value for the 2.5GbE speed and
+2 −2
Original line number Diff line number Diff line
@@ -16,8 +16,8 @@ Required properties:
				registers (required for Northstar2)
 - interrupts:	Interrupt number

Optional properties:
- mac-address:	See ethernet.txt file in the same directory
The MAC address will be determined using the optional properties
defined in ethernet.txt.

Examples:

+3 −1
Original line number Diff line number Diff line
@@ -49,10 +49,12 @@ Required properties:

Optional properties:
- dual_emac_res_vlan	: Specifies VID to be used to segregate the ports
- mac-address		: See ethernet.txt file in the same directory
- phy_id		: Specifies slave phy id (deprecated, use phy-handle)
- phy-handle		: See ethernet.txt file in the same directory

The MAC address will be determined using the optional properties
defined in ethernet.txt.

Slave sub-nodes:
- fixed-link		: See fixed-link.txt file in the same directory

+3 −2
Original line number Diff line number Diff line
@@ -20,11 +20,12 @@ Required properties:
Optional properties:
- phy-handle: See ethernet.txt file in the same directory.
              If absent, davinci_emac driver defaults to 100/FULL.
- nvmem-cells: phandle, reference to an nvmem node for the MAC address
- nvmem-cell-names: string, should be "mac-address" if nvmem is to be used
- ti,davinci-rmii-en: 1 byte, 1 means use RMII
- ti,davinci-no-bd-ram: boolean, does EMAC have BD RAM?

The MAC address will be determined using the optional properties
defined in ethernet.txt.

Example (enbw_cmc board):
	eth0: emac@1e20000 {
		compatible = "ti,davinci-dm6467-emac";
Loading