Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: David Lechner <david@lechnology.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>

authored by

David Lechner and committed by
Sekhar Nori
3b6e9da8 5280bc3e

+6 -3
+6 -3
arch/arm/boot/dts/da850.dtsi
··· 277 277 interrupt-names = "edm3_tcerrint"; 278 278 }; 279 279 serial0: serial@42000 { 280 - compatible = "ns16550a"; 280 + compatible = "ti,da830-uart", "ns16550a"; 281 281 reg = <0x42000 0x100>; 282 + reg-io-width = <4>; 282 283 reg-shift = <2>; 283 284 interrupts = <25>; 284 285 status = "disabled"; 285 286 }; 286 287 serial1: serial@10c000 { 287 - compatible = "ns16550a"; 288 + compatible = "ti,da830-uart", "ns16550a"; 288 289 reg = <0x10c000 0x100>; 290 + reg-io-width = <4>; 289 291 reg-shift = <2>; 290 292 interrupts = <53>; 291 293 status = "disabled"; 292 294 }; 293 295 serial2: serial@10d000 { 294 - compatible = "ns16550a"; 296 + compatible = "ti,da830-uart", "ns16550a"; 295 297 reg = <0x10d000 0x100>; 298 + reg-io-width = <4>; 296 299 reg-shift = <2>; 297 300 interrupts = <61>; 298 301 status = "disabled";