1// SPDX-License-Identifier: BSD-3-Clause 2/* 3 * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. 4 */ 5 6/ { 7 aliases { 8 serial0 = &uart13; 9 }; 10 11 chosen { 12 stdout-path = "serial0:115200n8"; 13 }; 14 15 pmic-glink { 16 compatible = "qcom,eliza-pmic-glink", 17 "qcom,sm8550-pmic-glink", 18 "qcom,pmic-glink"; 19 #address-cells = <1>; 20 #size-cells = <0>; 21 orientation-gpios = <&tlmm 122 GPIO_ACTIVE_HIGH>; 22 23 connector@0 { 24 compatible = "usb-c-connector"; 25 reg = <0>; 26 27 power-role = "dual"; 28 data-role = "dual"; 29 30 ports { 31 #address-cells = <1>; 32 #size-cells = <0>; 33 34 port@0 { 35 reg = <0>; 36 37 pmic_glink_hs_in: endpoint { 38 remote-endpoint = <&usb_dwc3_hs>; 39 }; 40 }; 41 42 port@1 { 43 reg = <1>; 44 45 pmic_glink_ss_in: endpoint { 46 remote-endpoint = <&usb_dp_qmpphy_out>; 47 }; 48 }; 49 }; 50 }; 51 }; 52}; 53 54&pm7550ba_eusb2_repeater { 55 vdd18-supply = <&vreg_l7b>; 56 vdd3-supply = <&vreg_l17b>; 57}; 58 59&sdhc_2 { 60 vmmc-supply = <&vreg_l13b>; 61 vqmmc-supply = <&vreg_l23b>; 62 63 cd-gpios = <&tlmm 58 GPIO_ACTIVE_LOW>; 64 65 pinctrl-0 = <&sdc2_default>, <&sd_cd>; 66 pinctrl-1 = <&sdc2_sleep>, <&sd_cd>; 67 pinctrl-names = "default", "sleep"; 68 69 status = "okay"; 70}; 71 72&tlmm { 73 sd_cd: sd-cd-state { 74 pins = "gpio58"; 75 function = "gpio"; 76 bias-pull-up; 77 }; 78}; 79 80&uart13 { 81 compatible = "qcom,geni-debug-uart"; 82 83 status = "okay"; 84}; 85 86&usb { 87 status = "okay"; 88}; 89 90&usb_dp_qmpphy { 91 vdda-phy-supply = <&vreg_l3g>; 92 vdda-pll-supply = <&vreg_l7k>; 93 94 status = "okay"; 95}; 96 97&usb_dp_qmpphy_out { 98 remote-endpoint = <&pmic_glink_ss_in>; 99}; 100 101&usb_dwc3_hs { 102 remote-endpoint = <&pmic_glink_hs_in>; 103}; 104 105&usb_hsphy { 106 vdd-supply = <&vreg_l7k>; 107 vdda12-supply = <&vreg_l4b>; 108 109 phys = <&pm7550ba_eusb2_repeater>; 110 111 status = "okay"; 112}; 113