Move clock comments to lagarto_ox.h
This commit is contained in:
parent
2f48ad5f40
commit
75ea21f9fe
@ -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 = <RTC_CLOCK_FREQUENCY>;
|
||||
CPU0: cpu@0 {
|
||||
clock-frequency = <CPU_CLOCK_FREQUENCY>; /* 50 MHz */
|
||||
clock-frequency = <CPU_CLOCK_FREQUENCY>;
|
||||
device_type = "cpu";
|
||||
reg = <0>;
|
||||
status = "okay";
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user