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

dt-bindings: net: altera: tse: add an optional pcs register range

Some implementations of the TSE have their PCS as an external bloc,
exposed at its own register range. Document this, and add a new example
showing a case using the pcs and the new phylink conversion to connect
an sfp port to a TSE mac.

Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Maxime Chevallier and committed by
David S. Miller
565f02fc fef29982

+27
+27
Documentation/devicetree/bindings/net/altr,tse.yaml
··· 95 95 properties: 96 96 reg: 97 97 minItems: 6 98 + maxItems: 7 98 99 reg-names: 100 + minItems: 6 99 101 items: 100 102 - const: control_port 101 103 - const: rx_csr ··· 105 103 - const: rx_resp 106 104 - const: tx_csr 107 105 - const: tx_desc 106 + - const: pcs 108 107 109 108 unevaluatedProperties: false 110 109 111 110 examples: 111 + - | 112 + tse_sub_0: ethernet@c0100000 { 113 + compatible = "altr,tse-msgdma-1.0"; 114 + reg = <0xc0100000 0x00000400>, 115 + <0xc0101000 0x00000020>, 116 + <0xc0102000 0x00000020>, 117 + <0xc0103000 0x00000008>, 118 + <0xc0104000 0x00000020>, 119 + <0xc0105000 0x00000020>, 120 + <0xc0106000 0x00000100>; 121 + reg-names = "control_port", "rx_csr", "rx_desc", "rx_resp", "tx_csr", "tx_desc", "pcs"; 122 + interrupt-parent = <&intc>; 123 + interrupts = <0 44 4>,<0 45 4>; 124 + interrupt-names = "rx_irq","tx_irq"; 125 + rx-fifo-depth = <2048>; 126 + tx-fifo-depth = <2048>; 127 + max-frame-size = <1500>; 128 + local-mac-address = [ 00 00 00 00 00 00 ]; 129 + altr,has-supplementary-unicast; 130 + altr,has-hash-multicast-filter; 131 + sfp = <&sfp0>; 132 + phy-mode = "sgmii"; 133 + managed = "in-band-status"; 134 + }; 112 135 - | 113 136 tse_sub_1_eth_tse_0: ethernet@1,00001000 { 114 137 compatible = "altr,tse-msgdma-1.0";