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)
committerJo-Philipp Wich <jo@mein.io>
Tue, 18 Dec 2018 16:48:16 +0000 (17:48 +0100)
commit3d7865811019e6404c8eb581736e0fa7406439d1
treecaca5d6937198ee4d28d194034a0bc4d74773c90
parent631bc7cb20ca43fc252a57af4c376a159f1e6cee
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>
(backported from a9839fe638d3902f7fb1d770ce6fece15bdc5c6d)
target/linux/generic/files/drivers/net/phy/rtl8367b.c