generic: rtl8367b: make it possible to specify cpu_port via DT
authorChristian Lamparter <chunkeey@gmail.com>
Wed, 17 Oct 2018 20:37:37 +0000 (22:37 +0200)
committerJohn Crispin <john@phrozen.org>
Mon, 26 Nov 2018 11:05:46 +0000 (12:05 +0100)
commita9839fe638d3902f7fb1d770ce6fece15bdc5c6d
treedb7ee5ec254f1799e5519c680298c2b3c86c8dd6
parent910c2f9e68554ed36f622d005c76f39780b367ab
generic: rtl8367b: make it possible to specify cpu_port via DT

This patch adds the feature to parse the existing cpu_port DT
property, which is used to specify which port is the cpu port
of the switch.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
target/linux/generic/files/drivers/net/phy/rtl8367b.c