net: tsec: Add the compatible string "gianfar" support

Add compatible string "gianfar" support and update the
device-tree-bindings doc.

Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
This commit is contained in:
Hou Zhiqiang
2020-07-16 18:09:14 +08:00
committed by Tom Rini
parent 25a2e24e94
commit 7fb568de53
3 changed files with 19 additions and 3 deletions

View File

@@ -394,6 +394,10 @@ struct tsec {
#define TX_BUF_CNT 2
struct tsec_data {
u32 mdio_regs_off;
};
struct tsec_private {
struct txbd8 __iomem txbd[TX_BUF_CNT];
struct rxbd8 __iomem rxbd[PKTBUFSRX];