From e5a098b5cc46e296af9d95315be1ea848839082c Mon Sep 17 00:00:00 2001
From: Mugunthan V N <mugunthanvnm@ti.com>
Date: Mon, 28 Sep 2015 16:17:48 +0530
Subject: [PATCH] drivers: serial: serial_omap: add comaptibles for all ti
 platforms

Adding compatibles for am335x, am437x and dra7 platforms.

Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
---
 drivers/serial/serial_omap.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/serial/serial_omap.c b/drivers/serial/serial_omap.c
index 9709444489..891cd7b7ed 100644
--- a/drivers/serial/serial_omap.c
+++ b/drivers/serial/serial_omap.c
@@ -16,8 +16,12 @@ DECLARE_GLOBAL_DATA_PTR;
 
 #if CONFIG_IS_ENABLED(OF_CONTROL)
 static const struct udevice_id omap_serial_ids[] = {
+	{ .compatible = "ti,omap2-uart" },
 	{ .compatible = "ti,omap3-uart" },
 	{ .compatible = "ti,omap4-uart" },
+	{ .compatible = "ti,am3352-uart" },
+	{ .compatible = "ti,am4372-uart" },
+	{ .compatible = "ti,dra742-uart" },
 	{ }
 };