]> rtime.felk.cvut.cz Git - zynq/linux.git/commitdiff
ARM: dts: keystone: Add "ti,da830-uart" compatible string
authorDavid Lechner <david@lechnology.com>
Fri, 6 Jan 2017 19:07:01 +0000 (11:07 -0800)
committerSantosh Shilimkar <ssantosh@kernel.org>
Fri, 6 Jan 2017 19:07:01 +0000 (11:07 -0800)
The TI Keystone 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: Santosh Shilimkar <ssantosh@kernel.org>
arch/arm/boot/dts/keystone-k2g.dtsi
arch/arm/boot/dts/keystone-k2l.dtsi
arch/arm/boot/dts/keystone.dtsi

index 63c7cf0c6b6dc36d762cc0ef3c1617f001b35a9b..7d7b9a8717d990f62a36d24b6dd335768f620901 100644 (file)
@@ -90,7 +90,7 @@
                };
 
                uart0: serial@02530c00 {
-                       compatible = "ns16550a";
+                       compatible = "ti,da830-uart", "ns16550a";
                        current-speed = <115200>;
                        reg-shift = <2>;
                        reg-io-width = <4>;
index 0c5e74e79ba2d73163eea0f9eb3800a75499fa91..e91633fc0dbda549790ad716757b2952925743fb 100644 (file)
@@ -35,7 +35,7 @@
                /include/ "keystone-k2l-clocks.dtsi"
 
                uart2: serial@02348400 {
-                       compatible = "ns16550a";
+                       compatible = "ti,da830-uart", "ns16550a";
                        current-speed = <115200>;
                        reg-shift = <2>;
                        reg-io-width = <4>;
@@ -45,7 +45,7 @@
                };
 
                uart3:  serial@02348800 {
-                       compatible = "ns16550a";
+                       compatible = "ti,da830-uart", "ns16550a";
                        current-speed = <115200>;
                        reg-shift = <2>;
                        reg-io-width = <4>;
index 02708ba2d4f467e3f53f5dc94459da8e54b1c996..9152610255ad43f5c0f9df595c4b2c006592d0dc 100644 (file)
@@ -98,7 +98,7 @@
                /include/ "keystone-clocks.dtsi"
 
                uart0: serial@02530c00 {
-                       compatible = "ns16550a";
+                       compatible = "ti,da830-uart", "ns16550a";
                        current-speed = <115200>;
                        reg-shift = <2>;
                        reg-io-width = <4>;
                };
 
                uart1:  serial@02531000 {
-                       compatible = "ns16550a";
+                       compatible = "ti,da830-uart", "ns16550a";
                        current-speed = <115200>;
                        reg-shift = <2>;
                        reg-io-width = <4>;