gpio-export,output = <1>;
gpios = <&gpio 38 GPIO_ACTIVE_HIGH>;
};
- usb {
- gpio-export,name = "usb";
- gpio-export,output = <1>;
- gpios = <&gpio 28 GPIO_ACTIVE_HIGH>;
- };
wifi {
gpio-export,name = "wifi";
gpio-export,output = <1>;
};
};
+ usb_phy: regulator-usb-phy {
+ compatible = "regulator-fixed";
+
+ regulator-name = "USB_PHY";
+
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+
+ gpios = <&gpio 28 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+ };
+
usb_vbus: regulator-usb-vbus {
compatible = "regulator-fixed";
&usb_phy0 {
status = "okay";
+ phy-supply = <&usb_phy>;
};