diff options
author | Sander Vanheule <sander@svanheule.net> | 2022-02-20 17:17:17 +0100 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2022-02-20 16:23:58 +0000 |
commit | 9db651f4a2b724a18d4b3551b6b35fbcc911a05d (patch) | |
tree | 7db69dadad14d82f314058531e9876404222d2fa /package/network | |
parent | 71810eb068d06adf9efc14bc7dd6359c4bda711c (diff) | |
download | upstream-9db651f4a2b724a18d4b3551b6b35fbcc911a05d.tar.gz upstream-9db651f4a2b724a18d4b3551b6b35fbcc911a05d.tar.bz2 upstream-9db651f4a2b724a18d4b3551b6b35fbcc911a05d.zip |
realtek: use DT provided address for timers
The I/O base address for the timers was hardcoded into the driver,
or derived from the HW IRQ number as an even more horrible hack. All
supported SoC families have these timers, but with hardcoded addresses
the code cannot be reused right now.
Request the timer's base address from the DT specification, and store it
in a private struct for future reference.
Matching the second interrupt specifier, the address range for the
second timer is added to the DT specification.
Signed-off-by: Sander Vanheule <sander@svanheule.net>
Diffstat (limited to 'package/network')
0 files changed, 0 insertions, 0 deletions