dt: fsl-fec.txt: Fix GPIO comment and remove hardcoded MAC address
Subsystems (2)
PATCH 1/1 dt: fsl-fec.txt: Fix GPIO comment and remove hardcoded MAC address
Fix the comment for the GPIO number used for PHY reset and also avoid passing a hardcoded MAC address.
--- Documentation/devicetree/bindings/net/fsl-fec.txt | 6 +----- 1 files changed, 1 insertions(+), 5 deletions(-)
Documentation/devicetree/bindings/net/fsl-fec.txt +1 -5
@@ -9,9 +9,6 @@ Required properties: "rgmii", "rgmii-id", "rgmii-rxid", "rgmii-txid", "rtbi", "smii". - phy-reset-gpios : Should specify the gpio for phy reset -Optional properties: -- local-mac-address : 6 bytes, mac address - Example: fec@83fec000 {
@@ -19,6 +16,5 @@ fec@83fec000 { reg = <0x83fec000 0x4000>; interrupts = <87>; phy-mode = "mii"; - phy-reset-gpios = <&gpio1 14 0>; /* GPIO2_14 */ - local-mac-address = [00 04 9F 01 1B B9]; + phy-reset-gpios = <&gpio1 14 0>; /* GPIO1_14 */ };
Signature · 1 line
1.7.1
A message that is not in the archive (sent off-list or not yet received): 1335239915-2563-1-git-send-email-festevam-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
Quoted 3 lines · Fabio Estevam
Fix the comment for the GPIO number used for PHY reset and also avoid passing a hardcoded MAC address.
You can choose to not pass MAC address from device tree, but someone may want to use it for some case, e.g. local network just for debugging. In any case, it's a binding supported by driver, you can choose not use it, but you can not remove it from the binding doc.
Regards,
Shawn
Quoted 30 lines
Signed-off-by Fabio Estevam <[email protected]>---
Documentation/devicetree/bindings/net/fsl-fec.txt | 6 +-----1 files changed, 1 insertions(+), 5 deletions(-)Documentation/devicetree/bindings/net/fsl-fec.txt +0
-0@@ -9,9 +9,6 @@ Required properties:"rgmii", "rgmii-id", "rgmii-rxid", "rgmii-txid", "rtbi", "smii".
- phy-reset-gpios : Should specify the gpio for phy resetDocumentation/devicetree/bindings/net/fsl-fec.txt +0
-3-Optional properties: -- local-mac-address : 6 bytes, mac address -Example:
fec@83fec000 {
Documentation/devicetree/bindings/net/fsl-fec.txt +1
-3@@ -19,6 +16,5 @@ fec@83fec000 { reg = <0x83fec000 0x4000>; interrupts = <87>; phy-mode = "mii"; - phy-reset-gpios = <&gpio1 14 0>; /* GPIO2_14 */ - local-mac-address = [00 04 9F 01 1B B9]; + phy-reset-gpios = <&gpio1 14 0>; /* GPIO1_14 */ }; --1.7.1