MLK-12466 ARM: dts: imx6ul-14x14-evk-usb-certi: add USB certification dts
authorPeter Chen <peter.chen@nxp.com>
Fri, 26 Feb 2016 08:34:20 +0000 (16:34 +0800)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:31:07 +0000 (02:31 +0300)
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>
Signed-off-by: Arulpandiyan Vadivel <arulpandiyan_vadivel@mentor.com>
Signed-off-by: Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/imx6ul-14x14-evk-usb-certi.dts [new file with mode: 0644]

index 1da793b..d038f9f 100644 (file)
@@ -590,6 +590,7 @@ dtb-$(CONFIG_SOC_IMX6UL) += \
        imx6ul-ccimx6ulsbcexpress.dtb \
        imx6ul-14x14-evk-btwifi.dtb \
        imx6ul-14x14-evk-csi.dtb \
+       imx6ul-14x14-evk-usb-certi.dtb \
        imx6ul-geam.dtb \
        imx6ul-isiot-emmc.dtb \
        imx6ul-isiot-nand.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 (file)
index 0000000..8aaf248
--- /dev/null
@@ -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";
+};