zephyr/soc/arm/atmel_sam/sam3x
Piotr Mienkowski 471d5ea474 soc: atmel_sam: set SYS_CLOCK_HW_CYCLES_PER_SEC from DT
Set the defalut value of SYS_CLOCK_HW_CYCLES_PER_SEC Kconfig option
from the Device Tree. The `clock-frequency` property of the DT cpu@0
node is a single source of truth defining the CPU frequency. This is
the value used e.g. by all Atmel drivers.

For Atmel SAM family CPU clock is currently the only supported system
clock source. Ensure that kernel understanding of the hardware clock
frequency is the correct one.

Signed-off-by: Piotr Mienkowski <piotr.mienkowski@gmail.com>
2021-06-22 17:30:15 -04:00
..
CMakeLists.txt license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
Kconfig.defconfig.series soc: atmel_sam: set SYS_CLOCK_HW_CYCLES_PER_SEC from DT 2021-06-22 17:30:15 -04:00
Kconfig.series kconfig: Remove assignments to CONFIG_<arch> syms and hide them 2020-02-08 00:50:08 -06:00
Kconfig.soc kconfig: Clean up header comments and make them consistent 2019-11-04 17:31:27 -05:00
linker.ld arch: arm: Move ARM code to AArch32 sub-directory 2019-12-20 11:40:59 -05:00
soc.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
soc.h soc: arm: atmel_sam: Add devicetree.h inclusion in soc.h 2020-05-04 17:14:35 +02:00