浏览代码

powerpc/83xx: Make serial ports work on MPC8315E-RDB w/ FSL U-Boots

FSL U-Boots use /soc8315@e0000000 node to search and fixup serial
nodes' clock-frequency properties. Though in upstream kernels we use
new naming convention -- for IMMR address space dts files specify
/immr@e0000000 nodes.

This makes FSL U-Boots fail to fixup the clock frequencies, and that
leads to serial ports misbehaviour. We can workaround the issue by
filling the clock frequency values manually.

p.s. For the same reason FSL U-Boots fail to fixup MAC addresses for
ethernet nodes, so users should either change the .dts file locally
or set MAC address via `ifconfig hw ether' command.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Anton Vorontsov 16 年之前
父节点
当前提交
6c9789de2a
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      arch/powerpc/boot/dts/mpc8315erdb.dts

+ 2 - 2
arch/powerpc/boot/dts/mpc8315erdb.dts

@@ -255,7 +255,7 @@
 			device_type = "serial";
 			device_type = "serial";
 			compatible = "ns16550";
 			compatible = "ns16550";
 			reg = <0x4500 0x100>;
 			reg = <0x4500 0x100>;
-			clock-frequency = <0>;
+			clock-frequency = <133333333>;
 			interrupts = <9 0x8>;
 			interrupts = <9 0x8>;
 			interrupt-parent = <&ipic>;
 			interrupt-parent = <&ipic>;
 		};
 		};
@@ -265,7 +265,7 @@
 			device_type = "serial";
 			device_type = "serial";
 			compatible = "ns16550";
 			compatible = "ns16550";
 			reg = <0x4600 0x100>;
 			reg = <0x4600 0x100>;
-			clock-frequency = <0>;
+			clock-frequency = <133333333>;
 			interrupts = <10 0x8>;
 			interrupts = <10 0x8>;
 			interrupt-parent = <&ipic>;
 			interrupt-parent = <&ipic>;
 		};
 		};