]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: sama7g5: add pit64b support
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Tue, 2 Jun 2020 15:42:18 +0000 (18:42 +0300)
committerEugen Hristev <eugen.hristev@microchip.com>
Thu, 7 Jan 2021 07:44:15 +0000 (09:44 +0200)
Add DT bindings for PIT64B driver.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
arch/arm/dts/sama7g5.dtsi
arch/arm/dts/sama7g5ek-u-boot.dtsi

index 7918b9174e269a43c7591aeb0ab6e003e6344910..d7906c7f8610c19b0a3630b53240419de80a952c 100644 (file)
                                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>;
index 95d9c3bff2cce2217dc49013aff54e80050c310a..27e0f316f31da3e769f18aeee7b74ddcd5643518 100644 (file)
        u-boot,dm-pre-reloc;
 };
 
+&pit64b0 {
+       u-boot,dm-pre-reloc;
+};
+
 &pmc {
        u-boot,dm-pre-reloc;
 };