aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRajeshwari Shinde <rajeshwari.s@samsung.com>2013-01-07 23:35:05 +0000
committerMinkyu Kang <mk7.kang@samsung.com>2013-01-08 21:14:34 +0900
commit6abd1620beeb96f64c85f4fac8336fcb523b912e (patch)
treee7a8ee97213370ea940100db26499cda96dcc053
parent69c6f976a13cf787815bab52cfffa69792fecfa9 (diff)
downloadu-boot-linaro-stable-6abd1620beeb96f64c85f4fac8336fcb523b912e.tar.gz
EXYNOS5: FDT: Add compatible strings for USB
Add required compatible information for USB Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com> Acked-by: Simon Glass <sjg@chromium.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
-rw-r--r--include/fdtdec.h2
-rw-r--r--lib/fdtdec.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/include/fdtdec.h b/include/fdtdec.h
index ce10bf498..0d3417b06 100644
--- a/include/fdtdec.h
+++ b/include/fdtdec.h
@@ -76,6 +76,8 @@ enum fdt_compat_id {
COMPAT_SAMSUNG_EXYNOS5_SOUND, /* Exynos Sound */
COMPAT_WOLFSON_WM8994_CODEC, /* Wolfson WM8994 Sound Codec */
COMPAT_SAMSUNG_EXYNOS_SPI, /* Exynos SPI */
+ COMPAT_SAMSUNG_EXYNOS_EHCI, /* Exynos EHCI controller */
+ COMPAT_SAMSUNG_EXYNOS_USB_PHY, /* Exynos phy controller for usb2.0 */
COMPAT_COUNT,
};
diff --git a/lib/fdtdec.c b/lib/fdtdec.c
index aa757102f..441667069 100644
--- a/lib/fdtdec.c
+++ b/lib/fdtdec.c
@@ -51,6 +51,8 @@ static const char * const compat_names[COMPAT_COUNT] = {
COMPAT(SAMSUNG_EXYNOS5_SOUND, "samsung,exynos-sound"),
COMPAT(WOLFSON_WM8994_CODEC, "wolfson,wm8994-codec"),
COMPAT(SAMSUNG_EXYNOS_SPI, "samsung,exynos-spi"),
+ COMPAT(SAMSUNG_EXYNOS_EHCI, "samsung,exynos-ehci"),
+ COMPAT(SAMSUNG_EXYNOS_USB_PHY, "samsung,exynos-usb-phy"),
};
const char *fdtdec_get_compatible(enum fdt_compat_id id)