From: "Clément Léger" <clement.leger@bootlin.com>
To: Eugen Hristev <eugen.hristev@microchip.com>,
Ludovic Desroches <ludovic.desroches@microchip.com>
Cc: u-boot@lists.denx.de,
"Nicolas Ferre" <nicolas.ferre@microchip.com>,
"Thomas Petazzoni" <thomas.petazzoni@bootlin.com>,
"Claudiu Beznea" <Claudiu.Beznea@microchip.com>,
"Clément Léger" <clement.leger@bootlin.com>
Subject: [PATCH v6 3/4] ARM: dts: at91: sama5d2: add TCB node
Date: Wed, 9 Mar 2022 10:22:58 +0100 [thread overview]
Message-ID: <20220309092259.76543-4-clement.leger@bootlin.com> (raw)
In-Reply-To: <20220309092259.76543-1-clement.leger@bootlin.com>
Add the device-tree node to describe the TCB timer.
Signed-off-by: Clément Léger <clement.leger@bootlin.com>
---
arch/arm/dts/sama5d2.dtsi | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/arch/arm/dts/sama5d2.dtsi b/arch/arm/dts/sama5d2.dtsi
index 1904f16eb6..ffbb171644 100644
--- a/arch/arm/dts/sama5d2.dtsi
+++ b/arch/arm/dts/sama5d2.dtsi
@@ -1,4 +1,5 @@
#include "skeleton.dtsi"
+#include <dt-bindings/interrupt-controller/irq.h>
/ {
model = "Atmel SAMA5D2 family SoC";
@@ -639,6 +640,21 @@
status = "disabled";
};
+ tcb0: timer@f800c000 {
+ compatible = "atmel,sama5d2-tcb", "simple-mfd", "syscon";
+ reg = <0xf800c000 0x100>;
+ interrupts = <35 IRQ_TYPE_LEVEL_HIGH 0>;
+ clocks = <&tcb0_clk>, <&tcb0_gclk>, <&clk32k>;
+ clock-names = "t0_clk", "gclk", "slow_clk";
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ timer0: timer@0 {
+ compatible = "atmel,tcb-timer";
+ reg = <0>, <1>;
+ };
+ };
+
uart0: serial@f801c000 {
compatible = "atmel,at91sam9260-usart";
reg = <0xf801c000 0x100>;
--
2.34.1
next prev parent reply other threads:[~2022-03-09 9:26 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-09 9:22 [PATCH v6 0/4] add TCB driver for sama5d2 Clément Léger
2022-03-09 9:22 ` [PATCH v6 1/4] timer: atmel_tcb_timer: add atmel_tcb driver Clément Léger
2022-03-10 12:54 ` Claudiu.Beznea
2022-03-09 9:22 ` [PATCH v6 2/4] ARM: dts: at91: sama5d2: add AIC node Clément Léger
2022-03-09 9:45 ` Eugen.Hristev
2022-03-09 9:53 ` Clément Léger
2022-03-09 9:22 ` Clément Léger [this message]
2022-03-09 9:22 ` [PATCH v6 4/4] configs: sama5d2: enable option CONFIG_ATMEL_TCB_TIMER Clément Léger
2022-03-10 12:55 ` Claudiu.Beznea
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220309092259.76543-4-clement.leger@bootlin.com \
--to=clement.leger@bootlin.com \
--cc=Claudiu.Beznea@microchip.com \
--cc=eugen.hristev@microchip.com \
--cc=ludovic.desroches@microchip.com \
--cc=nicolas.ferre@microchip.com \
--cc=thomas.petazzoni@bootlin.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox