
Config option identifiers
Option
Values
Description
CONFIG_FSL_ENETC
y/m/n
ENETC Physical Function (PF) Ethernet driver
CONFIG_FSL_ENETC_VF
y/m/n
ENETC Virtual Function (VF) Ethernet driver
Device tree node
The ENETC drivers are
PCI device drivers, and the ENETC PCI Root Complex Integrated Endpoint (RCIE) is described through
the following PCIe device tree node:
pcie@1f0000000 { /* rcie_enetc */
compatible = "pci-host-ecam-generic";
reg = <0x01 0xf0000000 0x0 0x100000>;
#address-cells = <3>;
#size-cells = <2>;
#interrupt-cells = <1>;
msi-parent = <&its>;
device_type= "pci";
bus-range= <0x0 0x0>;
dma-coherent;
msi-map = <0 &its 0 0xe>;
iommu-map = <0 &smmu 0x4000 0xe>;
ranges = <…>
/* PF0-6 BAR0 - non-prefetchable memory */
/* PF0-6, BAR2 - prefetchable memory */
/* PF0, VF-BAR0 - non-prefetchable memory */
/* PF0, VF-BAR2 - prefetchable memory */
/* PF1, VF-BAR0 - non-prefetchable memory*/
/* PF1, VF-BAR1 - prefetchable memory */
[…]
enetc_port0: pci@0,0 {
reg = <0x000000 0 0 0 0>;
};
enetc_port1: pci@0,1 {
reg = <0x000100 0 0 0 0>;
};
enetc_port2: pci@0,2 {
reg = <0x000200 0 0 0 0>;
};
[…]
enetc_port3: pci@0,6 {
reg = <0x000600 0 0 0 0>;
};
};
Source files
Source file
Description
enetc_pf.c, enetc_pf.h
ENETC PF driver, ENETC PSI and Port specific code
Table continues on the next page...
Linux kernel
Layerscape LS1028A BSP User Guide, Rev. 0.3, 04/2019
92
NXP Semiconductors
Содержание Layerscape LS1028A BSP
Страница 135: ......