]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARC: HAPS: use same UART configuration everywhere
authorEugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Wed, 23 Oct 2019 12:44:12 +0000 (15:44 +0300)
committerVineet Gupta <vgupta@synopsys.com>
Mon, 28 Oct 2019 19:12:31 +0000 (12:12 -0700)
For some reason we use ns8250 UART compatible on UP HAPS
configuration and ns16550a (which is ns8250 with FIFO support)
on SMP HAPS configuration.
Given that we have same UART IP with same IP configuration
on both HAPS configuration use ns16550a compatible everywhere.

Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/boot/dts/haps_hs.dts
arch/arc/boot/dts/haps_hs_idu.dts

index 44bc522fdec816cb6f6c7e72853d1129e7c12b64..11fad2f790561fe841bc0554aa317c1f9828a77b 100644 (file)
@@ -47,7 +47,7 @@ core_intc: interrupt-controller {
                };
 
                uart0: serial@f0000000 {
-                       compatible = "ns8250";
+                       compatible = "ns16550a";
                        reg = <0xf0000000 0x2000>;
                        interrupts = <24>;
                        clock-frequency = <50000000>;
index 4d6971cf5f9f762908ca4b6a87b1bc5679c7f497..738c76cd07b3a30237c882cc234e580c3b8fe577 100644 (file)
@@ -54,7 +54,6 @@ idu_intc: idu-interrupt-controller {
                };
 
                uart0: serial@f0000000 {
-                       /* compatible = "ns8250"; Doesn't use FIFOs */
                        compatible = "ns16550a";
                        reg = <0xf0000000 0x2000>;
                        interrupt-parent = <&idu_intc>;