BCM270X_DT: Add new Ethernet DT parameters
authorPhil Elwell <phil@raspberrypi.org>
Tue, 27 Nov 2018 16:56:50 +0000 (16:56 +0000)
committerpopcornmix <popcornmix@gmail.com>
Mon, 13 May 2019 23:08:09 +0000 (00:08 +0100)
commit200609795123b59ae9e43f7c43a23bb5da1813bc
tree9b8d67bad89e565416bfee3837331ebd3d54e4c9
parent599aeba4dc081babb6d5f4de483988ea51d61e54
BCM270X_DT: Add new Ethernet DT parameters

Add "eth_downshift_after" DT parameter to allow the delay before the
downshift to be specified. The default is 2 auto-negotiation cycles,
and legal values are 2, 3, 4, 5 and 0 (disabled).

Add "eth_max_speed" DT parameter as a way of prohibiting 1000Mbps
links. This can be used to avoid the delay until the downshift mechanism
activates. Legal values are 10, 100 and 1000, where the default is
unlimited (effectively 1000Mbps).

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
arch/arm/boot/dts/bcm283x-rpi-lan7515.dtsi
arch/arm/boot/dts/overlays/README