]> www.infradead.org Git - users/willy/xarray.git/commitdiff
arm64: dts: imx8qxp-mek: add usbotg1 and related node
authorFrank Li <Frank.Li@nxp.com>
Mon, 21 Oct 2024 16:34:36 +0000 (12:34 -0400)
committerShawn Guo <shawnguo@kernel.org>
Tue, 22 Oct 2024 07:39:54 +0000 (15:39 +0800)
Add usbotg1, usbphy1 and related regulator nodes.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8qxp-mek.dts

index 3e04f7103f7e2022c0f7a27827cf118a5c62961f..d6e175206b1351d7e0e39d4adedaca805e46dd0e 100644 (file)
                vin-supply = <&reg_can_en>;
        };
 
+       reg_usb_otg1_vbus: regulator-usbotg1-vbus {
+               compatible = "regulator-fixed";
+               regulator-max-microvolt = <5000000>;
+               regulator-min-microvolt = <5000000>;
+               regulator-name = "usb_otg1_vbus";
+               gpio = <&pca9557_b 2 GPIO_ACTIVE_HIGH>;
+               enable-active-high;
+       };
+
        sound-bt-sco {
                compatible = "simple-audio-card";
                simple-audio-card,bitclock-inversion;
        status = "okay";
 };
 
+&usbphy1 {
+       status = "okay";
+};
+
+&usbotg1 {
+       adp-disable;
+       hnp-disable;
+       srp-disable;
+       disable-over-current;
+       power-active-high;
+       vbus-supply = <&reg_usb_otg1_vbus>;
+       status = "okay";
+};
+
 &usbotg3 {
        status = "okay";
 };