diff mbox series

[v2,16/34] ARM: dts: sama7g5: add pit64b support

Message ID 20201205100316.179531-17-eugen.hristev@microchip.com
State Accepted
Commit b032230f877ce6226cca002b00a258f9bf8d4f84
Delegated to: Eugen Hristev
Headers show
Series Sama7g5 Evaluation Kit support | expand

Commit Message

Eugen Hristev Dec. 5, 2020, 10:02 a.m. UTC
From: Claudiu Beznea <claudiu.beznea@microchip.com>

Add DT bindings for PIT64B driver.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
---
 arch/arm/dts/sama7g5.dtsi          | 8 ++++++++
 arch/arm/dts/sama7g5ek-u-boot.dtsi | 4 ++++
 2 files changed, 12 insertions(+)
diff mbox series

Patch

diff --git a/arch/arm/dts/sama7g5.dtsi b/arch/arm/dts/sama7g5.dtsi
index a2554dcfff..f633c2f81e 100644
--- a/arch/arm/dts/sama7g5.dtsi
+++ b/arch/arm/dts/sama7g5.dtsi
@@ -86,6 +86,14 @@ 
 				status = "disabled";
 			};
 
+			pit64b0: timer@e1800000 {
+				compatible = "microchip,sama7g5-pit64b";
+				reg = <0xe1800000 0x4000>;
+				clocks = <&pmc PMC_TYPE_PERIPHERAL 70>, <&pmc PMC_TYPE_GCK 70>;
+				clock-names = "pclk", "gclk";
+				status = "okay";
+			};
+
 			uart0: serial@e1824200 {
 				compatible = "atmel,at91sam9260-usart";
 				reg = <0xe1824200 0x200>;
diff --git a/arch/arm/dts/sama7g5ek-u-boot.dtsi b/arch/arm/dts/sama7g5ek-u-boot.dtsi
index 95d9c3bff2..27e0f316f3 100644
--- a/arch/arm/dts/sama7g5ek-u-boot.dtsi
+++ b/arch/arm/dts/sama7g5ek-u-boot.dtsi
@@ -31,6 +31,10 @@ 
 	u-boot,dm-pre-reloc;
 };
 
+&pit64b0 {
+	u-boot,dm-pre-reloc;
+};
+
 &pmc {
 	u-boot,dm-pre-reloc;
 };