gpio-export,name = "usb-alarm";
gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
};
-
- usb-power {
- gpio-export,name = "usb-power";
- gpio-export,output = <0>;
- gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
- };
};
keys {
linux,default-trigger = "phy0tpt";
};
};
+
+ reg_power_usb: regulator {
+ compatible = "regulator-fixed";
+ regulator-name = "power_usb";
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+ gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
+ };
};
ð0 {
&usb {
status = "okay";
+
+ vbus-supply = <®_power_usb>;
};
&usb_phy {