diff --git a/drivers/nvmem/ocotp.c b/drivers/nvmem/ocotp.c index 34e33de..62f5107 100644 --- a/drivers/nvmem/ocotp.c +++ b/drivers/nvmem/ocotp.c @@ -728,6 +728,14 @@ .format_mac = vf610_ocotp_format_mac, }; +static struct imx_ocotp_data imx8mp_ocotp_data = { + .num_regs = 1024, + .addr_to_offset = imx6sl_addr_to_offset, + .mac_offsets_num = 2, + .mac_offsets = { 0x90, 0x96 }, + .format_mac = imx_ocotp_format_mac, +}; + static struct imx_ocotp_data imx8mq_ocotp_data = { .num_regs = 2048, .addr_to_offset = imx6sl_addr_to_offset, @@ -753,6 +761,9 @@ .compatible = "fsl,imx6ull-ocotp", .data = &imx6ull_ocotp_data, }, { + .compatible = "fsl,imx8mp-ocotp", + .data = &imx8mp_ocotp_data, + }, { .compatible = "fsl,imx8mq-ocotp", .data = &imx8mq_ocotp_data, }, {