Path: blob/master/Documentation/devicetree/bindings/infiniband/hisilicon-hns-roce.txt
26308 views
Hisilicon RoCE DT description12Hisilicon RoCE engine is a part of network subsystem.3It works depending on other part of network subsystem, such as gmac and4dsa fabric.56Additional properties are described here:78Required properties:9- compatible: Should contain "hisilicon,hns-roce-v1".10- reg: Physical base address of the RoCE driver and11length of memory mapped region.12- eth-handle: phandle, specifies a reference to a node13representing a ethernet device.14- dsaf-handle: phandle, specifies a reference to a node15representing a dsaf device.16- node_guid: a number that uniquely identifies a device or component17- #address-cells: must be 218- #size-cells: must be 219Optional properties:20- dma-coherent: Present if DMA operations are coherent.21- interrupts: should contain 32 completion event irq,1 async event irq22and 1 event overflow irq.23- interrupt-names:should be one of 34 irqs for roce device24- hns-roce-comp-0 ~ hns-roce-comp-31: 32 complete event irq25- hns-roce-async: 1 async event irq26- hns-roce-common: named common exception warning irq27Example:28infiniband@c4000000 {29compatible = "hisilicon,hns-roce-v1";30reg = <0x0 0xc4000000 0x0 0x100000>;31dma-coherent;32eth-handle = <ð2 ð3 ð4 ð5 ð6 ð7>;33dsaf-handle = <&soc0_dsa>;34node-guid = [00 9A CD 00 00 01 02 03];35#address-cells = <2>;36#size-cells = <2>;37interrupt-parent = <&mbigen_dsa>;38interrupts = <722 1>,39<723 1>,40<724 1>,41<725 1>,42<726 1>,43<727 1>,44<728 1>,45<729 1>,46<730 1>,47<731 1>,48<732 1>,49<733 1>,50<734 1>,51<735 1>,52<736 1>,53<737 1>,54<738 1>,55<739 1>,56<740 1>,57<741 1>,58<742 1>,59<743 1>,60<744 1>,61<745 1>,62<746 1>,63<747 1>,64<748 1>,65<749 1>,66<750 1>,67<751 1>,68<752 1>,69<753 1>,70<785 1>,71<754 4>;7273interrupt-names = "hns-roce-comp-0",74"hns-roce-comp-1",75"hns-roce-comp-2",76"hns-roce-comp-3",77"hns-roce-comp-4",78"hns-roce-comp-5",79"hns-roce-comp-6",80"hns-roce-comp-7",81"hns-roce-comp-8",82"hns-roce-comp-9",83"hns-roce-comp-10",84"hns-roce-comp-11",85"hns-roce-comp-12",86"hns-roce-comp-13",87"hns-roce-comp-14",88"hns-roce-comp-15",89"hns-roce-comp-16",90"hns-roce-comp-17",91"hns-roce-comp-18",92"hns-roce-comp-19",93"hns-roce-comp-20",94"hns-roce-comp-21",95"hns-roce-comp-22",96"hns-roce-comp-23",97"hns-roce-comp-24",98"hns-roce-comp-25",99"hns-roce-comp-26",100"hns-roce-comp-27",101"hns-roce-comp-28",102"hns-roce-comp-29",103"hns-roce-comp-30",104"hns-roce-comp-31",105"hns-roce-async",106"hns-roce-common";107};108109110