dt-bindings: net: Update Freescale TSEC to support "queue-group"
authorBin Meng <bmeng.cn@gmail.com>
Sun, 14 Mar 2021 12:15:00 +0000 (20:15 +0800)
committerPriyanka Jain <priyanka.jain@nxp.com>
Mon, 26 Apr 2021 06:48:36 +0000 (12:18 +0530)
commit6076f2676dd010a146af803caf2a55840767d9b4
tree967d811be3f74b723fe3d190daf4e8bcba5136a7
parent20ef77ae440b90a986e240e9dd0b517672df0569
dt-bindings: net: Update Freescale TSEC to support "queue-group"

At present the Freescale TSEC node DT bindings doc requires a <reg>
property in the TSEC node. But this might not always be the case.
In the upstream Linux kernel, there is no DT bindings doc for it
but the kernel driver tests a subnode of a name prefixed with
"queue-group", as we can see from gfar_of_init():

  for_each_available_child_of_node(np, child) {
      if (!of_node_name_eq(child, "queue-group"))
  ...

in drivers/net/ethernet/freescale/gianfar.c

Update our DT bindings to describe this alternate description.

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>
doc/device-tree-bindings/net/fsl-tsec-phy.txt