Re: [PATCH 7/9] ARM: dts: microchip: sama7d65: Add PWM support

From: Claudiu Beznea
Date: Sat Jun 07 2025 - 07:42:54 EST




On 12.05.2025 22:27, Ryan.Wanner@xxxxxxxxxxxxx wrote:
> From: Ryan Wanner <Ryan.Wanner@xxxxxxxxxxxxx>
>
> Add support for PWMs to the SAMA7D65 SoC.
>
> Signed-off-by: Ryan Wanner <Ryan.Wanner@xxxxxxxxxxxxx>

Reviewed-by: Claudiu Beznea <claudiu.beznea@xxxxxxxxx>

> ---
> arch/arm/boot/dts/microchip/sama7d65.dtsi | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/arch/arm/boot/dts/microchip/sama7d65.dtsi b/arch/arm/boot/dts/microchip/sama7d65.dtsi
> index 90cbea576d91..796909fa2368 100644
> --- a/arch/arm/boot/dts/microchip/sama7d65.dtsi
> +++ b/arch/arm/boot/dts/microchip/sama7d65.dtsi
> @@ -293,6 +293,15 @@ pit64b1: timer@e1804000 {
> clock-names = "pclk", "gclk";
> };
>
> + pwm: pwm@e1818000 {
> + compatible = "microchip,sama7d65-pwm", "atmel,sama5d2-pwm";
> + reg = <0xe1818000 0x500>;
> + interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
> + clocks = <&pmc PMC_TYPE_PERIPHERAL 72>;
> + #pwm-cells = <3>;
> + status = "disabled";
> + };
> +
> flx0: flexcom@e1820000 {
> compatible = "microchip,sama7d65-flexcom", "atmel,sama5d2-flexcom";
> reg = <0xe1820000 0x200>;