Documentation: dtb: Add port-id field for APM X-Gene ethernet
authorKeyur Chudgar <kchudgar@apm.com>
Tue, 17 Mar 2015 18:27:11 +0000 (11:27 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Mar 2015 16:44:05 +0000 (12:44 -0400)
Signed-off-by: Keyur Chudgar <kchudgar@apm.com>
Signed-off-by: Iyappan Subramanian <isubramanian@apm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/apm-xgene-enet.txt

index 6151999c5dcae6e31f60dc155b433723550cf693..dc7961b330765070323daf07dd0e3127b42de46a 100644 (file)
@@ -15,6 +15,7 @@ Required properties for all the ethernet interfaces:
   - "ring_csr": Descriptor ring control and status register address space
   - "ring_cmd": Descriptor ring command register address space
 - interrupts: Ethernet main interrupt
+- port-id: Port number (0 or 1)
 - clocks: Reference to the clock entry.
 - local-mac-address: MAC address assigned to this device
 - phy-connection-type: Interface type between ethernet device and PHY device
@@ -49,6 +50,7 @@ Example:
                      <0x0 0X10000000 0x0 0X200>;
                reg-names = "enet_csr", "ring_csr", "ring_cmd";
                interrupts = <0x0 0x3c 0x4>;
+               port-id = <0>;
                clocks = <&menetclk 0>;
                local-mac-address = [00 01 73 00 00 01];
                phy-connection-type = "rgmii";