[U-Boot] [PATCH] ARM: dts: uniphier: add clock-frequency for LD11/LD20 DTSI

Masahiro Yamada yamada.masahiro at socionext.com
Mon Mar 28 14:39:17 CEST 2016


Since no clock driver is implemented for peripherals in U-Boot yet,
this property is needed for the serial driver to set up the divisor
register.

Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
---

 arch/arm/dts/uniphier-ph1-ld11.dtsi | 4 ++++
 arch/arm/dts/uniphier-ph1-ld20.dtsi | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/arch/arm/dts/uniphier-ph1-ld11.dtsi b/arch/arm/dts/uniphier-ph1-ld11.dtsi
index 069cdf2..7d498ce 100644
--- a/arch/arm/dts/uniphier-ph1-ld11.dtsi
+++ b/arch/arm/dts/uniphier-ph1-ld11.dtsi
@@ -69,6 +69,7 @@
 			pinctrl-names = "default";
 			pinctrl-0 = <&pinctrl_uart0>;
 			clocks = <&uart_clk>;
+			clock-frequency = <58820000>;
 		};
 
 		serial1: serial at 54006900 {
@@ -79,6 +80,7 @@
 			pinctrl-names = "default";
 			pinctrl-0 = <&pinctrl_uart1>;
 			clocks = <&uart_clk>;
+			clock-frequency = <58820000>;
 		};
 
 		serial2: serial at 54006a00 {
@@ -89,6 +91,7 @@
 			pinctrl-names = "default";
 			pinctrl-0 = <&pinctrl_uart2>;
 			clocks = <&uart_clk>;
+			clock-frequency = <58820000>;
 		};
 
 		serial3: serial at 54006b00 {
@@ -99,6 +102,7 @@
 			pinctrl-names = "default";
 			pinctrl-0 = <&pinctrl_uart3>;
 			clocks = <&uart_clk>;
+			clock-frequency = <58820000>;
 		};
 
 		i2c0: i2c at 58780000 {
diff --git a/arch/arm/dts/uniphier-ph1-ld20.dtsi b/arch/arm/dts/uniphier-ph1-ld20.dtsi
index 1bb45be..fc1c6bf 100644
--- a/arch/arm/dts/uniphier-ph1-ld20.dtsi
+++ b/arch/arm/dts/uniphier-ph1-ld20.dtsi
@@ -105,6 +105,7 @@
 			pinctrl-names = "default";
 			pinctrl-0 = <&pinctrl_uart0>;
 			clocks = <&uart_clk>;
+			clock-frequency = <58820000>;
 		};
 
 		serial1: serial at 54006900 {
@@ -115,6 +116,7 @@
 			pinctrl-names = "default";
 			pinctrl-0 = <&pinctrl_uart1>;
 			clocks = <&uart_clk>;
+			clock-frequency = <58820000>;
 		};
 
 		serial2: serial at 54006a00 {
@@ -125,6 +127,7 @@
 			pinctrl-names = "default";
 			pinctrl-0 = <&pinctrl_uart2>;
 			clocks = <&uart_clk>;
+			clock-frequency = <58820000>;
 		};
 
 		serial3: serial at 54006b00 {
@@ -135,6 +138,7 @@
 			pinctrl-names = "default";
 			pinctrl-0 = <&pinctrl_uart3>;
 			clocks = <&uart_clk>;
+			clock-frequency = <58820000>;
 		};
 
 		i2c0: i2c at 58780000 {
-- 
1.9.1



More information about the U-Boot mailing list