misc: s4mu: Support iMX93 with Sentinel MU

Support iMX93 communicate with Sentinel

Signed-off-by: Peng Fan <peng.fan@nxp.com>
This commit is contained in:
Peng Fan 2022-07-26 16:40:50 +08:00 committed by Stefano Babic
parent 03fcf96651
commit 45fed324b5
2 changed files with 31 additions and 0 deletions

View file

@ -19,4 +19,34 @@
#define WDG4_BASE_ADDR 0x424a0000UL
#define WDG5_BASE_ADDR 0x424b0000UL
#if !(defined(__KERNEL_STRICT_NAMES) || defined(__ASSEMBLY__))
#include <asm/types.h>
#include <stdbool.h>
struct mu_type {
u32 ver;
u32 par;
u32 cr;
u32 sr;
u32 reserved0[60];
u32 fcr;
u32 fsr;
u32 reserved1[2];
u32 gier;
u32 gcr;
u32 gsr;
u32 reserved2;
u32 tcr;
u32 tsr;
u32 rcr;
u32 rsr;
u32 reserved3[52];
u32 tr[16];
u32 reserved4[16];
u32 rr[16];
u32 reserved5[14];
u32 mu_attr;
};
#endif
#endif

View file

@ -219,6 +219,7 @@ static struct misc_ops imx8ulp_mu_ops = {
static const struct udevice_id imx8ulp_mu_ids[] = {
{ .compatible = "fsl,imx8ulp-mu" },
{ .compatible = "fsl,imx93-mu-s4" },
{ }
};