Commit 94ceaa26 authored by Vince Bridgers's avatar Vince Bridgers Committed by David S. Miller

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: default avatarVince Bridgers <vbridgers2013@gmail.com>
Acked-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent aefef4c1
...@@ -25,6 +25,10 @@ Required properties: ...@@ -25,6 +25,10 @@ Required properties:
- snps,force_sf_dma_mode Force DMA to use the Store and Forward - snps,force_sf_dma_mode Force DMA to use the Store and Forward
mode for both tx and rx. This flag is mode for both tx and rx. This flag is
ignored if force_thresh_dma_mode is set. ignored if force_thresh_dma_mode is set.
- snps,multicast-filter-bins: Number of multicast filter hash bins
supported by this device instance
- snps,perfect-filter-entries: Number of perfect filter entries supported
by this device instance
Optional properties: Optional properties:
- resets: Should contain a phandle to the STMMAC reset signal, if any - resets: Should contain a phandle to the STMMAC reset signal, if any
...@@ -47,6 +51,8 @@ Examples: ...@@ -47,6 +51,8 @@ Examples:
mac-address = [000000000000]; /* Filled in by U-Boot */ mac-address = [000000000000]; /* Filled in by U-Boot */
max-frame-size = <3800>; max-frame-size = <3800>;
phy-mode = "gmii"; phy-mode = "gmii";
snps,multicast-filter-bins = <256>;
snps,perfect-filter-entries = <128>;
clocks = <&clock>; clocks = <&clock>;
clock-names = "stmmaceth">; clock-names = "stmmaceth">;
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment