]> www.infradead.org Git - users/willy/xarray.git/commitdiff
arm64: dts: imx95-19x19-evk: enable USB2.0 node
authorXu Yang <xu.yang_2@nxp.com>
Thu, 10 Apr 2025 06:49:06 +0000 (14:49 +0800)
committerShawn Guo <shawnguo@kernel.org>
Fri, 25 Apr 2025 01:17:04 +0000 (09:17 +0800)
On this board, USB2.0 is a host-only port, add vbus regulator node
and enable USB2.0 node.

Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Xu Yang <xu.yang_2@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts

index 25ac331f03183e3e8adebcbff4d4deb012cc25ea..a41d542488ed1a4213aaa39b08f3eadd8632d212 100644 (file)
                off-on-delay-us = <12000>;
        };
 
+       reg_usb_vbus: regulator-vbus {
+               compatible = "regulator-fixed";
+               regulator-name = "USB_VBUS";
+               regulator-min-microvolt = <5000000>;
+               regulator-max-microvolt = <5000000>;
+               gpio = <&i2c7_pcal6524 3 GPIO_ACTIVE_HIGH>;
+               enable-active-high;
+       };
+
        sound-bt-sco {
                compatible = "simple-audio-card";
                simple-audio-card,name = "bt-sco-audio";
        status = "okay";
 };
 
+&usb2 {
+       dr_mode = "host";
+       disable-over-current;
+       vbus-supply = <&reg_usb_vbus>;
+       status = "okay";
+};
+
 &usb3 {
        status = "okay";
 };