Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit df251b84 authored by Linyu Yuan's avatar Linyu Yuan
Browse files

ARM: dts: msm: usb_phy pin support usb_phy and gpio mode

move usb_phy pinctrl from pcie group and add gpio mode.

Change-Id: I9e18629fbcc9784faeed7f5ec41c0cf2c6366e7b
parent bcee2b72
Loading
Loading
Loading
Loading
+29 −13
Original line number Diff line number Diff line
@@ -2926,19 +2926,6 @@
				};
			};
		};

		usb3phy_portselect_default: usb3phy_portselect_default {
			mux {
				pins = "gpio81";
				function = "usb_phy";
			};

			config {
				pins = "gpio81";
				bias-disable;
				drive-strength = <2>;
			};
		};
	};

	pmx_sde: pmx_sde {
@@ -3591,4 +3578,33 @@
			};
		};
	};

	usb_phy_ps: usb_phy_ps {
		usb3phy_portselect_default: usb3phy_portselect_default {
			mux {
				pins = "gpio81";
				function = "usb_phy";
			};

			config {
				pins = "gpio81";
				bias-disable;
				drive-strength = <2>;
			};
		};

		usb3phy_portselect_gpio: usb3phy_portselect_gpio {
			mux {
				pins = "gpio81";
				function = "gpio";
			};

			config {
				pins = "gpio81";
				drive-strength = <2>;
				bias-pull-up;
				input-enable;
			};
		};
	};
};