Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Documentation/bindings: net: marvell-pp2: update the IRQs description

This patch updates the interrupts part of the Marvell PPv2 driver
bindings documentation, to keep it in sync with the driver.

Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Antoine Tenart and committed by
David S. Miller
930e1f56 a9aac385

+31 -14
+31 -14
Documentation/devicetree/bindings/net/marvell-pp2.txt
··· 31 31 32 32 Required properties (port): 33 33 34 - - interrupts: interrupt for the port 34 + - interrupts: interrupt(s) for the port 35 35 - port-id: ID of the port from the MAC point of view 36 36 - gop-port-id: only for marvell,armada-7k-pp2, ID of the port from the 37 37 GOP (Group Of Ports) point of view. This ID is used to index the ··· 43 43 - marvell,loopback: port is loopback mode 44 44 - phy: a phandle to a phy node defining the PHY address (as the reg 45 45 property, a single integer). 46 - - interrupt-names: if more than a single interrupt for rx is given, must 47 - be the name associated to the interrupts listed. Valid 48 - names are: "tx-cpu0", "tx-cpu1", "tx-cpu2", "tx-cpu3", 49 - "rx-shared", "link". 46 + - interrupt-names: if more than a single interrupt for is given, must be the 47 + name associated to the interrupts listed. Valid names are: 48 + "hifX", with X in [0..8], and "link". The names "tx-cpu0", 49 + "tx-cpu1", "tx-cpu2", "tx-cpu3" and "rx-shared" are supported 50 + for backward compatibility but shouldn't be used for new 51 + additions. 50 52 - marvell,system-controller: a phandle to the system controller. 51 53 52 54 Example for marvell,armada-375-pp2: ··· 91 89 <ICU_GRP_NSR 43 IRQ_TYPE_LEVEL_HIGH>, 92 90 <ICU_GRP_NSR 47 IRQ_TYPE_LEVEL_HIGH>, 93 91 <ICU_GRP_NSR 51 IRQ_TYPE_LEVEL_HIGH>, 94 - <ICU_GRP_NSR 55 IRQ_TYPE_LEVEL_HIGH>; 95 - interrupt-names = "tx-cpu0", "tx-cpu1", "tx-cpu2", 96 - "tx-cpu3", "rx-shared"; 92 + <ICU_GRP_NSR 55 IRQ_TYPE_LEVEL_HIGH>, 93 + <ICU_GRP_NSR 59 IRQ_TYPE_LEVEL_HIGH>, 94 + <ICU_GRP_NSR 63 IRQ_TYPE_LEVEL_HIGH>, 95 + <ICU_GRP_NSR 67 IRQ_TYPE_LEVEL_HIGH>, 96 + <ICU_GRP_NSR 71 IRQ_TYPE_LEVEL_HIGH>, 97 + <ICU_GRP_NSR 129 IRQ_TYPE_LEVEL_HIGH>; 98 + interrupt-names = "hif0", "hif1", "hif2", "hif3", "hif4", 99 + "hif5", "hif6", "hif7", "hif8", "link"; 97 100 port-id = <0>; 98 101 gop-port-id = <0>; 99 102 }; ··· 108 101 <ICU_GRP_NSR 44 IRQ_TYPE_LEVEL_HIGH>, 109 102 <ICU_GRP_NSR 48 IRQ_TYPE_LEVEL_HIGH>, 110 103 <ICU_GRP_NSR 52 IRQ_TYPE_LEVEL_HIGH>, 111 - <ICU_GRP_NSR 56 IRQ_TYPE_LEVEL_HIGH>; 112 - interrupt-names = "tx-cpu0", "tx-cpu1", "tx-cpu2", 113 - "tx-cpu3", "rx-shared"; 104 + <ICU_GRP_NSR 56 IRQ_TYPE_LEVEL_HIGH>, 105 + <ICU_GRP_NSR 60 IRQ_TYPE_LEVEL_HIGH>, 106 + <ICU_GRP_NSR 64 IRQ_TYPE_LEVEL_HIGH>, 107 + <ICU_GRP_NSR 68 IRQ_TYPE_LEVEL_HIGH>, 108 + <ICU_GRP_NSR 72 IRQ_TYPE_LEVEL_HIGH>, 109 + <ICU_GRP_NSR 128 IRQ_TYPE_LEVEL_HIGH>; 110 + interrupt-names = "hif0", "hif1", "hif2", "hif3", "hif4", 111 + "hif5", "hif6", "hif7", "hif8", "link"; 114 112 port-id = <1>; 115 113 gop-port-id = <2>; 116 114 }; ··· 125 113 <ICU_GRP_NSR 45 IRQ_TYPE_LEVEL_HIGH>, 126 114 <ICU_GRP_NSR 49 IRQ_TYPE_LEVEL_HIGH>, 127 115 <ICU_GRP_NSR 53 IRQ_TYPE_LEVEL_HIGH>, 128 - <ICU_GRP_NSR 57 IRQ_TYPE_LEVEL_HIGH>; 129 - interrupt-names = "tx-cpu0", "tx-cpu1", "tx-cpu2", 130 - "tx-cpu3", "rx-shared"; 116 + <ICU_GRP_NSR 57 IRQ_TYPE_LEVEL_HIGH>, 117 + <ICU_GRP_NSR 61 IRQ_TYPE_LEVEL_HIGH>, 118 + <ICU_GRP_NSR 65 IRQ_TYPE_LEVEL_HIGH>, 119 + <ICU_GRP_NSR 69 IRQ_TYPE_LEVEL_HIGH>, 120 + <ICU_GRP_NSR 73 IRQ_TYPE_LEVEL_HIGH>, 121 + <ICU_GRP_NSR 127 IRQ_TYPE_LEVEL_HIGH>; 122 + interrupt-names = "hif0", "hif1", "hif2", "hif3", "hif4", 123 + "hif5", "hif6", "hif7", "hif8", "link"; 131 124 port-id = <2>; 132 125 gop-port-id = <3>; 133 126 };