]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: zynq: Add missing twd timer for mini configurations
authorMichal Simek <michal.simek@amd.com>
Tue, 29 Nov 2022 12:23:20 +0000 (13:23 +0100)
committerMichal Simek <michal.simek@amd.com>
Mon, 5 Dec 2022 07:55:55 +0000 (08:55 +0100)
The commit b7e0750d8872 ("zynq: Convert arm twd timer to DM driver")
switched timer to DM but missing to add nodes to all mini configurations.
Based on it missing timer end up in non functional system where any delay
doesn't work.

Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/2020fc7e3d4760e890265485b3c7e18eb1caf8be.1669724598.git.michal.simek@amd.com
arch/arm/dts/zynq-cse-nand.dts
arch/arm/dts/zynq-cse-nor.dts
arch/arm/dts/zynq-cse-qspi.dtsi

index 32cb3bffcb948e6700a4e53101cbdf5d39dd1fe4..27adfb921622e614a45b30030f91e2d6308ebfca 100644 (file)
                                reg = <0x100 0x100>;
                        };
                };
+
+               scutimer: timer@f8f00600 {
+                       u-boot,dm-pre-reloc;
+                       compatible = "arm,cortex-a9-twd-timer";
+                       reg = <0xf8f00600 0x20>;
+                       clock-frequency = <333333333>;
+               };
        };
 };
 
index 197fbd717aae165357cd14d6ebd15899e091ca8c..f22a149f792422add1c734bcffb44f5de27531a4 100644 (file)
                        #address-cells = <1>;
                        #size-cells = <1>;
                };
+
+               scutimer: timer@f8f00600 {
+                       u-boot,dm-pre-reloc;
+                       compatible = "arm,cortex-a9-twd-timer";
+                       reg = <0xf8f00600 0x20>;
+                       clock-frequency = <333333333>;
+               };
        };
 };
 
index 38410eeca88666afcc3cb8fcf47a94630ab66ade..f7ac92b8026d776992ed5e285d96d6a0d7becccd 100644 (file)
                                reg = <0x100 0x100>;
                        };
                };
+
+               scutimer: timer@f8f00600 {
+                       u-boot,dm-pre-reloc;
+                       compatible = "arm,cortex-a9-twd-timer";
+                       reg = <0xf8f00600 0x20>;
+                       clock-frequency = <333333333>;
+               };
        };
 
 };