Home
last modified time | relevance | path

Searched hist:"6 fb6bee1dfd7fd896c44cc21b02b4ef3aad3bbd0" (Results 1 – 1 of 1) sorted by relevance

/rk3399_ARM-atf/fdts/
H A Drdaspen.dts6fb6bee1dfd7fd896c44cc21b02b4ef3aad3bbd0 Sun Sep 21 19:47:48 UTC 2025 Ahmed Azeem <ahmed.azeem@arm.com> fix(rdaspen): fix timer bus cells & fix ranges

The timer node is a child bus that should expose frames via a
translating address space per the timer-with-frames binding.
The #size-cells were updated to <1> from <2>, due to a
validation warning when running dt_validate:

/home/root/fdt/fdt: timer@1a810000: #size-cells: 1 was expected

Updating the cell-size to 1 fixes it, and another fix is also
applied to avoid an empty range property.

This models the timer as a proper translating bus:
- Remove clock-frequency since it is already configured in firmware.
- Update #address-cells from <2> to <1>/
- Update #size-cells from <2> to <1>.
- Provide a non-empty ranges mapping the child space at
0x1a810000 over a 0x30000 window.
- Convert frame and reg values to offsets within the child space.

This removes the dtc warnings in dt_validate and aligns with the
dt-schema expectation for the timer-with-frames layout used by
ACS DT validation.

Change-Id: I6deb9ecc0946176b9f9992d80c95db4106eb5820
Signed-off-by: Ahmed Azeem <ahmed.azeem@arm.com>