aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/net
diff options
context:
space:
mode:
authorVince Bridgers <vbridgers2013@gmail.com>2014-07-31 16:49:15 -0400
committerDavid S. Miller <davem@davemloft.net>2014-07-31 17:13:29 -0400
commit94ceaa26320fc48c16ea299ee7b546a0203d95b5 (patch)
treee119f43e45cc73691ed88fef46a4e8d6a417aa80 /Documentation/devicetree/bindings/net
parentaefef4c15a1f696ed6c676698d26741024d98f36 (diff)
dts: Add bindings for multicast hash bins and perfect filter entries
This change adds bindings for the number of multicast hash bins and perfect filter entries supported by the Synopsys EMAC. The Synopsys EMAC core is configurable at device creation time, and can be configured for a different number of multicast hash bins and a different number of perfect filter entries. The device does not provide a way to query these parameters, therefore parameters are required. The Altera Cyclone V SOC has support for 256 multicast hash bins and 128 perfect filter entries, and is different than what's currently provided in the stmmac driver. Signed-off-by: Vince Bridgers <vbridgers2013@gmail.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/devicetree/bindings/net')
-rw-r--r--Documentation/devicetree/bindings/net/stmmac.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/net/stmmac.txt b/Documentation/devicetree/bindings/net/stmmac.txt
index a2acd2b26baf..9b03c57563a4 100644
--- a/Documentation/devicetree/bindings/net/stmmac.txt
+++ b/Documentation/devicetree/bindings/net/stmmac.txt
@@ -25,6 +25,10 @@ Required properties:
25- snps,force_sf_dma_mode Force DMA to use the Store and Forward 25- snps,force_sf_dma_mode Force DMA to use the Store and Forward
26 mode for both tx and rx. This flag is 26 mode for both tx and rx. This flag is
27 ignored if force_thresh_dma_mode is set. 27 ignored if force_thresh_dma_mode is set.
28- snps,multicast-filter-bins: Number of multicast filter hash bins
29 supported by this device instance
30- snps,perfect-filter-entries: Number of perfect filter entries supported
31 by this device instance
28 32
29Optional properties: 33Optional properties:
30- resets: Should contain a phandle to the STMMAC reset signal, if any 34- resets: Should contain a phandle to the STMMAC reset signal, if any
@@ -47,6 +51,8 @@ Examples:
47 mac-address = [000000000000]; /* Filled in by U-Boot */ 51 mac-address = [000000000000]; /* Filled in by U-Boot */
48 max-frame-size = <3800>; 52 max-frame-size = <3800>;
49 phy-mode = "gmii"; 53 phy-mode = "gmii";
54 snps,multicast-filter-bins = <256>;
55 snps,perfect-filter-entries = <128>;
50 clocks = <&clock>; 56 clocks = <&clock>;
51 clock-names = "stmmaceth">; 57 clock-names = "stmmaceth">;
52 }; 58 };