This is currently broken since it does not have the reg-shift property for
the UART in the device tree. Fix it.

Reported-by: Yegor Yefremov <yegorsli...@googlemail.com>
Signed-off-by: Simon Glass <s...@chromium.org>
---
This patch does not fix the non-vboot boards. I haven't added this to the
series in v2 as Tom has already sent a patch.

Changes in v2: None

 arch/arm/dts/am33xx.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/dts/am33xx.dtsi b/arch/arm/dts/am33xx.dtsi
index 21fcc44..b26e21b 100644
--- a/arch/arm/dts/am33xx.dtsi
+++ b/arch/arm/dts/am33xx.dtsi
@@ -214,6 +214,7 @@
                        ti,hwmods = "uart1";
                        clock-frequency = <48000000>;
                        reg = <0x44e09000 0x2000>;
+                       reg-shift = <2>;
                        interrupts = <72>;
                        status = "disabled";
                        dmas = <&edma 26>, <&edma 27>;
@@ -225,6 +226,7 @@
                        ti,hwmods = "uart2";
                        clock-frequency = <48000000>;
                        reg = <0x48022000 0x2000>;
+                       reg-shift = <2>;
                        interrupts = <73>;
                        status = "disabled";
                        dmas = <&edma 28>, <&edma 29>;
@@ -236,6 +238,7 @@
                        ti,hwmods = "uart3";
                        clock-frequency = <48000000>;
                        reg = <0x48024000 0x2000>;
+                       reg-shift = <2>;
                        interrupts = <74>;
                        status = "disabled";
                        dmas = <&edma 30>, <&edma 31>;
@@ -247,6 +250,7 @@
                        ti,hwmods = "uart4";
                        clock-frequency = <48000000>;
                        reg = <0x481a6000 0x2000>;
+                       reg-shift = <2>;
                        interrupts = <44>;
                        status = "disabled";
                };
@@ -256,6 +260,7 @@
                        ti,hwmods = "uart5";
                        clock-frequency = <48000000>;
                        reg = <0x481a8000 0x2000>;
+                       reg-shift = <2>;
                        interrupts = <45>;
                        status = "disabled";
                };
@@ -265,6 +270,7 @@
                        ti,hwmods = "uart6";
                        clock-frequency = <48000000>;
                        reg = <0x481aa000 0x2000>;
+                       reg-shift = <2>;
                        interrupts = <46>;
                        status = "disabled";
                };
-- 
2.6.0.rc2.230.g3dd15c0

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to