diff options
author | Madalin Bucur <madalin.bucur@nxp.com> | 2017-09-18 22:39:44 +0200 |
---|---|---|
committer | Li Yang <leoyang.li@nxp.com> | 2017-09-22 20:33:07 +0200 |
commit | 2c62f8b6fbd0431ccfb31b730a299d864a6bb8c9 (patch) | |
tree | addc734f06a141f5ff2321b61152974b463dc33c /drivers/soc | |
parent | soc/fsl/qbman: Rework portal mapping calls for ARM/PPC (diff) | |
download | linux-2c62f8b6fbd0431ccfb31b730a299d864a6bb8c9.tar.xz linux-2c62f8b6fbd0431ccfb31b730a299d864a6bb8c9.zip |
soc/fsl/qbman: add QMAN_REV32
Add revision 3.2 of the QBMan block. This is the version
for LS1043A and LS1046A SoCs.
Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com>
Signed-off-by: Roy Pledge <roy.pledge@nxp.com>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
Diffstat (limited to 'drivers/soc')
-rw-r--r-- | drivers/soc/fsl/qbman/qman_ccsr.c | 2 | ||||
-rw-r--r-- | drivers/soc/fsl/qbman/qman_priv.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/drivers/soc/fsl/qbman/qman_ccsr.c b/drivers/soc/fsl/qbman/qman_ccsr.c index 607355b91d45..79cba58387a5 100644 --- a/drivers/soc/fsl/qbman/qman_ccsr.c +++ b/drivers/soc/fsl/qbman/qman_ccsr.c @@ -719,6 +719,8 @@ static int fsl_qman_probe(struct platform_device *pdev) qman_ip_rev = QMAN_REV30; else if (major == 3 && minor == 1) qman_ip_rev = QMAN_REV31; + else if (major == 3 && minor == 2) + qman_ip_rev = QMAN_REV32; else { dev_err(dev, "Unknown QMan version\n"); return -ENODEV; diff --git a/drivers/soc/fsl/qbman/qman_priv.h b/drivers/soc/fsl/qbman/qman_priv.h index 9407d2e72c02..75a8f905f8f7 100644 --- a/drivers/soc/fsl/qbman/qman_priv.h +++ b/drivers/soc/fsl/qbman/qman_priv.h @@ -183,6 +183,7 @@ struct qm_portal_config { #define QMAN_REV20 0x0200 #define QMAN_REV30 0x0300 #define QMAN_REV31 0x0301 +#define QMAN_REV32 0x0302 extern u16 qman_ip_rev; /* 0 if uninitialised, otherwise QMAN_REVx */ #define QM_FQID_RANGE_START 1 /* FQID 0 reserved for internal use */ |