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

Eugen Hristev
2020-12-05T10:02:58Z

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 --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 at 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 at 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;
};
--
2.25.1