diff mbox

ARM: dts: at91: sama5d2_ptc_ek: use TCB0 as timers

Message ID 20171220090440.18153-1-nicolas.ferre@microchip.com (mailing list archive)
State New, archived
Headers show

Commit Message

Nicolas Ferre Dec. 20, 2017, 9:04 a.m. UTC
Use tcb0 for timers as selected in sama5_defconfig.

Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
---
Hi Alex,

Adding the newly added sama5d2_ptc_ek to the series.
Not tested though.

Regards,
  Nicolas

 arch/arm/boot/dts/at91-sama5d2_ptc_ek.dts | 12 ++++++++++++
 1 file changed, 12 insertions(+)

Comments

Alexandre Belloni Dec. 20, 2017, 10 a.m. UTC | #1
On 20/12/2017 at 10:04:40 +0100, Nicolas Ferre wrote:
> Use tcb0 for timers as selected in sama5_defconfig.
> 
> Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
> ---
> Hi Alex,
> 
> Adding the newly added sama5d2_ptc_ek to the series.
> Not tested though.
> 
> Regards,
>   Nicolas
> 
>  arch/arm/boot/dts/at91-sama5d2_ptc_ek.dts | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
> 
Applied, thanks.
diff mbox

Patch

diff --git a/arch/arm/boot/dts/at91-sama5d2_ptc_ek.dts b/arch/arm/boot/dts/at91-sama5d2_ptc_ek.dts
index 186cb03e2672..e603a267bdf1 100644
--- a/arch/arm/boot/dts/at91-sama5d2_ptc_ek.dts
+++ b/arch/arm/boot/dts/at91-sama5d2_ptc_ek.dts
@@ -149,6 +149,18 @@ 
 				};
 			};
 
+			tcb0: timer@f800c000 {
+				timer0: timer@0 {
+					compatible = "atmel,tcb-timer";
+					reg = <0>;
+				};
+
+				timer1: timer@1 {
+					compatible = "atmel,tcb-timer";
+					reg = <1>;
+				};
+			};
+
 			uart0: serial@f801c000 {
 				pinctrl-names = "default";
 				pinctrl-0 = <&pinctrl_uart0_default>;