|
|
@@ -67,24 +67,35 @@
|
|
|
gpio_export {
|
|
|
compatible = "gpio-export";
|
|
|
|
|
|
- power_usb2 {
|
|
|
- gpio-export,name = "power_usb2";
|
|
|
- gpio-export,output = <1>;
|
|
|
- gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
|
|
|
- };
|
|
|
-
|
|
|
- power_usb3 {
|
|
|
- gpio-export,name = "power_usb3";
|
|
|
- gpio-export,output = <1>;
|
|
|
- gpios = <&gpio 25 GPIO_ACTIVE_HIGH>;
|
|
|
- };
|
|
|
-
|
|
|
power_sata {
|
|
|
gpio-export,name = "power_sata";
|
|
|
gpio-export,output = <1>;
|
|
|
gpios = <&gpio 27 GPIO_ACTIVE_HIGH>;
|
|
|
};
|
|
|
};
|
|
|
+
|
|
|
+ reg_usb_vbus: regulator-usb {
|
|
|
+ compatible = "regulator-fixed";
|
|
|
+ regulator-name = "usb_vbus";
|
|
|
+ regulator-min-microvolt = <5000000>;
|
|
|
+ regulator-max-microvolt = <5000000>;
|
|
|
+ gpios = <&gpio 25 GPIO_ACTIVE_HIGH>;
|
|
|
+ enable-active-high;
|
|
|
+ };
|
|
|
+
|
|
|
+ reg_3p3v: regulator-3p3v {
|
|
|
+ compatible = "regulator-fixed";
|
|
|
+ regulator-name = "fixed-3.3V";
|
|
|
+ regulator-min-microvolt = <3300000>;
|
|
|
+ regulator-max-microvolt = <3300000>;
|
|
|
+ gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
|
|
|
+ enable-active-high;
|
|
|
+ };
|
|
|
+};
|
|
|
+
|
|
|
+&xhci {
|
|
|
+ vusb33-supply = <®_3p3v>;
|
|
|
+ vbus-supply = <®_usb_vbus>;
|
|
|
};
|
|
|
|
|
|
&spi0 {
|