diff options
author | Anson Huang <Anson.Huang@nxp.com> | 2019-06-19 04:07:08 +0300 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2019-06-24 04:15:57 +0300 |
commit | db10496c0064ba3355936de801cd3ba0b6711bd1 (patch) | |
tree | 1aa30f18bf67e7124774c2cf0b8440209696b31c /drivers/soc/imx | |
parent | 283172b01956e9281885dccee9fb9727e07a55e0 (diff) | |
download | linux-db10496c0064ba3355936de801cd3ba0b6711bd1.tar.xz |
soc: imx: Add i.MX8MN SoC driver support
This patch adds i.MX8MN SoC driver support:
root@imx8mnevk:~# cat /sys/devices/soc0/family
Freescale i.MX
root@imx8mnevk:~# cat /sys/devices/soc0/machine
NXP i.MX8MNano DDR4 EVK board
root@imx8mnevk:~# cat /sys/devices/soc0/soc_id
i.MX8MN
root@imx8mnevk:~# cat /sys/devices/soc0/revision
1.0
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'drivers/soc/imx')
-rw-r--r-- | drivers/soc/imx/soc-imx8.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/soc/imx/soc-imx8.c b/drivers/soc/imx/soc-imx8.c index 34ab993bf5fb..9fb5293469f8 100644 --- a/drivers/soc/imx/soc-imx8.c +++ b/drivers/soc/imx/soc-imx8.c @@ -79,9 +79,15 @@ static const struct imx8_soc_data imx8mm_soc_data = { .soc_revision = imx8mm_soc_revision, }; +static const struct imx8_soc_data imx8mn_soc_data = { + .name = "i.MX8MN", + .soc_revision = imx8mm_soc_revision, +}; + static const struct of_device_id imx8_soc_match[] = { { .compatible = "fsl,imx8mq", .data = &imx8mq_soc_data, }, { .compatible = "fsl,imx8mm", .data = &imx8mm_soc_data, }, + { .compatible = "fsl,imx8mn", .data = &imx8mn_soc_data, }, { } }; |