summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@nxp.com>2016-02-26 16:34:20 +0800
committerPeter Chen <peter.chen@nxp.com>2016-03-21 13:10:43 +0800
commita52956f35ce17b9350adecc733a42ffcc8c12552 (patch)
tree9e656034d496f20282e9ce035b9b2a4bac18024d
parent6e9e34aeddd645b25ae4efff55305688d7778e0b (diff)
MLK-12466 ARM: dts: imx6ul-14x14-evk-usb-certi: add USB certification dts
Below are the differences between standard evk: - Enable tpl - Enable software control vbus for otg2 (hardware rework is needed) - Disable TSC due to the pin conflict with above vbus regulator Signed-off-by: Peter Chen <peter.chen@nxp.com> (cherry picked from commit e4a5f2e763d5c9df8b97b01ee38879a9bee66f0d)
-rw-r--r--arch/arm/boot/dts/Makefile1
-rw-r--r--arch/arm/boot/dts/imx6ul-14x14-evk-usb-certi.dts34
2 files changed, 35 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 3a91c95dc20d..d4f292ac0dc7 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -367,6 +367,7 @@ dtb-$(CONFIG_SOC_IMX6UL) += \
imx6ul-14x14-evk.dtb \
imx6ul-14x14-evk-btwifi.dtb \
imx6ul-14x14-evk-csi.dtb \
+ imx6ul-14x14-evk-usb-certi.dtb \
imx6ul-14x14-lpddr2-arm2.dtb \
imx6ul-9x9-evk.dtb \
imx6ul-9x9-evk-btwifi.dtb \
diff --git a/arch/arm/boot/dts/imx6ul-14x14-evk-usb-certi.dts b/arch/arm/boot/dts/imx6ul-14x14-evk-usb-certi.dts
new file mode 100644
index 000000000000..8aaf248812e6
--- /dev/null
+++ b/arch/arm/boot/dts/imx6ul-14x14-evk-usb-certi.dts
@@ -0,0 +1,34 @@
+/*
+ * Copyright (C) 2016 Freescale Semiconductor, Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+/* DTS file for USB Certification at i.mx6ul 14x14 evk board */
+
+#include "imx6ul-14x14-evk.dts"
+
+/ {
+ regulators {
+ reg_usb_otg2_vbus: regulator@3 {
+ compatible = "regulator-fixed";
+ reg = <3>;
+ regulator-name = "usb_otg2_vbus";
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+ gpio = <&gpio1 2 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+ };
+ };
+};
+
+&usbotg2 {
+ vbus-supply = <&reg_usb_otg2_vbus>; /* hardware rework is needed */
+ tpl-support;
+};
+
+&tsc {
+ status = "disabled";
+};