1.1 --- a/pkg/devices/lib/cpm/src/x1600.cc Fri Dec 15 18:10:13 2023 +0100
1.2 +++ b/pkg/devices/lib/cpm/src/x1600.cc Thu Feb 01 01:09:08 2024 +0100
1.3 @@ -3,7 +3,8 @@
1.4 * provided by the X1600 and related SoCs. The power management
1.5 * functionality could be exposed using a separate driver.
1.6 *
1.7 - * Copyright (C) 2017, 2018, 2020, 2021, 2023 Paul Boddie <paul@boddie.org.uk>
1.8 + * Copyright (C) 2017, 2018, 2020, 2021, 2023,
1.9 + * 2024 Paul Boddie <paul@boddie.org.uk>
1.10 *
1.11 * This program is free software; you can redistribute it and/or
1.12 * modify it under the terms of the GNU General Public License as
1.13 @@ -298,7 +299,10 @@
1.14
1.15 clock_sadc((Source(mux_hclock2)), (Control(Clock_gate_sadc))),
1.16
1.17 - clock_timer((Source(mux_pclock)), (Control(Clock_gate_timer))),
1.18 + // Input pins can also be configured for the timer.
1.19 + // NOTE: Support the prescaling for EXCLK.
1.20 +
1.21 + clock_timer((Source(mux_external)), (Control(Clock_gate_timer))),
1.22
1.23 clock_uart0((Source(mux_external)), (Control(Clock_gate_uart0))),
1.24