Message ID | 20211227104641.428-4-lukma@denx.de |
---|---|
State | Accepted |
Commit | e2a636082e3cc34c724cecf698dbebb7b5234f76 |
Delegated to: | Stefano Babic |
Headers | show |
Series | [v2,1/4] xea: dts: Update the SPI-NOR flash memory partitions description | expand |
> This change enables the support for USB with DM on the XEA (imx28) > board. > Signed-off-by: Lukasz Majewski <lukma@denx.de> Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic
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 = <®_usb_5v>; + status = "okay"; +}; + +&usbphy0 { + status = "okay"; +};
This change enables the support for USB with DM on the XEA (imx28) board. Signed-off-by: Lukasz Majewski <lukma@denx.de> --- (no changes since v1) arch/arm/dts/imx28-xea.dts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+)