Skip to content

Commit db10496

Browse files
Anson-HuangShawn Guo
authored andcommitted
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 <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
1 parent 283172b commit db10496

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

drivers/soc/imx/soc-imx8.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,15 @@ static const struct imx8_soc_data imx8mm_soc_data = {
7979
.soc_revision = imx8mm_soc_revision,
8080
};
8181

82+
static const struct imx8_soc_data imx8mn_soc_data = {
83+
.name = "i.MX8MN",
84+
.soc_revision = imx8mm_soc_revision,
85+
};
86+
8287
static const struct of_device_id imx8_soc_match[] = {
8388
{ .compatible = "fsl,imx8mq", .data = &imx8mq_soc_data, },
8489
{ .compatible = "fsl,imx8mm", .data = &imx8mm_soc_data, },
90+
{ .compatible = "fsl,imx8mn", .data = &imx8mn_soc_data, },
8591
{ }
8692
};
8793

0 commit comments

Comments
 (0)