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 0e1bc16..049afcb 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>;
         };
     };