Skip to content

Commit

Permalink
ITE: dts: it8xxx2: Correct the clock frequency of baud rate
Browse files Browse the repository at this point in the history
The baud rate clock frequency is 1.8432MHz.

Signed-off-by: Tim Lin <tim2.lin@ite.corp-partner.google.com>
  • Loading branch information
GTLin08 authored and fabiobaltieri committed Oct 3, 2023
1 parent 5b76d95 commit 6552e05
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions boards/riscv/it82xx2_evb/it82xx2_evb.dts
Original file line number Diff line number Diff line change
Expand Up @@ -108,13 +108,13 @@
&uart1 {
status = "okay";
current-speed = <115200>;
clock-frequency = <1804800>;
clock-frequency = <1843200>;
};

&uart2 {
status = "okay";
current-speed = <460800>;
clock-frequency = <1804800>;
clock-frequency = <1843200>;
};

&ite_uart1_wrapper {
Expand Down
4 changes: 2 additions & 2 deletions boards/riscv/it8xxx2_evb/it8xxx2_evb.dts
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,12 @@
&uart1 {
status = "okay";
current-speed = <115200>;
clock-frequency = <1804800>;
clock-frequency = <1843200>;
};
&uart2 {
status = "okay";
current-speed = <460800>;
clock-frequency = <1804800>;
clock-frequency = <1843200>;
};
&ite_uart1_wrapper {
status = "okay";
Expand Down
4 changes: 2 additions & 2 deletions dts/riscv/ite/it8xxx2.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
reg = <0x00f02700 0x0020>;
status = "disabled";
current-speed = <115200>;
clock-frequency = <1804800>;
clock-frequency = <1843200>;
interrupts = <38 IRQ_TYPE_EDGE_RISING>;
interrupt-parent = <&intc>;
reg-shift = <0>;
Expand All @@ -117,7 +117,7 @@
reg = <0x00f02800 0x0020>;
status = "disabled";
current-speed = <460800>;
clock-frequency = <1804800>;
clock-frequency = <1843200>;
interrupts = <39 IRQ_TYPE_EDGE_RISING>;
interrupt-parent = <&intc>;
reg-shift = <0>;
Expand Down

0 comments on commit 6552e05

Please sign in to comment.