]> git.baikalelectronics.ru Git - uboot.git/commit
net: tsec: Support <reg> property from the subnode "queue-group"
authorBin Meng <bmeng.cn@gmail.com>
Sun, 14 Mar 2021 12:15:01 +0000 (20:15 +0800)
committerPriyanka Jain <priyanka.jain@nxp.com>
Thu, 15 Apr 2021 08:52:17 +0000 (14:22 +0530)
commit0a60c5afd9bf6f9e117d82c61a321d972e8833a3
tree628e2844644c0049173b2a48bbeaaf9e9bb47e88
parent1e3f95a312625a7a2108900fc8b0a9dc2be0b25f
net: tsec: Support <reg> property from the subnode "queue-group"

At present the tsec driver uses a non-standard DT bindings to get
its <reg> base / size. The upstream Linux kernel seems to require
the <reg> base / size to be put under a subnode of the eTSEC node
with a name prefix "queue-group". This is not documented in the
kernel DT bindings, but it looks every dtsi file that contains the
eTSEC node was written like this.

This commit updates the tsec driver to handle this case.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
drivers/net/tsec.c