diff mbox series

[3/4] dts: synquacer: Fix "arm, armv7-timer-mem" node address sizes

Message ID 20221206-synquacer-dts-v1-3-73eb52e391e9@kernel.org
State Accepted
Commit 563f238b6714bbd150a2e96cb1d7434e1e9d0e49
Headers show
Series Synquacer DT schema fixes | expand

Commit Message

Rob Herring (Arm) Dec. 6, 2022, 4:16 p.m. UTC
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 | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Comments

Tom Rini Jan. 3, 2023, 3:41 p.m. UTC | #1
On Tue, Dec 06, 2022 at 10:16:31AM -0600, Rob Herring wrote:

> 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>

Applied to u-boot/next, thanks!
diff mbox series

Patch

diff --git a/arch/arm/dts/synquacer-sc2a11.dtsi b/arch/arm/dts/synquacer-sc2a11.dtsi
index 0e1bc164549f..049afcb0af8a 100644
--- a/arch/arm/dts/synquacer-sc2a11.dtsi
+++ b/arch/arm/dts/synquacer-sc2a11.dtsi
@@ -364,13 +364,13 @@ 
     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>;
         };
     };