|
@@ -139,6 +139,40 @@
|
|
pinctrl-1 = <&sdc1_clk_off &sdc1_cmd_off &sdc1_data_off>;
|
|
pinctrl-1 = <&sdc1_clk_off &sdc1_cmd_off &sdc1_data_off>;
|
|
status = "okay";
|
|
status = "okay";
|
|
};
|
|
};
|
|
|
|
+
|
|
|
|
+ usb@78d9000 {
|
|
|
|
+ extcon = <&usb_id>, <&usb_id>;
|
|
|
|
+ status = "okay";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ ehci@78d9000 {
|
|
|
|
+ status = "okay";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ phy@78d9000 {
|
|
|
|
+ v1p8-supply = <&pm8916_l7>;
|
|
|
|
+ v3p3-supply = <&pm8916_l13>;
|
|
|
|
+ vddcx-supply = <&pm8916_s1>;
|
|
|
|
+ extcon = <&usb_id>, <&usb_id>;
|
|
|
|
+ dr_mode = "otg";
|
|
|
|
+ status = "okay";
|
|
|
|
+ switch-gpio = <&pm8916_gpios 4 GPIO_ACTIVE_HIGH>;
|
|
|
|
+ pinctrl-names = "default";
|
|
|
|
+ pinctrl-0 = <&usb_sw_sel_pm>;
|
|
|
|
+ };
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ usb2513 {
|
|
|
|
+ compatible = "smsc,usb3503";
|
|
|
|
+ reset-gpios = <&pm8916_gpios 3 GPIO_ACTIVE_LOW>;
|
|
|
|
+ initial-mode = <1>;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ usb_id: usb-id {
|
|
|
|
+ compatible = "linux,extcon-usb-gpio";
|
|
|
|
+ id-gpio = <&msmgpio 121 GPIO_ACTIVE_HIGH>;
|
|
|
|
+ pinctrl-names = "default";
|
|
|
|
+ pinctrl-0 = <&usb_id_default>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
|