octeon: honor disabled sgmii device tree nodes
authorRoman Kuzmitskii <damex.pp@icloud.com>
Sun, 1 Nov 2020 20:46:05 +0000 (20:46 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 5 Nov 2020 19:29:48 +0000 (19:29 +0000)
commit577ac8ce8464855cf26644197f57e32cb39c4ff9
tree35fc8e0fd461a621cd2f302177d4f7af5235d7fe
parenta8ceda752c8f6d5ee84bfc4d2d24a5b326c9e671
octeon: honor disabled sgmii device tree nodes

adds patch to octeon ethernet driver that lets sgmii interface
device tree node to be disabled and that disabled interface
won't be unnecessarily initialized.

It solves the problem with octeon boards that have 8 sgmii or more ports
initialized but have nothing connected to them.

Tested-by: Johannes Kimmel <fff@bareminimum.eu>
Signed-off-by: Roman Kuzmitskii <damex.pp@icloud.com>
target/linux/octeon/patches-5.4/701-honor_sgmii_node_device_tree_status.patch [new file with mode: 0644]