dts: arm: ti: am62x_m4: Use DT_FREQ_x fpr frequenies

We define two frequencies in the am62x_m4.dtsi file.

Use DT_FREQ_M for both frequency to make them more
human-readable and easier to understand.

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
This commit is contained in:
Daniel Schultz 2024-04-01 13:57:41 -07:00 committed by Anas Nashif
parent 145e17d1c9
commit 59de472dab

View file

@ -35,7 +35,7 @@
sysclk: system-clock {
compatible = "fixed-clock";
clock-frequency = <400000000>;
clock-frequency = <DT_FREQ_M(400)>;
#clock-cells = <0>;
};
@ -50,7 +50,7 @@
reg = <0x04a00000 0x200>;
interrupts = <24 4>;
interrupt-parent = <&nvic>;
clock-frequency = <48000000>;
clock-frequency = <DT_FREQ_M(48)>;
current-speed = <115200>;
reg-shift = <2>;
status = "disabled";