summaryrefslogtreecommitdiff
path: root/arch/arm/dts
diff options
context:
space:
mode:
authorMassimo Pegorer <massimo.pegorer+oss@gmail.com>2023-08-03 14:08:12 +0300
committerKever Yang <kever.yang@rock-chips.com>2023-08-12 05:37:57 +0300
commit0cd87aac5c89941e711c392d5062da031445ae59 (patch)
tree9c4111a78ac507d6152de5e5a5d8ab17f6312989 /arch/arm/dts
parente4c6ccc6875638766970d249a6cb5dacce6822fe (diff)
downloadu-boot-0cd87aac5c89941e711c392d5062da031445ae59.tar.xz
clk: rockchip: rk3308: Support reading UART rate and clock registers
Add support to read RK3308 registers used to configure UART clocks, and thus to get UART rate and baudrate. This fixes clock_get_rate returning error on serial device probing. Moreover, there is no need anymore to use 'clock-frequency' property for UART nodes in *-u-boot.dtsi files for all cases where UART is not inited by U-Boot proper or by SPL o by TPL code but by a preliminary external boot phase (for Rock PI S, UART is inited by external TPL). Signed-off-by: Massimo Pegorer <massimo.pegorer+oss@gmail.com> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'arch/arm/dts')
-rw-r--r--arch/arm/dts/rk3308-rock-pi-s-u-boot.dtsi2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/dts/rk3308-rock-pi-s-u-boot.dtsi b/arch/arm/dts/rk3308-rock-pi-s-u-boot.dtsi
index 09694b41e5..61415559b7 100644
--- a/arch/arm/dts/rk3308-rock-pi-s-u-boot.dtsi
+++ b/arch/arm/dts/rk3308-rock-pi-s-u-boot.dtsi
@@ -12,6 +12,4 @@
&uart0 {
bootph-all;
- clock-frequency = <24000000>;
- status = "okay";
};