]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: imxrt1020: add gpt1 node
authorGiulio Benetti <giulio.benetti@benettiengineering.com>
Thu, 13 May 2021 10:18:33 +0000 (12:18 +0200)
committerStefano Babic <sbabic@denx.de>
Wed, 9 Jun 2021 11:01:33 +0000 (13:01 +0200)
Add gpt1 node for using it as timer.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
arch/arm/dts/imxrt1020.dtsi

index 0a3a3b451a776d7b3a874ac3a910286206fffd8c..cab608c644c2cb30b45f41ced2a7670aa35b4619 100644 (file)
                        interrupt-controller;
                        #interrupt-cells = <2>;
                };
+
+               gpt1: gpt1@401ec000 {
+                       compatible = "fsl,imxrt-gpt";
+                       reg = <0x401ec000 0x4000>;
+                       interrupts = <100>;
+                       clocks = <&osc>;
+                       status = "disabled";
+               };
        };
 };