From: Claudiu Beznea <claudiu.bez...@microchip.com>

Add DT bindings for PIT64B driver.

Signed-off-by: Claudiu Beznea <claudiu.bez...@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@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;
 };
-- 
2.25.1

Reply via email to