xref: /linux/Documentation/PCI/endpoint/function/binding/pci-ntb.rst (revision d0034a7a4ac7fae708146ac0059b9c47a1543f0d)
1.. SPDX-License-Identifier: GPL-2.0
2
3==========================
4PCI NTB Endpoint Function
5==========================
6
71) Create a subdirectory to pci_epf_ntb directory in configfs.
8
9Standard EPF Configurable Fields:
10
11================   ===========================================================
12vendorid	   should be 0x104c
13deviceid	   should be 0xb00d for TI's J721E SoC
14revid		   don't care
15progif_code	   don't care
16subclass_code	   should be 0x00
17baseclass_code	   should be 0x5
18cache_line_size	   don't care
19subsys_vendor_id   don't care
20subsys_id	   don't care
21interrupt_pin	   don't care
22msi_interrupts	   don't care
23msix_interrupts	   don't care
24================   ===========================================================
25
262) Create a subdirectory to directory created in 1
27
28NTB EPF specific configurable fields:
29
30================   ===========================================================
31db_count	   Number of doorbells; default = 4
32mw1     	   size of memory window1
33mw2     	   size of memory window2
34mw3     	   size of memory window3
35mw4     	   size of memory window4
36num_mws     	   Number of memory windows; max = 4
37spad_count     	   Number of scratchpad registers; default = 64
38================   ===========================================================
39