aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@gmail.com>2018-10-15 20:00:06 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2018-10-20 16:13:39 +0200
commit68bb91018df1c3d9474041a4d55e1cfd66022522 (patch)
treeb9fd23833fb725429e8257180323d660722b1a0e /target
parent92bcd08989dede0f60589023e2aea4a864de76c6 (diff)
downloadupstream-68bb91018df1c3d9474041a4d55e1cfd66022522.tar.gz
upstream-68bb91018df1c3d9474041a4d55e1cfd66022522.tar.bz2
upstream-68bb91018df1c3d9474041a4d55e1cfd66022522.zip
apm821xx: set uart compatible to ns16750
The APM821XX/PPC460EX datasheet mentions: "Register compatibility with 16750 register set" Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Diffstat (limited to 'target')
-rw-r--r--target/linux/apm821xx/dts/apm82181.dtsi17
1 files changed, 11 insertions, 6 deletions
diff --git a/target/linux/apm821xx/dts/apm82181.dtsi b/target/linux/apm821xx/dts/apm82181.dtsi
index be8ace9207..79596da672 100644
--- a/target/linux/apm821xx/dts/apm82181.dtsi
+++ b/target/linux/apm821xx/dts/apm82181.dtsi
@@ -306,24 +306,29 @@
};
UART0: serial@ef600300 {
- device_type = "serial";
- compatible = "ns16550";
+ /*
+ * AMCC's BSP u-boot scans for the "ns16550"
+ * compatible, without it, u-boot wouldn't
+ * set the "clock-frequency" which is required.
+ *
+ * However, the hardware documentation lists:
+ * "Register compatibility with 16750 register set"
+ */
+ compatible = "ns16750", "ns16550";
reg = <0xef600300 0x00000008>;
virtual-reg = <0xef600300>;
clock-frequency = <0>; /* Filled in by U-Boot */
- current-speed = <0>; /* Filled in by U-Boot */
interrupt-parent = <&UIC1>;
interrupts = <0x01 IRQ_TYPE_LEVEL_HIGH>;
status = "disabled";
};
UART1: serial@ef600400 {
- device_type = "serial";
- compatible = "ns16550";
+ /* same "ns16750" as with UART0 */
+ compatible = "ns16750", "ns16550";
reg = <0xef600400 0x00000008>;
virtual-reg = <0xef600400>;
clock-frequency = <0>; /* Filled in by U-Boot */
- current-speed = <0>; /* Filled in by U-Boot */
interrupt-parent = <&UIC0>;
interrupts = <0x01 IRQ_TYPE_LEVEL_HIGH>;
status = "disabled";