dts: common: nordic: nrf54l: Add hfpll clock source

Add 128 MHz clock source and use it for uart00. Baudrate setting
must be adjusted based on uart clock source so without this
change there is wrong baudrate on uart00.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
This commit is contained in:
Krzysztof Chruściński 2024-11-27 11:14:04 +01:00 committed by Benjamin Cabé
parent 860233d0c8
commit 923d313a04
3 changed files with 18 additions and 0 deletions

View file

@ -83,6 +83,10 @@
}; };
}; };
&uart00 {
/delete-property/ clocks;
};
&uart20 { &uart20 {
status = "okay"; status = "okay";
current-speed = <115200>; current-speed = <115200>;

View file

@ -46,6 +46,12 @@
#clock-cells = <0>; #clock-cells = <0>;
clock-frequency = <DT_FREQ_M(32)>; clock-frequency = <DT_FREQ_M(32)>;
}; };
hfpll: hfpll {
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <DT_FREQ_M(128)>;
};
}; };
soc { soc {
@ -117,6 +123,7 @@
compatible = "nordic,nrf-uarte"; compatible = "nordic,nrf-uarte";
reg = <0x4d000 0x1000>; reg = <0x4d000 0x1000>;
interrupts = <77 NRF_DEFAULT_IRQ_PRIORITY>; interrupts = <77 NRF_DEFAULT_IRQ_PRIORITY>;
clocks = <&hfpll>;
status = "disabled"; status = "disabled";
endtx-stoptx-supported; endtx-stoptx-supported;
frame-timeout-supported; frame-timeout-supported;

View file

@ -59,6 +59,12 @@
#clock-cells = <0>; #clock-cells = <0>;
clock-frequency = <DT_FREQ_M(32)>; clock-frequency = <DT_FREQ_M(32)>;
}; };
hfpll: hfpll {
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <DT_FREQ_M(128)>;
};
}; };
soc { soc {
@ -138,6 +144,7 @@
compatible = "nordic,nrf-uarte"; compatible = "nordic,nrf-uarte";
reg = <0x4a000 0x1000>; reg = <0x4a000 0x1000>;
interrupts = <74 NRF_DEFAULT_IRQ_PRIORITY>; interrupts = <74 NRF_DEFAULT_IRQ_PRIORITY>;
clocks = <&hfpll>;
status = "disabled"; status = "disabled";
endtx-stoptx-supported; endtx-stoptx-supported;
frame-timeout-supported; frame-timeout-supported;