summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudiu Beznea <claudiu.beznea@microchip.com>2020-06-02 18:42:18 +0300
committerEugen Hristev <eugen.hristev@microchip.com>2021-01-07 09:44:15 +0200
commitb032230f877ce6226cca002b00a258f9bf8d4f84 (patch)
tree2819f67f39b4c1e034aa13dbd85ee90db7563c63
parent2efb34314d423c80d02e76a4bdc46cfc3a892b1e (diff)
ARM: dts: sama7g5: add pit64b support
Add DT bindings for PIT64B driver. Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
-rw-r--r--arch/arm/dts/sama7g5.dtsi8
-rw-r--r--arch/arm/dts/sama7g5ek-u-boot.dtsi4
2 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/dts/sama7g5.dtsi b/arch/arm/dts/sama7g5.dtsi
index 7918b9174e2..d7906c7f861 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 95d9c3bff2c..27e0f316f31 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;
};