02.08.2013 Views

P4080 PCIe Adapter SDK User Guide Production Release

P4080 PCIe Adapter SDK User Guide Production Release

P4080 PCIe Adapter SDK User Guide Production Release

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Freescale Semiconductor<br />

5.1 Selecting 10G Ethernet Interfaces for USDPAA<br />

The Ethernet-related Linux device tree entries determine the use case. This is documented in<br />

the “<strong>P4080</strong> DPAA Device Bindings” distributed with the DPAA <strong>SDK</strong>. The sub-topic is<br />

“Data-Path Acceleration Assist”.<br />

The 1G management interface is always assigned to Linux. The following device tree<br />

snippet shows a Linux private interface and also 10G interface used privately by USDPAA.<br />

ethernet@0 {<br />

compatible = "fsl,p4080-dpa-ethernet-init", "fsl,dpaethernet-init";<br />

fsl,bman-buffer-pools = ;<br />

fsl,qman-channel =<br />

;<br />

fsl,qman-frame-queues-rx = ; fsl,qman-frame-queues-tx =<br />

; fsl,fman-mac =<br />

;<br />

};<br />

ethernet@4 {<br />

compatible = "fsl,p4080-dpa-ethernet", "fsl,dpa-ethernet";<br />

fsl,qman-channel = ;<br />

fsl,fman-mac = ;<br />

};<br />

ethernet@9 {<br />

compatible = "fsl,p4080-dpa-ethernet", "fsl,dpa-ethernet";<br />

fsl,qman-channel = ;<br />

fsl,fman-mac = ;<br />

};<br />

The first ethernet interface is used by the Linux ethernet driver. Ethernet interfaces 4 and 9 are<br />

used by USDPAA. The other interfaces in the dts are not available on the <strong>P4080</strong> PCIE adapter.<br />

The table shows the ethernet interfaces are used in SerDes 0x2 configuration supported by the<br />

card.<br />

Deice Tree<br />

Name<br />

© Freescale Semiconductor, Inc., 2011. All rights reserved.<br />

Table 1 <strong>P4080</strong> PCIE <strong>Adapter</strong> Ethernet Interfaces<br />

U-boot Name<br />

ethernet@ FM1@DTSE<br />

1<br />

ethernet@<br />

C2<br />

FM1@TGEC<br />

4 1<br />

U-Boot MAC<br />

Environment<br />

Variable<br />

Linux Name<br />

(udev)<br />

eth1addr fm1-gb1 Motherboad RGMII<br />

eth4addr fm1-10g XAUI<br />

SerDes 0x2 Physical Position<br />

Freescale Confidential Proprietary Page 26

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!