ARM: dts: at91: sama5d2_xplained: add pwm controller

Add pwm controller bindings for sama5d2_xplained
and enable it.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
This commit is contained in:
Claudiu Beznea 2017-05-31 12:23:12 +03:00 committed by Alexandre Belloni
parent 07c0986d6e
commit eb0b59d49b
2 changed files with 12 additions and 0 deletions

View File

@ -227,6 +227,10 @@ vdd_sdhc_1v8_reg: REG_LDO4 {
};
};
pwm0: pwm@f802c000 {
status = "okay";
};
flx0: flexcom@f8034000 {
atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_USART>;
status = "disabled"; /* conflict with ISC_D2 & ISC_D3 data pins */

View File

@ -1142,6 +1142,14 @@ AT91_XDMAC_DT_PERID(0))>,
status = "disabled";
};
pwm0: pwm@f802c000 {
compatible = "atmel,sama5d2-pwm";
reg = <0xf802c000 0x4000>;
interrupts = <38 IRQ_TYPE_LEVEL_HIGH 7>;
#pwm-cells = <3>;
clocks = <&pwm_clk>;
};
sfr: sfr@f8030000 {
compatible = "atmel,sama5d2-sfr", "syscon";
reg = <0xf8030000 0x98>;