Re: [PATCH 1/2] m68k: mcf5441x: add PWM defines
From: Greg Ungerer
Date: Mon Oct 05 2026 - 09:03:24 EST
Hi Angelo,
On 5/10/26 20:06, Angelo Dureghello wrote:
> From: Angelo Dureghello <adureghello@xxxxxxxxxxxx>
>
> Add PWM defines for the mcf5441x family.
>
> Signed-off-by: Angelo Dureghello <adureghello@xxxxxxxxxxxx>
Looks good to me, I will apply to the m68knommu git tree.
Thanks
Greg
> ---
> arch/m68k/include/asm/m5441xsim.h | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/arch/m68k/include/asm/m5441xsim.h b/arch/m68k/include/asm/m5441xsim.h
> index ea01c7753b7b..aa925fac87f4 100644
> --- a/arch/m68k/include/asm/m5441xsim.h
> +++ b/arch/m68k/include/asm/m5441xsim.h
> @@ -375,4 +375,11 @@
> #define MCF_IRQ_BOFF1 (MCFINT1_VECBASE + MCFINT1_FLEXCAN1_BOFF)
> #define MCF_IRQ_ERR1 (MCFINT1_VECBASE + MCFINT1_FLEXCAN1_ERR)
>
> +/*
> + * PWM module
> + */
> +#define MCFPWM_BASE 0xec088000
> +#define MCFPWM_SIZE 0x150
> +#define MCFPWM_SUB_SIZE 0x50
> +
> #endif /* m5441xsim_h */
>