]> git.baikalelectronics.ru Git - uboot.git/commitdiff
dts: synquacer: Fix "arm, armv7-timer-mem" node address sizes
authorRob Herring <robh@kernel.org>
Tue, 6 Dec 2022 16:16:31 +0000 (10:16 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 2 Jan 2023 19:05:44 +0000 (14:05 -0500)
The "arm,armv7-timer-mem" schema defines the address sizes for child
nodes to be 32-bit as there's no need for 64-bit offsets and sizes of
the child 'frame' nodes.

Signed-off-by: Rob Herring <robh@kernel.org>
arch/arm/dts/synquacer-sc2a11.dtsi

index 0e1bc164549f57099bdb06c69ea1830f8426a720..049afcb0af8a1f2cb29a187e87c155bb24f30fc5 100644 (file)
     timer@2a810000 {
         compatible = "arm,armv7-timer-mem";
         reg = <0x0 0x2a810000 0x0 0x10000>;
-        #address-cells = <2>;
-        #size-cells = <2>;
-        ranges;
-        frame@2a830000 {
+        #address-cells = <1>;
+        #size-cells = <1>;
+        ranges = <0x0 0x0 0x2a810000 0x30000>;
+        frame@20000 {
             frame-number = <0>;
             interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
-            reg = <0x0 0x2a830000 0x0 0x10000>;
+            reg = <0x20000 0x10000>;
         };
     };