summaryrefslogtreecommitdiff
path: root/arch/arm/dts/imx28-xea.dts
diff options
context:
space:
mode:
authorLukasz Majewski <lukma@denx.de>2021-12-27 11:46:41 +0100
committerStefano Babic <sbabic@denx.de>2022-02-05 13:38:39 +0100
commite2a636082e3cc34c724cecf698dbebb7b5234f76 (patch)
treebbd6e42055b1161773b33720272e637ab70b7a43 /arch/arm/dts/imx28-xea.dts
parent95966a563b4ade0df49ff8acd64679c30657ce58 (diff)
arm: dts: Enable support for USB on XEA (imx28) board
This change enables the support for USB with DM on the XEA (imx28) board. Signed-off-by: Lukasz Majewski <lukma@denx.de>
Diffstat (limited to 'arch/arm/dts/imx28-xea.dts')
-rw-r--r--arch/arm/dts/imx28-xea.dts18
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm/dts/imx28-xea.dts b/arch/arm/dts/imx28-xea.dts
index 34af6cf67f..f4b503cf65 100644
--- a/arch/arm/dts/imx28-xea.dts
+++ b/arch/arm/dts/imx28-xea.dts
@@ -41,6 +41,15 @@
enable-active-high;
regulator-boot-on;
};
+
+ reg_usb_5v: regulator-usb-5v {
+ compatible = "regulator-fixed";
+ regulator-name = "usb_vbus";
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+ gpio = <&gpio1 28 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+ };
};
&mac0 {
@@ -123,3 +132,12 @@
};
};
};
+
+&usb0 {
+ vbus-supply = <&reg_usb_5v>;
+ status = "okay";
+};
+
+&usbphy0 {
+ status = "okay";
+};