boards: scobc_v1: Use DT_FREQ_M() macro from freq.h
Use the convenient DT_FREQ_M() macro from freq.h to improve readability. Signed-off-by: Yasushi SHOJI <yashi@spacecubics.com>
This commit is contained in:
committed by
Maureen Helm
parent
02ac74d97c
commit
3866fb8ce7
@@ -6,6 +6,7 @@
|
||||
|
||||
/dts-v1/;
|
||||
#include <arm/xilinx/versal_rpu.dtsi>
|
||||
#include <freq.h>
|
||||
|
||||
/ {
|
||||
model = "SC-OBC Module V1 Versal Cortex-R5F";
|
||||
@@ -21,10 +22,10 @@
|
||||
&uart1 {
|
||||
status = "okay";
|
||||
current-speed = <115200>;
|
||||
clock-frequency = <100000000>;
|
||||
clock-frequency = <DT_FREQ_M(100)>;
|
||||
};
|
||||
|
||||
&ttc0 {
|
||||
status = "okay";
|
||||
clock-frequency = <150000000>;
|
||||
clock-frequency = <DT_FREQ_M(150)>;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user