diff options
author | Peng Fan <peng.fan@nxp.com> | 2021-08-07 11:01:09 +0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2021-08-09 15:46:51 +0300 |
commit | 4b9423e6f2f7904fe9465d0a3706740c07d9390a (patch) | |
tree | 543f483f0a2497922dddf41c15671c921a53f9e1 /arch/arm | |
parent | e8b68048e1deca93976a2656faf778f877a208b2 (diff) | |
download | u-boot-4b9423e6f2f7904fe9465d0a3706740c07d9390a.tar.xz |
imx8ulp: move struct mu_type to common header
Move struct mu_type to common header to make it reusable by upower and
S400
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/include/asm/arch-imx8ulp/imx-regs.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-imx8ulp/imx-regs.h b/arch/arm/include/asm/arch-imx8ulp/imx-regs.h index 5231155089..af6845cbff 100644 --- a/arch/arm/include/asm/arch-imx8ulp/imx-regs.h +++ b/arch/arm/include/asm/arch-imx8ulp/imx-regs.h @@ -63,6 +63,31 @@ #if !(defined(__KERNEL_STRICT_NAMES) || defined(__ASSEMBLY__)) #include <asm/types.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; +}; + struct usbphy_regs { u32 usbphy_pwd; /* 0x000 */ u32 usbphy_pwd_set; /* 0x004 */ |