aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAlistair Popple <alistair@popple.id.au>2017-08-18 15:19:55 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-08-30 13:50:04 +1000
commitd5fa66c74a194022a5254622a58f967ac4955bc3 (patch)
tree491256a51917355c9fb87f87427de754434233f7 /doc
parente1e962475e1e16e50a1aa192f08d20e9d66d10e4 (diff)
downloadskiboot-d5fa66c74a194022a5254622a58f967ac4955bc3.zip
skiboot-d5fa66c74a194022a5254622a58f967ac4955bc3.tar.gz
skiboot-d5fa66c74a194022a5254622a58f967ac4955bc3.tar.bz2
hw/npu2.c: Add ibm, nvlink-speed device-tree property
NVLink2 links can support multiple different speeds. However the device driver has no way of determining which speed was programmed so pass it down as a device tree property. Signed-off-by: Alistair Popple <alistair@popple.id.au> Acked-by: Reza Arbab <arbab@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/device-tree/nvlink.rst7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/device-tree/nvlink.rst b/doc/device-tree/nvlink.rst
index 6ce44e9..9f3fecb 100644
--- a/doc/device-tree/nvlink.rst
+++ b/doc/device-tree/nvlink.rst
@@ -105,7 +105,12 @@ Emulated PCI device bindings
vendor-id = <0x1014>;
ibm,gpu = <0x100002f7>; /* phandle pointing the associated GPU PCI device node */
memory-region = <0x10000abc>; /* phandle pointing to the GPU memory */
- phandle = <0x100002fc>;
+ ibm,nvlink-speed = <0x1>;
+
+ ; Denotes the speed the link is running at:
+ ; 0x3 == 20 Gbps, 0x8 = 25.78125 Gbps, 0x9 == 25.00000 Gbps
+
+ phandle = <0x100002fc>;
};
pci@1 {