From nobody Fri Apr 3 01:22:48 2026 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 69A75364E8E for ; Wed, 25 Mar 2026 22:35:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774478108; cv=none; b=OAHw02FH9RD55P0aaGYEKkUk9qKGYL5lRRXYRPik9Kng3tIr0r98NW4Hk1ODfEZ9TojNzeJ4en5WH4clXrX4R3Q4SuvQAAf1Wia4eEgskjTeP1Hyoorgm/goVDhZAP1Q10olNyXvrZ5VdrzhLG5MKg5pPyDyInf47VEsb1emYOc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774478108; c=relaxed/simple; bh=dgCdliq37YYz90XfbNdEwd52bDv0CXIRNuhclztakWQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=FQr4j50bQr8EN+VOp6yyPIIa+BLLrAi1YZOGDs4b5NA1WHc3kt3pBwvd7fr2b9dLydI00Qkfk1altairmeehlsiASXOfTToP2KTi5h8ylZMq8wnHMkAMQlxNwmAm7PEjgQzmC+UspqVo/PHQ6epkYvFkFy2xdRkNBbF29YLm3Cc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=dKftk8ja; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=L3oHiCDy; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="dKftk8ja"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="L3oHiCDy" Received: from pps.filterd (m0279872.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 62PFRPmf1432366 for ; Wed, 25 Mar 2026 22:35:04 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= l4gGzkW+K4kJet3S4JMtU6qOaBEVBs8OPUG/wffDpgA=; b=dKftk8jaiIwVIU6b Jsg6yZxrItoDAv5FZXqHvmiSwAzJ8zh4h2rhb8QrwkVn4RgewK2K860+9N/+HEeE wnQo1veiJPGp9qUf0C4k4puai0+XY6X0pEGfZi19sxGsdj/T2POzfH2DdbX4VQ8F +DU8YL0nxxYiCnk79UnA+1W+860a9mQQKyr5dq+a6SjDji0aHBrHAQXNfZpz5rk6 rswYA7z4dE7LoXiEgAIHnfD2Z9TnHGhrivY6XEW159Zv+T71uOzmWG97R+IgUtg8 EFyQClT12nmOSYp1IwZR4wMB4kTBHZQ1DtwJVUfAGeEv187fTHhksAdFaNRgh17M igYwMA== Received: from mail-oi1-f198.google.com (mail-oi1-f198.google.com [209.85.167.198]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4d4jc51ff2-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 25 Mar 2026 22:35:03 +0000 (GMT) Received: by mail-oi1-f198.google.com with SMTP id 5614622812f47-4670e83d97bso777648b6e.3 for ; Wed, 25 Mar 2026 15:35:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1774478103; x=1775082903; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=l4gGzkW+K4kJet3S4JMtU6qOaBEVBs8OPUG/wffDpgA=; b=L3oHiCDyPwwadqbMUi8MvsiPbqFqpUhFgdzk8LM0VP8ZyjI49BMf15C12sw1otwv9g xV+/Py8nyEXDSpmgtvMV2Lf/vqoHiS7ICn/KoPrWqdu0lkR5uJiRva2vQ3pcDP40IoWP P/usCwSSw2D0YfqfkMcvVTuM1Ll5pOpIqMKa3dYeoqzlGlixhHi5k1MBNcZvYQ5YAL9S EeSWgQ3NnetoWtvca7qfBhhg0c0BNxMJFGn7BKmiyHsZb4r55wo8065Wjsz5LYML9IAa 5mq06y8eUN80f2MbpyXHfAVO5trWXhJTfO/R9HAuBEf6+rUDXQDxsHZYFyQI55b7mP1s adkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774478103; x=1775082903; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=l4gGzkW+K4kJet3S4JMtU6qOaBEVBs8OPUG/wffDpgA=; b=gU4/5yy6wpksabYTHlvOiG5HX0/Ph84ukwJ+n9rjatlAuPS+FZdyfcB32g7oTRa6Wv j0BcHkNtWKklHFITe1XcmSVUIfDd8siXo4livpJIJixYEfwD1AQ8M9MoE5lx6Grq/hDo KtWgoHWEr8Sgu+l54nrxmu96G1HuH1+JNf9hMKPdO7kvjtuVylzgvk1/DKuK7fxUy/f3 En2h0rr+FfeAaKNPRiLsT0VztCTbT9kNn/ZDElyCeMiS/9AtyS/eyS6CX44mb2hx0lv/ WAhkBzHRJHRK6V/l9o7mF40ZjLgLSnEpl7+AgCu/zbM1ly8x0oOBdCy9xPunN+LD3pz7 P0CA== X-Forwarded-Encrypted: i=1; AJvYcCUolH5LxG4N+FQ3zjvDas34sPDbg4+0LCCh2H1qhDrxPv1pKvjZtVkpnYFNrPtRNNHZZH/321l0cTbXqNA=@vger.kernel.org X-Gm-Message-State: AOJu0Yx+1p2OSeNs77EIjyHyw2Ro5pofpp7ushJsbsXwwXm3Gh9gKcyL 9+YC8NOVGR82gvUFhNUe3wsoGTvQSnl4+vEoVhA+rizFzYVYyYXDecJcUhLHWtdGu6GuZBtqL3a fRIl+yQJNbUrvCJ14NzJJCBjOB4Ds2Q0zkE51P+gCPfwLakTv1XASIGGJB8nz3z9yr7Q= X-Gm-Gg: ATEYQzzzdlpnWwFDqvQm+ivQNj9Jk3kISFpd9kZaJlJP9UQ6L3ZTfcCqh1hvv+3dPvo sBl1ML+QVxK5+HWhlOhVpuHk5uQyT9XRlLDDR8O7u9GbVXaeYqTT8CDPjXijgjWikMZOiYXmNh0 Obs2SH2P5gm6P+sGbMYSNK1UoqK2dybjQoLCzpbqD1xhKdTJOgdF8EQZPvYFl2qa6ofaJAW5dpK e4VHOhuwtzLY9kLy21V08c5LiX4KOdvKYfMLlpVYp7hW4b7d/GBh83esjEfisOpMs8pJHhgEV9p rXHC5AzIqawoxhfrnXwVQ+QIIZy+Rlb4wW2Lc/X0cHOkDSSIc74QHblxOf4nG44Cnt4Y3+4Oiju gAq3E0bJ327xCZJoSHLB19CLgz+Sg5cGmesuVzUuyyiM= X-Received: by 2002:a05:6808:1907:b0:467:1da9:2b14 with SMTP id 5614622812f47-46a5c7c1e8cmr2607973b6e.51.1774478102796; Wed, 25 Mar 2026 15:35:02 -0700 (PDT) X-Received: by 2002:a05:6808:1907:b0:467:1da9:2b14 with SMTP id 5614622812f47-46a5c7c1e8cmr2607957b6e.51.1774478102263; Wed, 25 Mar 2026 15:35:02 -0700 (PDT) Received: from [192.168.86.59] ([104.57.184.186]) by smtp.gmail.com with ESMTPSA id 5614622812f47-46a70634941sm565790b6e.3.2026.03.25.15.35.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Mar 2026 15:35:01 -0700 (PDT) From: Bjorn Andersson Date: Wed, 25 Mar 2026 17:34:49 -0500 Subject: [PATCH 2/3] arm64: dts: qcom: Add the Lenovo IdeaCentre Mini X Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260325-ideacentre-v1-2-768b66aaef30@oss.qualcomm.com> References: <20260325-ideacentre-v1-0-768b66aaef30@oss.qualcomm.com> In-Reply-To: <20260325-ideacentre-v1-0-768b66aaef30@oss.qualcomm.com> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Bjorn Andersson X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=26510; i=bjorn.andersson@oss.qualcomm.com; h=from:subject:message-id; bh=dgCdliq37YYz90XfbNdEwd52bDv0CXIRNuhclztakWQ=; b=owEBgwJ8/ZANAwAKAQsfOT8Nma3FAcsmYgBpxGMS4Swe/8O52DDuqRe7qBXHh+/qhHg5d903V +mp9TR8ygaJAkkEAAEKADMWIQQF3gPMXzXqTwlm1SULHzk/DZmtxQUCacRjEhUcYW5kZXJzc29u QGtlcm5lbC5vcmcACgkQCx85Pw2ZrcUFqQ//a/nTLN/Phdphqk3oJrhvnmvu3gHkCLj7rOpG/hR Qj0gR7v35DQH08vIJolhh061raC70tL0GAD3OCVck2+RP8277cczsCc6YxuajHjm7AAvxiKkrdz EJfTDkKb994gkZJNf7+Wiu5TEojrAIRfs7HAc9LjAjnmEc61t/ybRCww2G3YOKelW42fDaQnukm G+fvUX+PffCK38ACkf0j8qz6rNSvIzWnC4OPnsf/E6borEJwvcnzkZIiTG+cgRVw/Z0ogjF0J+a +Kp9+5TQIYCYGqPfP+QtHRDGWEuV8E7Bcp/y8L8vmEJJlI0g8MKBAgT5t5MpJzbyZhrvgpqv+aA dofRTEJRDEdMQc5sQ9grfjLTFvazOZlKTuFE3A2iTnU2R/e4jYI00oPTjXHoSHAwTCNkBrJQk4h 1M/wKZembT/6ahkK9l4yjDxORJ80gMD1R/EBbFquad4Pmz+D6FedKXK37d0P6dYnFJlB278CAqJ 2lS9gwOatXRKpKeMU8nP9VvvI6u/oe4jh3sIYkNLSJ3LLSZGhOVx3Yc3Txvq7L4ibDp6gngvJN9 SCsoJ9PkQr4iX2Z79pf0/1rUhEr9Ew6/rhkUdw7+F29HopO3DycqlVJvo4VdPWCX1BocWOJdfj1 HIczRosLI3LxYyrYa7CDYTZSaP3TncIjt7tzBOalzQKg= X-Developer-Key: i=bjorn.andersson@oss.qualcomm.com; a=openpgp; fpr=05DE03CC5F35EA4F0966D5250B1F393F0D99ADC5 X-Proofpoint-GUID: zTpQn966hezfNSfr1E3goioW-pnKnxD9 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMzI1MDE2NyBTYWx0ZWRfX4qg0K9DHoHUA A7CfQxPAdXDldesEMv90/2AHo17UOszKpAZWwWj9k1pY8ec/sNZzZXokhEYVmFzdYtBQ8IkIFe9 SfqvDozi8dQRjLQdHvCjvH7M14j7/WTA+3hui9H7M2ga5ffFp0LNIlLkwuI3tmTenTL43UBCZ05 d4YYWVK3ZLoISfh22PBYRQQVAu/s1EwKFN3/6UqBRd5aPx4JIydndt8vS2i3sDP4KVZjRlVn9Ak FflcZ3qi1Obi9SxZHSJZlfn4YQhYxFyX4KcNG5+aUvKwkMPX5e+KdUWL5NCF/xNYgCYJNHvlOxk EODAFsDHWJJu+qAOZJmR2OzoB9lKAPkghM4n70G4wUVDUzTjBLK578FwM9/4TuxFo2BXq3ffmOG xyzd53eipXQ+OE36V8U97zbd4ETCMzlMv0IivxEYvRxJfFNJAsJpVwHppRXUDWm3ZC6BbEe5/2W 2T2N5bISCL8CDCcipag== X-Proofpoint-ORIG-GUID: zTpQn966hezfNSfr1E3goioW-pnKnxD9 X-Authority-Analysis: v=2.4 cv=KaLfcAYD c=1 sm=1 tr=0 ts=69c46317 cx=c_pps a=4ztaESFFfuz8Af0l9swBwA==:117 a=DaeiM5VmU20ml6RIjrOvYw==:17 a=IkcTkHD0fZMA:10 a=Yq5XynenixoA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=yx91gb_oNiZeI1HMLzn7:22 a=EUspDBNiAAAA:8 a=Xx-e167DirpOrJq_27oA:9 a=QEXdDO2ut3YA:10 a=TPnrazJqx2CeVZ-ItzZ-:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-03-25_06,2026-03-24_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 spamscore=0 adultscore=0 phishscore=0 bulkscore=0 priorityscore=1501 suspectscore=0 clxscore=1015 impostorscore=0 lowpriorityscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2603050001 definitions=main-2603250167 The Lenovo IdeaCentre Mini X (Snapdragon) Desktop is a Hamoa-based ultracompact desktop PC. It provides HDMI, DisplayPort, USB Type-C display outputs, 5 additional USB ports, Ethernet, dual NVME slots, headphone jack, WiFi, and Bluetooth. Introduce a DeviceTree describing this device. Signed-off-by: Bjorn Andersson Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/Makefile | 1 + .../qcom/hamoa-lenovo-ideacentre-mini-01q8x10.dts | 1199 ++++++++++++++++= ++++ 2 files changed, 1200 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/M= akefile index d69e5f3132c4fd3fbf1ac90e83adf6af6b104a93..fbbec696ac161af42c18acc344a= 228ba461f65a7 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -21,6 +21,7 @@ dtb-$(CONFIG_ARCH_QCOM) +=3D hamoa-iot-evk.dtb hamoa-iot-evk-el2-dtbs :=3D hamoa-iot-evk.dtb x1-el2.dtbo =20 dtb-$(CONFIG_ARCH_QCOM) +=3D hamoa-iot-evk-el2.dtb +dtb-$(CONFIG_ARCH_QCOM) +=3D hamoa-lenovo-ideacentre-mini-01q8x10.dtb dtb-$(CONFIG_ARCH_QCOM) +=3D ipq5018-rdp432-c2.dtb dtb-$(CONFIG_ARCH_QCOM) +=3D ipq5018-tplink-archer-ax55-v1.dtb dtb-$(CONFIG_ARCH_QCOM) +=3D ipq5332-rdp441.dtb diff --git a/arch/arm64/boot/dts/qcom/hamoa-lenovo-ideacentre-mini-01q8x10.= dts b/arch/arm64/boot/dts/qcom/hamoa-lenovo-ideacentre-mini-01q8x10.dts new file mode 100644 index 0000000000000000000000000000000000000000..cc90cb58a9c17ad166dd641d9bb= c03b7df5686a6 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/hamoa-lenovo-ideacentre-mini-01q8x10.dts @@ -0,0 +1,1199 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries. + */ + +/dts-v1/; + +#include +#include + +#include "hamoa.dtsi" +#include "hamoa-pmics.dtsi" + +/ { + model =3D "Lenovo IdeaCentre Mini 01Q8X10"; + compatible =3D "lenovo,ideacentre-mini-01q8x10", "qcom,x1e80100"; + chassis-type =3D "desktop"; + + aliases { + serial0 =3D &uart14; + }; + + wcd938x: audio-codec { + compatible =3D "qcom,wcd9385-codec"; + + pinctrl-0 =3D <&wcd_default>; + pinctrl-names =3D "default"; + + qcom,micbias1-microvolt =3D <1800000>; + qcom,micbias2-microvolt =3D <1800000>; + qcom,micbias3-microvolt =3D <1800000>; + qcom,micbias4-microvolt =3D <1800000>; + qcom,mbhc-buttons-vthreshold-microvolt =3D <75000 150000 237000 500000 5= 00000 500000 500000 500000>; + qcom,mbhc-headset-vthreshold-microvolt =3D <1700000>; + qcom,mbhc-headphone-vthreshold-microvolt =3D <50000>; + qcom,rx-device =3D <&wcd_rx>; + qcom,tx-device =3D <&wcd_tx>; + + reset-gpios =3D <&tlmm 191 GPIO_ACTIVE_LOW>; + mux-controls =3D <&us_euro_mux_ctrl>; + + vdd-buck-supply =3D <&vreg_l15b>; + vdd-rxtx-supply =3D <&vreg_l15b>; + vdd-io-supply =3D <&vreg_l15b>; + vdd-mic-bias-supply =3D <&vreg_bob1>; + + #sound-dai-cells =3D <1>; + }; + + dp-connector { + compatible =3D "dp-connector"; + type =3D "full-size"; + + pinctrl-0 =3D <&usb1_dp_hot_plug_detect>; + pinctrl-names =3D "default"; + + port { + dp_port_in: endpoint { + remote-endpoint =3D <&usb_1_ss1_qmpphy_out_dp>; + }; + }; + }; + + hdmi-bridge { + compatible =3D "parade,ps185hdm"; + + pinctrl-0 =3D <&usb2_dp_hot_plug_detect>; + pinctrl-names =3D "default"; + + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + + hdmi_bridge_in: endpoint { + remote-endpoint =3D <&usb_1_ss2_qmpphy_out_dp>; + }; + }; + + port@1 { + reg =3D <1>; + + hdmi_bridge_out: endpoint { + remote-endpoint =3D <&hdmi_con>; + }; + }; + }; + }; + + hdmi-connector { + compatible =3D "hdmi-connector"; + type =3D "a"; + + port { + hdmi_con: endpoint { + remote-endpoint =3D <&hdmi_bridge_out>; + }; + }; + }; + + us_euro_mux_ctrl: mux-controller { + compatible =3D "gpio-mux"; + pinctrl-0 =3D <&us_euro_hs_sel>; + pinctrl-names =3D "default"; + mux-supply =3D <&vreg_l16b>; + #mux-control-cells =3D <0>; + mux-gpios =3D <&tlmm 68 GPIO_ACTIVE_HIGH>; + }; + + pmic-glink { + compatible =3D "qcom,x1e80100-pmic-glink", + "qcom,sm8550-pmic-glink", + "qcom,pmic-glink"; + orientation-gpios =3D <&tlmm 121 GPIO_ACTIVE_HIGH>; + + #address-cells =3D <1>; + #size-cells =3D <0>; + + connector@0 { + compatible =3D "usb-c-connector"; + reg =3D <0>; + power-role =3D "dual"; + data-role =3D "dual"; + + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + + pmic_glink_port0_hs_in: endpoint { + remote-endpoint =3D <&usb_1_ss0_dwc3_hs>; + }; + }; + + port@1 { + reg =3D <1>; + + pmic_glink_port0_ss_in: endpoint { + remote-endpoint =3D <&usb0_retimer_out>; + }; + }; + + port@2 { + reg =3D <2>; + + pmic_glink_port0_sbu_in: endpoint { + remote-endpoint =3D <&usb0_retimer_sbu_out>; + }; + }; + }; + }; + }; + + vreg_nvme1_3p3: regulator-nvme1-3p3 { + compatible =3D "regulator-fixed"; + + regulator-name =3D "VREG_NVME1_3P3"; + regulator-min-microvolt =3D <3300000>; + regulator-max-microvolt =3D <3300000>; + + gpio =3D <&tlmm 18 GPIO_ACTIVE_HIGH>; + enable-active-high; + + pinctrl-0 =3D <&nvme_reg_en>; + pinctrl-names =3D "default"; + + regulator-boot-on; + }; + + vreg_nvme2_3p3: regulator-nvme2-3p3 { + compatible =3D "regulator-fixed"; + + regulator-name =3D "VREG_NVME2_3P3"; + regulator-min-microvolt =3D <3300000>; + regulator-max-microvolt =3D <3300000>; + + gpio =3D <&tlmm 18 GPIO_ACTIVE_HIGH>; + enable-active-high; + + pinctrl-0 =3D <&nvme_reg_en>; + pinctrl-names =3D "default"; + + regulator-boot-on; + }; + + vreg_v0p9: regulator-v0p9 { + compatible =3D "regulator-fixed"; + + regulator-name =3D "V0P9"; + regulator-min-microvolt =3D <906000>; + regulator-max-microvolt =3D <906000>; + + gpio =3D <&pmc8380_5_gpios 8 GPIO_ACTIVE_HIGH>; + enable-active-high; + + pinctrl-0 =3D <&usb0_pwr_1p15_reg_en>; + pinctrl-names =3D "default"; + + regulator-boot-on; + }; + + vreg_vdd1v8: regulator-vdd1v8 { + compatible =3D "regulator-fixed"; + + regulator-name =3D "VDD1V8"; + regulator-min-microvolt =3D <1800000>; + regulator-max-microvolt =3D <1800000>; + + vin-supply =3D <&vreg_l15b>; + + gpio =3D <&pm8550ve_9_gpios 8 GPIO_ACTIVE_HIGH>; + enable-active-high; + + pinctrl-0 =3D <&usb0_1p8_reg_en>; + pinctrl-names =3D "default"; + + regulator-boot-on; + }; + + vreg_vdd33_rtmr: regulator-vdd33-rtmr { + compatible =3D "regulator-fixed"; + + regulator-name =3D "VDD33_RTMR"; + regulator-min-microvolt =3D <3300000>; + regulator-max-microvolt =3D <3300000>; + + gpio =3D <&pm8550_gpios 11 GPIO_ACTIVE_HIGH>; + enable-active-high; + + pinctrl-0 =3D <&usb0_3p3_reg_en>; + pinctrl-names =3D "default"; + + regulator-boot-on; + }; + + vreg_wcn_0p95: regulator-wcn-0p95 { + compatible =3D "regulator-fixed"; + + regulator-name =3D "VREG_WCN_0P95"; + regulator-min-microvolt =3D <950000>; + regulator-max-microvolt =3D <950000>; + + vin-supply =3D <&vreg_wifi_3v3>; + }; + + vreg_wifi_3v3: regulator-wcn-3p3 { + compatible =3D "regulator-fixed"; + + regulator-name =3D "WIFI_3V3"; + regulator-min-microvolt =3D <3300000>; + regulator-max-microvolt =3D <3300000>; + + gpio =3D <&tlmm 214 GPIO_ACTIVE_HIGH>; + enable-active-high; + + pinctrl-0 =3D <&wcn_sw_en>; + pinctrl-names =3D "default"; + }; + + vreg_wifi_1v8: regulator-wifi-1v8 { + compatible =3D "regulator-fixed"; + + regulator-name =3D "WIFI_1V8"; + regulator-min-microvolt =3D <1800000>; + regulator-max-microvolt =3D <1800000>; + + vin-supply =3D <&vreg_l15b>; + }; + + reserved-memory { + linux,cma { + compatible =3D "shared-dma-pool"; + size =3D <0x0 0x8000000>; + reusable; + linux,cma-default; + }; + }; + + sound { + compatible =3D "qcom,x1e80100-sndcard"; + model =3D "X1E80100-LENOVO-IdeaCentre-Mini"; + audio-routing =3D "IN1_HPHL", "HPHL_OUT", + "IN2_HPHR", "HPHR_OUT", + "AMIC2", "MIC BIAS2", + "TX SWR_INPUT1", "ADC2_OUTPUT"; + + wcd-playback-dai-link { + link-name =3D "WCD Playback"; + + cpu { + sound-dai =3D <&q6apmbedai RX_CODEC_DMA_RX_0>; + }; + + codec { + sound-dai =3D <&wcd938x 0>, <&swr1 0>, <&lpass_rxmacro 0>; + }; + + platform { + sound-dai =3D <&q6apm>; + }; + }; + + wcd-capture-dai-link { + link-name =3D "WCD Capture"; + + cpu { + sound-dai =3D <&q6apmbedai TX_CODEC_DMA_TX_3>; + }; + + codec { + sound-dai =3D <&wcd938x 1>, <&swr2 1>, <&lpass_txmacro 0>; + }; + + platform { + sound-dai =3D <&q6apm>; + }; + }; + + displayport-0-dai-link { + link-name =3D "DisplayPort0 Playback"; + + codec { + sound-dai =3D <&mdss_dp0>; + }; + + cpu { + sound-dai =3D <&q6apmbedai DISPLAY_PORT_RX_0>; + }; + + platform { + sound-dai =3D <&q6apm>; + }; + }; + + displayport-1-dai-link { + link-name =3D "DisplayPort1 Playback"; + + codec { + sound-dai =3D <&mdss_dp1>; + }; + + cpu { + sound-dai =3D <&q6apmbedai DISPLAY_PORT_RX_1>; + }; + + platform { + sound-dai =3D <&q6apm>; + }; + }; + + displayport-2-dai-link { + link-name =3D "DisplayPort2 Playback"; + + codec { + sound-dai =3D <&mdss_dp2>; + }; + + cpu { + sound-dai =3D <&q6apmbedai DISPLAY_PORT_RX_2>; + }; + + platform { + sound-dai =3D <&q6apm>; + }; + }; + }; + + wcn7850-pmu { + compatible =3D "qcom,wcn7850-pmu"; + + vdd-supply =3D <&vreg_wcn_0p95>; + vddio-supply =3D <&vreg_l15b>; + vddaon-supply =3D <&vreg_wcn_0p95>; + vdddig-supply =3D <&vreg_wcn_0p95>; + vddrfa1p2-supply =3D <&vreg_wifi_1v8>; + vddrfa1p8-supply =3D <&vreg_wifi_1v8>; + + wlan-enable-gpios =3D <&tlmm 117 GPIO_ACTIVE_HIGH>; + bt-enable-gpios =3D <&tlmm 116 GPIO_ACTIVE_HIGH>; + + pinctrl-0 =3D <&wcn_wlan_bt_en>; + pinctrl-names =3D "default"; + + regulators { + vreg_pmu_rfa_cmn: ldo0 { + regulator-name =3D "vreg_pmu_rfa_cmn"; + }; + + vreg_pmu_aon_0p59: ldo1 { + regulator-name =3D "vreg_pmu_aon_0p59"; + }; + + vreg_pmu_wlcx_0p8: ldo2 { + regulator-name =3D "vreg_pmu_wlcx_0p8"; + }; + + vreg_pmu_wlmx_0p85: ldo3 { + regulator-name =3D "vreg_pmu_wlmx_0p85"; + }; + + vreg_pmu_btcmx_0p85: ldo4 { + regulator-name =3D "vreg_pmu_btcmx_0p85"; + }; + + vreg_pmu_rfa_0p8: ldo5 { + regulator-name =3D "vreg_pmu_rfa_0p8"; + }; + + vreg_pmu_rfa_1p2: ldo6 { + regulator-name =3D "vreg_pmu_rfa_1p2"; + }; + + vreg_pmu_rfa_1p8: ldo7 { + regulator-name =3D "vreg_pmu_rfa_1p8"; + }; + + vreg_pmu_pcie_0p9: ldo8 { + regulator-name =3D "vreg_pmu_pcie_0p9"; + }; + + vreg_pmu_pcie_1p8: ldo9 { + regulator-name =3D "vreg_pmu_pcie_1p8"; + }; + }; + }; +}; + +&apps_rsc { + regulators-0 { + compatible =3D "qcom,pm8550-rpmh-regulators"; + qcom,pmic-id =3D "b"; + + vreg_bob1: bob1 { + regulator-name =3D "vreg_bob1"; + regulator-min-microvolt =3D <3008000>; + regulator-max-microvolt =3D <3960000>; + regulator-initial-mode =3D ; + }; + + vreg_l2b: ldo2 { + regulator-name =3D "VREG_L2B"; + regulator-min-microvolt =3D <3072000>; + regulator-max-microvolt =3D <3072000>; + regulator-initial-mode =3D ; + }; + + vreg_l4b: ldo4 { + regulator-name =3D "VREG_L4B"; + regulator-min-microvolt =3D <1800000>; + regulator-max-microvolt =3D <1800000>; + regulator-initial-mode =3D ; + }; + + vreg_l13b: ldo13 { + regulator-name =3D "VREG_L13B"; + regulator-min-microvolt =3D <3072000>; + regulator-max-microvolt =3D <3072000>; + regulator-initial-mode =3D ; + }; + + vreg_l15b: ldo15 { + regulator-name =3D "VREG_L15B"; + regulator-min-microvolt =3D <1800000>; + regulator-max-microvolt =3D <1800000>; + regulator-initial-mode =3D ; + regulator-always-on; + }; + + vreg_l16b: ldo16 { + regulator-name =3D "VREG_L16B"; + regulator-min-microvolt =3D <2504000>; + regulator-max-microvolt =3D <2504000>; + regulator-initial-mode =3D ; + }; + + }; + + regulators-1 { + compatible =3D "qcom,pm8550ve-rpmh-regulators"; + qcom,pmic-id =3D "c"; + + vreg_l3c: ldo3 { + regulator-name =3D "VREG_L3C"; + regulator-min-microvolt =3D <912000>; + regulator-max-microvolt =3D <912000>; + regulator-initial-mode =3D ; + }; + }; + + regulators-2 { + compatible =3D "qcom,pmc8380-rpmh-regulators"; + qcom,pmic-id =3D "d"; + + vreg_l1d: ldo1 { + regulator-name =3D "VREG_L1D"; + regulator-min-microvolt =3D <880000>; + regulator-max-microvolt =3D <920000>; + regulator-initial-mode =3D ; + }; + + vreg_l2d: ldo2 { + regulator-name =3D "VREG_L2D"; + regulator-min-microvolt =3D <912000>; + regulator-max-microvolt =3D <912000>; + regulator-initial-mode =3D ; + }; + + vreg_l3d: ldo3 { + regulator-name =3D "VREG_L3D"; + regulator-min-microvolt =3D <1800000>; + regulator-max-microvolt =3D <1800000>; + regulator-initial-mode =3D ; + }; + }; + + regulators-3 { + compatible =3D "qcom,pmc8380-rpmh-regulators"; + qcom,pmic-id =3D "e"; + + vreg_l2e: ldo2 { + regulator-name =3D "VREG_L2E"; + regulator-min-microvolt =3D <880000>; + regulator-max-microvolt =3D <880000>; + regulator-initial-mode =3D ; + }; + + vreg_l3e: ldo3 { + regulator-name =3D "VREG_L3E"; + regulator-min-microvolt =3D <1200000>; + regulator-max-microvolt =3D <1200000>; + regulator-initial-mode =3D ; + }; + }; + + regulators-4 { + compatible =3D "qcom,pm8550ve-rpmh-regulators"; + qcom,pmic-id =3D "i"; + + vreg_l3i: ldo3 { + regulator-name =3D "VREG_L3I"; + regulator-min-microvolt =3D <880000>; + regulator-max-microvolt =3D <920000>; + regulator-initial-mode =3D ; + }; + }; + + regulators-5 { + compatible =3D "qcom,pm8550ve-rpmh-regulators"; + qcom,pmic-id =3D "j"; + + vreg_l1j: ldo1 { + regulator-name =3D "VREG_L1J"; + regulator-min-microvolt =3D <912000>; + regulator-max-microvolt =3D <912000>; + regulator-initial-mode =3D ; + }; + + vreg_l2j: ldo2 { + regulator-name =3D "VREG_L2J"; + regulator-min-microvolt =3D <1256000>; + regulator-max-microvolt =3D <1256000>; + regulator-initial-mode =3D ; + }; + + vreg_l3j: ldo3 { + regulator-name =3D "VREG_L3J"; + regulator-min-microvolt =3D <880000>; + regulator-max-microvolt =3D <880000>; + regulator-initial-mode =3D ; + }; + }; +}; + +&i2c3 { + clock-frequency =3D <400000>; + + status =3D "okay"; + + typec-mux@8 { + compatible =3D "parade,ps8833", "parade,ps8830"; + reg =3D <0x08>; + + clocks =3D <&rpmhcc RPMH_RF_CLK3>; + + vdd-supply =3D <&vreg_v0p9>; + vdd33-supply =3D <&vreg_vdd33_rtmr>; + vdd33-cap-supply =3D <&vreg_vdd33_rtmr>; + vddar-supply =3D <&vreg_v0p9>; + vddat-supply =3D <&vreg_v0p9>; + vddio-supply =3D <&vreg_vdd1v8>; + + reset-gpios =3D <&pm8550_gpios 10 GPIO_ACTIVE_LOW>; + + pinctrl-0 =3D <&usb0_reset_n>; + pinctrl-names =3D "default"; + + retimer-switch; + orientation-switch; + + ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + + port@0 { + reg =3D <0>; + + usb0_retimer_out: endpoint { + remote-endpoint =3D <&pmic_glink_port0_ss_in>; + }; + }; + + port@1 { + reg =3D <1>; + + usb0_retimer_in: endpoint { + remote-endpoint =3D <&usb_1_ss0_qmpphy_out>; + }; + }; + + port@2 { + reg =3D <2>; + + usb0_retimer_sbu_out: endpoint { + remote-endpoint =3D <&pmic_glink_port0_sbu_in>; + }; + }; + }; + }; +}; + +&i2c5 { + clock-frequency =3D <400000>; + + status =3D "okay"; + + eusb3_repeater: redriver@47 { + compatible =3D "nxp,ptn3222"; + reg =3D <0x47>; + #phy-cells =3D <0>; + + vdd3v3-supply =3D <&vreg_l13b>; + vdd1v8-supply =3D <&vreg_l4b>; + + reset-gpios =3D <&tlmm 6 GPIO_ACTIVE_LOW>; + + pinctrl-0 =3D <&eusb3_reset_n>; + pinctrl-names =3D "default"; + }; + + eusb6_repeater: redriver@4f { + compatible =3D "nxp,ptn3222"; + reg =3D <0x4f>; + #phy-cells =3D <0>; + + vdd3v3-supply =3D <&vreg_l13b>; + vdd1v8-supply =3D <&vreg_l4b>; + + reset-gpios =3D <&tlmm 184 GPIO_ACTIVE_LOW>; + + pinctrl-0 =3D <&eusb6_reset_n>; + pinctrl-names =3D "default"; + }; +}; + +&iris { + firmware-name =3D "qcom/x1e80100/LENOVO/91B6/qcvss8380.mbn"; + status =3D "okay"; +}; + +&gpu { + status =3D "okay"; +}; + +&gpu_zap_shader { + firmware-name =3D "qcom/x1e80100/LENOVO/91B6/qcdxkmsuc8380.mbn"; +}; + +&mdss { + status =3D "okay"; +}; + +&mdss_dp0 { + status =3D "okay"; +}; + +&mdss_dp0_out { + link-frequencies =3D /bits/ 64 <1620000000 2700000000 5400000000 81000000= 00>; +}; + +&mdss_dp1 { + status =3D "okay"; +}; + +&mdss_dp1_out { + link-frequencies =3D /bits/ 64 <1620000000 2700000000 5400000000 81000000= 00>; +}; + +&mdss_dp2 { + status =3D "okay"; +}; + +&mdss_dp2_out { + link-frequencies =3D /bits/ 64 <1620000000 2700000000 5400000000 81000000= 00>; +}; + +&pcie3 { + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pcie3_default>; + + perst-gpios =3D <&tlmm 143 GPIO_ACTIVE_LOW>; + wake-gpios =3D <&tlmm 145 GPIO_ACTIVE_LOW>; + + vddpe-3v3-supply =3D <&vreg_nvme2_3p3>; + + status =3D "okay"; +}; + +&pcie3_phy { + vdda-phy-supply =3D <&vreg_l3c>; + vdda-pll-supply =3D <&vreg_l3e>; + + status =3D "okay"; +}; + +&pcie4 { + perst-gpios =3D <&tlmm 146 GPIO_ACTIVE_LOW>; + wake-gpios =3D <&tlmm 148 GPIO_ACTIVE_LOW>; + + pinctrl-0 =3D <&pcie4_default>; + pinctrl-names =3D "default"; + + status =3D "okay"; +}; + +&pcie4_phy { + vdda-phy-supply =3D <&vreg_l3i>; + vdda-pll-supply =3D <&vreg_l3e>; + + status =3D "okay"; +}; + +&pcie4_port0 { + wifi@0 { + compatible =3D "pci17cb,1107"; + reg =3D <0x10000 0x0 0x0 0x0 0x0>; + + vddaon-supply =3D <&vreg_pmu_aon_0p59>; + vddwlcx-supply =3D <&vreg_pmu_wlcx_0p8>; + vddwlmx-supply =3D <&vreg_pmu_wlmx_0p85>; + vddrfacmn-supply =3D <&vreg_pmu_rfa_cmn>; + vddrfa0p8-supply =3D <&vreg_pmu_rfa_0p8>; + vddrfa1p2-supply =3D <&vreg_pmu_rfa_1p2>; + vddrfa1p8-supply =3D <&vreg_pmu_rfa_1p8>; + vddpcie0p9-supply =3D <&vreg_pmu_pcie_0p9>; + vddpcie1p8-supply =3D <&vreg_pmu_pcie_1p8>; + }; +}; + +&pcie5 { + perst-gpios =3D <&tlmm 149 GPIO_ACTIVE_LOW>; + wake-gpios =3D <&tlmm 151 GPIO_ACTIVE_LOW>; + + pinctrl-0 =3D <&pcie5_default>; + pinctrl-names =3D "default"; + + status =3D "okay"; +}; + +&pcie5_phy { + vdda-phy-supply =3D <&vreg_l3i>; + vdda-pll-supply =3D <&vreg_l3e>; + + status =3D "okay"; +}; + +&pcie6a { + perst-gpios =3D <&tlmm 152 GPIO_ACTIVE_LOW>; + wake-gpios =3D <&tlmm 154 GPIO_ACTIVE_LOW>; + + vddpe-3v3-supply =3D <&vreg_nvme1_3p3>; + + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pcie6a_default>; + + status =3D "okay"; +}; + +&pcie6a_phy { + vdda-phy-supply =3D <&vreg_l1d>; + vdda-pll-supply =3D <&vreg_l2j>; + + status =3D "okay"; +}; + +&pmc8380_5_gpios { + usb0_pwr_1p15_reg_en: usb0-pwr-1p15-reg-en-state { + pins =3D "gpio8"; + function =3D "normal"; + power-source =3D <1>; + bias-disable; + input-disable; + output-enable; + }; +}; + +&pm8550_gpios { + usb0_reset_n: usb0-reset-n-state { + pins =3D "gpio10"; + function =3D "normal"; + power-source =3D <1>; + bias-disable; + input-disable; + output-enable; + }; + + usb0_3p3_reg_en: usb0-3p3-reg-en-state { + pins =3D "gpio11"; + function =3D "normal"; + power-source =3D <1>; + bias-disable; + input-disable; + output-enable; + }; +}; + +&pm8550ve_9_gpios { + usb0_1p8_reg_en: usb0-1p8-reg-en-state { + pins =3D "gpio8"; + function =3D "normal"; + power-source =3D <1>; + bias-disable; + input-disable; + output-enable; + }; +}; + +&qupv3_0 { + status =3D "okay"; +}; + +&qupv3_1 { + status =3D "okay"; +}; + +&qupv3_2 { + status =3D "okay"; +}; + +&remoteproc_adsp { + firmware-name =3D "qcom/x1e80100/LENOVO/91B6/qcadsp8380.mbn", + "qcom/x1e80100/LENOVO/91B6/adsp_dtbs.elf"; + + status =3D "okay"; +}; + +&remoteproc_cdsp { + firmware-name =3D "qcom/x1e80100/LENOVO/91B6/qccdsp8380.mbn", + "qcom/x1e80100/LENOVO/91B6/cdsp_dtbs.elf"; + + status =3D "okay"; +}; + +&smb2360_0 { + status =3D "okay"; +}; + +&smb2360_0 { + status =3D "okay"; +}; + +&smb2360_0_eusb2_repeater { + vdd18-supply =3D <&vreg_l3d>; + vdd3-supply =3D <&vreg_l2b>; +}; + +&swr1 { + status =3D "okay"; + + /* WCD9385 RX */ + wcd_rx: codec@0,4 { + compatible =3D "sdw20217010d00"; + reg =3D <0 4>; + qcom,rx-port-mapping =3D <1 2 3 4 5>; + }; +}; + +&swr2 { + status =3D "okay"; + + /* WCD9385 TX */ + wcd_tx: codec@0,3 { + compatible =3D "sdw20217010d00"; + reg =3D <0 3>; + qcom,tx-port-mapping =3D <2 2 3 4>; + }; +}; + +&tlmm { + gpio-reserved-ranges =3D <44 4>, /* SPI11 (TPM) */ + <76 4>, /* SPI19 (TZ Protected) */ + <238 1>; /* UFS Reset */ + + eusb3_reset_n: eusb3-reset-n-state { + pins =3D "gpio6"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-disable; + output-low; + }; + + nvme_reg_en: nvme-reg-en-state { + pins =3D "gpio18"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-disable; + }; + + us_euro_hs_sel: us-euro-hs-sel-state { + pins =3D "gpio68"; + function =3D "gpio"; + bias-pull-down; + drive-strength =3D <2>; + }; + + wcn_wlan_bt_en: wcn-wlan-bt-en-state { + pins =3D "gpio116", "gpio117"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-disable; + }; + + usb1_dp_hot_plug_detect: ub1-dp-hot-plug-detect-state { + pins =3D "gpio124"; + function =3D "usb1_dp"; + bias-disable; + }; + + usb2_dp_hot_plug_detect: usb2-dp-hot-plug-detect-state { + pins =3D "gpio126"; + function =3D "usb2_dp"; + bias-disable; + }; + + pcie3_default: pcie3-default-state { + clkreq-n-pins { + pins =3D "gpio144"; + function =3D "pcie3_clk"; + drive-strength =3D <2>; + bias-pull-up; + }; + + perst-n-pins { + pins =3D "gpio143"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-pull-down; + }; + + wake-n-pins { + pins =3D "gpio145"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-pull-up; + }; + }; + + pcie4_default: pcie4-default-state { + clkreq-n-pins { + pins =3D "gpio147"; + function =3D "pcie4_clk"; + drive-strength =3D <2>; + bias-pull-up; + }; + + perst-n-pins { + pins =3D "gpio146"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-disable; + }; + + wake-n-pins { + pins =3D "gpio148"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-pull-up; + }; + }; + + pcie5_default: pcie5-default-state { + clkreq-n-pins { + pins =3D "gpio150"; + function =3D "pcie5_clk"; + drive-strength =3D <2>; + bias-pull-up; + }; + + perst-n-pins { + pins =3D "gpio149"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-disable; + }; + + wake-n-pins { + pins =3D "gpio151"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-pull-up; + }; + }; + + pcie6a_default: pcie6a-default-state { + clkreq-n-pins { + pins =3D "gpio153"; + function =3D "pcie6a_clk"; + drive-strength =3D <2>; + bias-pull-up; + }; + + perst-n-pins { + pins =3D "gpio152"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-disable; + }; + + wake-n-pins { + pins =3D "gpio154"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-pull-up; + }; + }; + + eusb6_reset_n: eusb6-reset-n-state { + pins =3D "gpio184"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-disable; + output-low; + }; + + wcd_default: wcd-reset-n-active-state { + pins =3D "gpio191"; + function =3D "gpio"; + drive-strength =3D <16>; + bias-disable; + output-low; + }; + + wcn_sw_en: wcn-sw-en-state { + pins =3D "gpio214"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-disable; + }; +}; + +&uart14 { + status =3D "okay"; + + bluetooth { + compatible =3D "qcom,wcn7850-bt"; + max-speed =3D <3200000>; + + vddaon-supply =3D <&vreg_pmu_aon_0p59>; + vddwlcx-supply =3D <&vreg_pmu_wlcx_0p8>; + vddwlmx-supply =3D <&vreg_pmu_wlmx_0p85>; + vddrfacmn-supply =3D <&vreg_pmu_rfa_cmn>; + vddrfa0p8-supply =3D <&vreg_pmu_rfa_0p8>; + vddrfa1p2-supply =3D <&vreg_pmu_rfa_1p2>; + vddrfa1p8-supply =3D <&vreg_pmu_rfa_1p8>; + }; +}; + +&usb_1_ss0 { + dr_mode =3D "host"; + + status =3D "okay"; +}; + +&usb_1_ss0_dwc3_hs { + remote-endpoint =3D <&pmic_glink_port0_hs_in>; +}; + +&usb_1_ss0_hsphy { + vdd-supply =3D <&vreg_l3j>; + vdda12-supply =3D <&vreg_l2j>; + + phys =3D <&smb2360_0_eusb2_repeater>; + + status =3D "okay"; +}; + +&usb_1_ss0_qmpphy { + vdda-phy-supply =3D <&vreg_l2j>; + vdda-pll-supply =3D <&vreg_l1j>; + + status =3D "okay"; +}; + +&usb_1_ss0_qmpphy_out { + remote-endpoint =3D <&usb0_retimer_in>; +}; + +&usb_1_ss1_qmpphy { + vdda-phy-supply =3D <&vreg_l2j>; + vdda-pll-supply =3D <&vreg_l2d>; + + /delete-property/ mode-switch; + /delete-property/ orientation-switch; + + status =3D "okay"; + + ports { + port@0 { + #address-cells =3D <1>; + #size-cells =3D <0>; + + /delete-node/ endpoint; + + /* XXX: why @0? */ + usb_1_ss1_qmpphy_out_dp: endpoint@0 { + reg =3D <0>; + + data-lanes =3D <3 2 1 0>; + remote-endpoint =3D <&dp_port_in>; + }; + }; + }; +}; + +&usb_1_ss2_qmpphy { + vdda-phy-supply =3D <&vreg_l2j>; + vdda-pll-supply =3D <&vreg_l2d>; + + /delete-property/ mode-switch; + /delete-property/ orientation-switch; + + status =3D "okay"; + + ports { + port@0 { + #address-cells =3D <1>; + #size-cells =3D <0>; + + /delete-node/ endpoint; + + /* XXX: why @0? */ + usb_1_ss2_qmpphy_out_dp: endpoint@0 { + reg =3D <0>; + + data-lanes =3D <3 2 1 0>; + remote-endpoint =3D <&hdmi_bridge_in>; + }; + }; + }; +}; + +&usb_mp { + status =3D "okay"; +}; + +&usb_mp_hsphy0 { + vdd-supply =3D <&vreg_l2e>; + vdda12-supply =3D <&vreg_l3e>; + + phys =3D <&eusb3_repeater>; + + status =3D "okay"; +}; + +&usb_mp_hsphy1 { + vdd-supply =3D <&vreg_l2e>; + vdda12-supply =3D <&vreg_l3e>; + + phys =3D <&eusb6_repeater>; + + status =3D "okay"; +}; + +&usb_mp_qmpphy0 { + vdda-phy-supply =3D <&vreg_l3e>; + vdda-pll-supply =3D <&vreg_l3c>; + + status =3D "okay"; +}; + +&usb_mp_qmpphy1 { + vdda-phy-supply =3D <&vreg_l3e>; + vdda-pll-supply =3D <&vreg_l3c>; + + status =3D "okay"; +}; --=20 2.51.0