From 75ea21f9fea68bf798cbc4ec0c822065767fbc01 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Thu, 5 Sep 2024 17:12:35 +0200 Subject: [PATCH] Move clock comments to lagarto_ox.h --- dts/lagarto_ox.dts | 4 +--- dts/lagarto_ox.h | 6 +++++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/dts/lagarto_ox.dts b/dts/lagarto_ox.dts index 5a4776d..48a2442 100644 --- a/dts/lagarto_ox.dts +++ b/dts/lagarto_ox.dts @@ -19,11 +19,9 @@ #address-cells = <1>; #size-cells = <0>; - // The RTC timer is clocked at the CPU frequency / 1525, so - // around 32786.88 Hz timebase-frequency = ; CPU0: cpu@0 { - clock-frequency = ; /* 50 MHz */ + clock-frequency = ; device_type = "cpu"; reg = <0>; status = "okay"; diff --git a/dts/lagarto_ox.h b/dts/lagarto_ox.h index 4a93006..3491ebc 100644 --- a/dts/lagarto_ox.h +++ b/dts/lagarto_ox.h @@ -1,4 +1,8 @@ -#define CPU_CLOCK_FREQUENCY 50000000 // 50 MHz +/* CPU is at 50 MHz */ +#define CPU_CLOCK_FREQUENCY 50000000 + +/* The RTC timer is clocked at the CPU frequency / 1525, so + * around 32786.88 Hz */ #define RTC_CLOCK_FREQUENCY 32786 #define UART_SPEED 115200