ARM: dts: imx7d-sdb: Add USB support
authorFabio Estevam <fabio.estevam@freescale.com>
Tue, 8 Sep 2015 01:57:12 +0000 (22:57 -0300)
committerShawn Guo <shawnguo@kernel.org>
Mon, 19 Oct 2015 14:45:16 +0000 (22:45 +0800)
Add support for USBOTG1 and USBOTG2.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx7d-sdb.dts

index 805945873527d7150faa889284e8508aa52084f6..0e4de5aaf6bd81c189d3ab0e34be94e01f511665 100644 (file)
        status = "okay";
 };
 
+&usbotg1 {
+       vbus-supply = <&reg_usb_otg1_vbus>;
+       status = "okay";
+};
+
+&usbotg2 {
+       vbus-supply = <&reg_usb_otg2_vbus>;
+       dr_mode = "host";
+       status = "okay";
+};
+
 &usdhc1 {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_usdhc1>;