MLK-13023 ARM: dts: imx6ull-14x14-evk-usb-certi: add dts for USB certification
authorPeter Chen <peter.chen@nxp.com>
Mon, 1 Aug 2016 08:55:19 +0000 (16:55 +0800)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:31:07 +0000 (02:31 +0300)
Add dts for imx6ull 14x14 evk board's USB certification test

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/imx6ull-14x14-evk-usb-certi.dts [new file with mode: 0644]

index 1ac360e..741494b 100644 (file)
@@ -636,7 +636,8 @@ dtb-$(CONFIG_SOC_IMX6ULL) += \
        imx6ull-14x14-ddr3-arm2-wm8958.dtb \
        imx6ull-14x14-evk.dtb \
        imx6ull-14x14-evk-btwifi.dtb \
-       imx6ull-14x14-evk-gpmi-weim.dtb
+       imx6ull-14x14-evk-gpmi-weim.dtb \
+       imx6ull-14x14-evk-usb-certi.dtb
 dtb-$(CONFIG_SOC_IMX7D) += \
        imx7d-cl-som-imx7.dtb \
        imx7d-colibri-emmc-eval-v3.dtb \
diff --git a/arch/arm/boot/dts/imx6ull-14x14-evk-usb-certi.dts b/arch/arm/boot/dts/imx6ull-14x14-evk-usb-certi.dts
new file mode 100644 (file)
index 0000000..15d9176
--- /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.mx6ull 14x14 evk board */
+
+#include "imx6ull-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";
+};