diff options
author | Petr Štetiar | 2019-05-03 16:27:07 +0200 |
---|---|---|
committer | David S. Miller | 2019-05-06 06:47:07 +0200 |
commit | 687e3d5550c7b0e4dca0179103741a44cd3f7864 (patch) | |
tree | c36428e226c765da3cfe8612d41e2af974e0517f /Documentation/devicetree/bindings/net/keystone-netcp.txt | |
parent | of_net: add NVMEM support to of_get_mac_address (diff) | |
download | kernel-qcow2-linux-687e3d5550c7b0e4dca0179103741a44cd3f7864.tar.gz kernel-qcow2-linux-687e3d5550c7b0e4dca0179103741a44cd3f7864.tar.xz kernel-qcow2-linux-687e3d5550c7b0e4dca0179103741a44cd3f7864.zip |
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: Petr Štetiar <ynezz@true.cz>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/devicetree/bindings/net/keystone-netcp.txt')
-rw-r--r-- | Documentation/devicetree/bindings/net/keystone-netcp.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Documentation/devicetree/bindings/net/keystone-netcp.txt b/Documentation/devicetree/bindings/net/keystone-netcp.txt index 04ba1dc34fd6..3a65aabc76a2 100644 --- a/Documentation/devicetree/bindings/net/keystone-netcp.txt +++ b/Documentation/devicetree/bindings/net/keystone-netcp.txt @@ -135,14 +135,14 @@ Optional properties: are swapped. The netcp driver will swap the two DWORDs back to the proper order when this property is set to 2 when it obtains the mac address from efuse. -- local-mac-address: the driver is designed to use the of_get_mac_address api - only if efuse-mac is 0. When efuse-mac is 0, the MAC - address is obtained from local-mac-address. If this - attribute is not present, then the driver will use a - random MAC address. - "netcp-device label": phandle to the device specification for each of NetCP sub-module attached to this interface. +The MAC address will be determined using the optional properties defined in +ethernet.txt, as provided by the of_get_mac_address API and only if efuse-mac +is set to 0. If any of the optional MAC address properties are not present, +then the driver will use random MAC address. + Example binding: netcp: netcp@2000000 { |