summaryrefslogtreecommitdiff
path: root/arch/arm/dts/imx6ul.dtsi
diff options
context:
space:
mode:
authorSherry Sun <sherry.sun@nxp.com>2019-07-25 17:20:26 -0400
committerYe Li <ye.li@nxp.com>2022-04-06 18:03:14 +0800
commit25021dc4f724d0a282e6e1b01c4a1a261c72e128 (patch)
tree12bac34cfcc74fbb8627396c95ac14adb9d948bb /arch/arm/dts/imx6ul.dtsi
parent316a3cb4c2b8728f91d26196192c25d68495fa6c (diff)
MLK-22336-2 dts: Add a new usb gadget node on imx6/7/7ulp/8/8mm
Since one dts node can only bind to one DM driver in uboot, for usbotg node, we can not use it for both DM usb host driver and DM usb gadget driver. So a new usb gadget node is added to each usbotg node, the original usbotg node is bind to usb host driver as default, and the new usb gadget node is bind to usb gadet driver as default. Signed-off-by: Sherry Sun <sherry.sun@nxp.com> Reviewed-by: Ye Li <ye.li@nxp.com> (cherry picked from commit 342adc8948def972dbd08b71009584745f7826f0) (cherry picked from commit 6716cd87079cae70a5c521f83be292628403b9ab) (cherry picked from commit f4ea9fa4b9fe7eabd8aad02d9c39c1dc2923c32b) (cherry picked from commit e66dbdbb17cc7f810805ea731994c55d8ea6ba8a)
Diffstat (limited to 'arch/arm/dts/imx6ul.dtsi')
-rw-r--r--arch/arm/dts/imx6ul.dtsi16
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/dts/imx6ul.dtsi b/arch/arm/dts/imx6ul.dtsi
index ad9cb37db7..3384bff5dc 100644
--- a/arch/arm/dts/imx6ul.dtsi
+++ b/arch/arm/dts/imx6ul.dtsi
@@ -52,6 +52,8 @@
usbphy1 = &usbphy2;
usb0 = &usbotg1;
usb1 = &usbotg2;
+ usbgadget0 = &usbg1;
+ usbgadget1 = &usbg2;
};
cpus {
@@ -800,6 +802,20 @@
};
};
+ usbg1: usbg1 {
+ compatible = "fsl,imx27-usb-gadget";
+ dr_mode = "peripheral";
+ chipidea,usb = <&usbotg1>;
+ status = "okay";
+ };
+
+ usbg2: usbg2 {
+ compatible = "fsl,imx27-usb-gadget";
+ dr_mode = "peripheral";
+ chipidea,usb = <&usbotg2>;
+ status = "okay";
+ };
+
usbotg1: usb@2184000 {
compatible = "fsl,imx6ul-usb", "fsl,imx27-usb";
reg = <0x02184000 0x200>;