Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3b6e9da8 authored by David Lechner's avatar David Lechner Committed by Sekhar Nori
Browse files

ARM: dts: da850: Add ti,da830-uart compatible for serial ports



TI DA8xx/OMAPL13x/AM17xx/AM18xx SoCs have extra UART registers beyond
the standard 8250 registers, so we need a new compatible string to
indicate this. Also, at least one of these registers uses the full 32
bits, so we need to specify reg-io-width in addition to reg-shift.

"ns16550a" is left in the compatible specification since it does work
as long as the bootloader configures the SoC UART power management
registers.

Signed-off-by: default avatarDavid Lechner <david@lechnology.com>
Signed-off-by: default avatarSekhar Nori <nsekhar@ti.com>
parent 5280bc3e
Loading
Loading
Loading
Loading
+6 −3
Original line number Original line Diff line number Diff line
@@ -277,22 +277,25 @@
			interrupt-names = "edm3_tcerrint";
			interrupt-names = "edm3_tcerrint";
		};
		};
		serial0: serial@42000 {
		serial0: serial@42000 {
			compatible = "ns16550a";
			compatible = "ti,da830-uart", "ns16550a";
			reg = <0x42000 0x100>;
			reg = <0x42000 0x100>;
			reg-io-width = <4>;
			reg-shift = <2>;
			reg-shift = <2>;
			interrupts = <25>;
			interrupts = <25>;
			status = "disabled";
			status = "disabled";
		};
		};
		serial1: serial@10c000 {
		serial1: serial@10c000 {
			compatible = "ns16550a";
			compatible = "ti,da830-uart", "ns16550a";
			reg = <0x10c000 0x100>;
			reg = <0x10c000 0x100>;
			reg-io-width = <4>;
			reg-shift = <2>;
			reg-shift = <2>;
			interrupts = <53>;
			interrupts = <53>;
			status = "disabled";
			status = "disabled";
		};
		};
		serial2: serial@10d000 {
		serial2: serial@10d000 {
			compatible = "ns16550a";
			compatible = "ti,da830-uart", "ns16550a";
			reg = <0x10d000 0x100>;
			reg = <0x10d000 0x100>;
			reg-io-width = <4>;
			reg-shift = <2>;
			reg-shift = <2>;
			interrupts = <61>;
			interrupts = <61>;
			status = "disabled";
			status = "disabled";