|
255 | 255 | }; |
256 | 256 | }; |
257 | 257 |
|
| 258 | + vdd_micro_usb_vbus: regulator-micro-usb-vbus { |
| 259 | + compatible = "regulator-fixed"; |
| 260 | + regulator-name = "MICRO_USB_VBUS"; |
| 261 | + gpio = <&tlmm 63 GPIO_ACTIVE_HIGH>; |
| 262 | + regulator-min-microvolt = <5000000>; |
| 263 | + regulator-max-microvolt = <5000000>; |
| 264 | + regulator-boot-on; |
| 265 | + enable-active-high; |
| 266 | + }; |
| 267 | + |
258 | 268 | vph_pwr: vph-pwr-regulator { |
259 | 269 | compatible = "regulator-fixed"; |
260 | 270 | regulator-name = "vph_pwr"; |
|
286 | 296 | regulator-enable-ramp-delay = <10000>; |
287 | 297 | }; |
288 | 298 |
|
| 299 | + usb2-connector { |
| 300 | + compatible = "gpio-usb-b-connector", |
| 301 | + "usb-b-connector"; |
| 302 | + label = "micro-USB"; |
| 303 | + type = "micro"; |
| 304 | + id-gpios = <&tlmm 61 GPIO_ACTIVE_HIGH>; |
| 305 | + vbus-gpios = <&pm7325_gpios 9 GPIO_ACTIVE_HIGH>; |
| 306 | + vbus-supply = <&vdd_micro_usb_vbus>; |
| 307 | + pinctrl-0 = <&usb2_id_detect>; |
| 308 | + pinctrl-names = "default"; |
| 309 | + |
| 310 | + ports { |
| 311 | + #address-cells = <1>; |
| 312 | + #size-cells = <0>; |
| 313 | + |
| 314 | + port@0 { |
| 315 | + reg = <0>; |
| 316 | + |
| 317 | + usb2_connector_ep: endpoint { |
| 318 | + remote-endpoint = <&usb2_controller_ep>; |
| 319 | + }; |
| 320 | + }; |
| 321 | + }; |
| 322 | + }; |
| 323 | + |
289 | 324 | wcn6750-pmu { |
290 | 325 | compatible = "qcom,wcn6750-pmu"; |
291 | 326 | pinctrl-0 = <&bt_en>; |
|
1646 | 1681 | */ |
1647 | 1682 | bias-pull-up; |
1648 | 1683 | }; |
| 1684 | + |
| 1685 | + usb2_id_detect: usb2-id-detect-state { |
| 1686 | + pins = "gpio61"; |
| 1687 | + function = "gpio"; |
| 1688 | + bias-pull-up; |
| 1689 | + }; |
1649 | 1690 | }; |
1650 | 1691 |
|
1651 | 1692 | &uart5 { |
|
1709 | 1750 | status = "okay"; |
1710 | 1751 | }; |
1711 | 1752 |
|
| 1753 | +&usb_2 { |
| 1754 | + status = "okay"; |
| 1755 | + |
| 1756 | + ports { |
| 1757 | + #address-cells = <1>; |
| 1758 | + #size-cells = <0>; |
| 1759 | + |
| 1760 | + port@0 { |
| 1761 | + reg = <0>; |
| 1762 | + |
| 1763 | + usb2_controller_ep: endpoint { |
| 1764 | + remote-endpoint = <&usb2_connector_ep>; |
| 1765 | + }; |
| 1766 | + }; |
| 1767 | + }; |
| 1768 | +}; |
| 1769 | + |
| 1770 | +&usb_2_hsphy { |
| 1771 | + vdda-pll-supply = <&vreg_l10c_0p88>; |
| 1772 | + vdda18-supply = <&vreg_l1c_1p8>; |
| 1773 | + vdda33-supply = <&vreg_l2b_3p072>; |
| 1774 | + |
| 1775 | + status = "okay"; |
| 1776 | +}; |
| 1777 | + |
1712 | 1778 | &usb_dp_qmpphy_out { |
1713 | 1779 | remote-endpoint = <&redriver_phy_con_ss>; |
1714 | 1780 | }; |
|
0 commit comments