From nobody Sun Nov 24 22:47:19 2024 Received: from mail-lj1-f176.google.com (mail-lj1-f176.google.com [209.85.208.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5AD8414A4E0 for ; Sat, 2 Nov 2024 03:03:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.176 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730516607; cv=none; b=iRubOkQgOQFNpg+xctF3Gbosn0aLE4i6yqi9KW8U2i/oOCnzIGMBq4LqgkY2OLDrrBXqpxZwbny9/inEd+md4/J4Aymubf4CDEAFDna8fDeCfJeRYMr7cb2NuRIgGBzhxDWPGL2D4PRE+VoDl4H2yQrtblCNzAnl5Diqaf/hgY8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730516607; c=relaxed/simple; bh=NKAIDk88fRxbk1aniGyJcLFMvYupa5MdlxK5Gu+xftk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=nkJSXmATF0hmMPM/jy/bCJTi7S2yH6uepuLWVfASisADyiAMprzP8rfbMjBZB4LHROsSsQj4tPhoPO6IEkZKFnYrz0htiJNjvopbzSmbZvJArJkU1Z8hTmtF6QZ2fuGeWiJOigKobkhpi0uwIWmJPQWw8FtZOqwNxbuR4xETJBM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=k7gcR2zq; arc=none smtp.client-ip=209.85.208.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="k7gcR2zq" Received: by mail-lj1-f176.google.com with SMTP id 38308e7fff4ca-2fb5014e2daso23461021fa.0 for ; Fri, 01 Nov 2024 20:03:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1730516603; x=1731121403; 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=AZEeMNgusIZTWzz2i9vViIz6mo9IrlvlUg/Uj7ZADwY=; b=k7gcR2zqccv7Znrf1e9T66KT77YBgPF1c3Lt/3Yob45Dn4ZuaU2NtXt9i+j+XEjsau MpFV5IZuVUK6wZf9GX6angsaKz20o1xn7vz4WKkiGVeXYGDlbNts3RJ59LUY9QMFUBHC 4bN+kLOP7O6sPSAtwViH4i9qg3/PwAHvl2yLyJmWZCS4+WbmJMzDRLy1yKX4nWftFX3J bjuYSX48NtMnNwP1tw8HxhrcsePmm+ZviTC2hso82bg/tomWMqPxzi+loqdhkoM2F509 jTSunHVkPVGrh8cisK3uoqP8JH/2sDovEOITx+jeMBwHXUdY+SfjGaGz+lOHeST9VoeV T8gQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730516603; x=1731121403; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=AZEeMNgusIZTWzz2i9vViIz6mo9IrlvlUg/Uj7ZADwY=; b=aWBZjvT/XsAPaHf3cnYQuE+bPNcrwFEtGEVZU4dWJHvpqkd1mbB5cm08Y61yOZBsiV UAc4UjjIQNfqidltChXqfCfwHzD5E3qNfHkvBwI0tqnHoASXbSxEdZEaagIkHdTr1p62 R1T8fMeglnsilT01yS+Uxc43x14mqDQ/3vNDwE9iJUR+fEF6dQxB9rp08mrG8NWj8M/f ry+ukBZW0+YDNeiatNapajq+VijVxg8y3/TB/D2TQVwPmxzd3tNN848bKLHZiYpxchzS +xaQgUmdBZZOCx+7q2ZueMDsWfAsOXbJkzHD5I5j+FdKDvy2JnwAC1zV+vnQfg4KxrNy YoDQ== X-Forwarded-Encrypted: i=1; AJvYcCWYXJtNq0jvdy8cofVkWPDH4enX5mE3rGaPiyz8pt9HiCMm5VEGrc6u7ekgNvguYrCHJ3ylzkCOobiCCEE=@vger.kernel.org X-Gm-Message-State: AOJu0Yy4QZS4Dyc9AKfQ1beEFSd+lfkX0yKM7WEGWi2hhMGcTCb4CNt4 URA/fosvCk1hhYhcnRH0wf0MwF1IWf+DhopgRsneGeEuURPLUAB4uRWS/QUCI4U= X-Google-Smtp-Source: AGHT+IErNMNFmFCMZCnJU8EXKDsWA+MPHo6vstFj0WFsIM8/nCtL/FisPfeLfcqGVvvEklPhZU9ouw== X-Received: by 2002:a2e:a9a1:0:b0:2fb:5a7e:504f with SMTP id 38308e7fff4ca-2fedb7d925fmr29177821fa.35.1730516603365; Fri, 01 Nov 2024 20:03:23 -0700 (PDT) Received: from [127.0.1.1] (2001-14ba-a0c3-3a00-70b-e6fc-b322-6a1b.rev.dnainternet.fi. [2001:14ba:a0c3:3a00:70b:e6fc:b322:6a1b]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-2fdef8a6070sm7455811fa.89.2024.11.01.20.03.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Nov 2024 20:03:21 -0700 (PDT) From: Dmitry Baryshkov Date: Sat, 02 Nov 2024 05:03:14 +0200 Subject: [PATCH v4 3/3] arm64: dts: qcom: sar2130p: add QAR2130P board file 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: <20241102-sar2130p-dt-v4-3-60b7220fd0dd@linaro.org> References: <20241102-sar2130p-dt-v4-0-60b7220fd0dd@linaro.org> In-Reply-To: <20241102-sar2130p-dt-v4-0-60b7220fd0dd@linaro.org> To: Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Krishna Kurapati , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=13733; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=NKAIDk88fRxbk1aniGyJcLFMvYupa5MdlxK5Gu+xftk=; b=owEBbQKS/ZANAwAKARTbcu2+gGW4AcsmYgBnJZZyhv5qg2t7ZVZv9L+yTt9fsCo4ZV8KPIiHC ATVMcYeo8SJAjMEAAEKAB0WIQRdB85SOKWMgfgVe+4U23LtvoBluAUCZyWWcgAKCRAU23LtvoBl uPf0D/0eGm31apPBhAhzBOy6K+3uh3fGy8vDjy9Vu5VHKk7vTcQcztUGa3DDNcmP516a7qfC+Jr 5UU4U2gCRal1n1dNYRoL+lnI+e0rwM9He8csId6G3o7Jzpt9VX0x9CZozP1HBMlMk2J7E0rgwv3 z+An0BW1ZFHa73gEBz8JrrS81czpd4BvgXCGyn071u3oXbWNO8pEMBRDar9kbzoRqTIcUsBzOem 5mmE74fTXcV4xywtk8KcwC8LspUGaSdSEFZNwVYcyutmgyG7wq4zj3Ek4x2NdWVj9m9Ey6z3ZgV VWP3qeaYH11PrnpcpsfF4p6w5PHpm2vKreGkcsTwD39nZ+EcnSvWJhpd+lTLLWLfjdyGOgt8Ux6 fU3N4bGWsl87Qfq5yckeCMg5ZETM8Ft97hfuvq+EI38b1n+r2sVwhyIPhKcU/yxbr+TFPWV8rco dvdzqpNJ12q9qSAJgkr+30XF9b0CYTm8MVVF2CqKKY7lmM6wc4cMTYDzm7MJ8hR7Fr1xtkJ6m0F CDLZnljPaTqMINoefK8Z8N49DcnBY6cJxbVqLwfKa1Jx78+GhYBNFCdhfOYdgOX8SOcAp/47qaQ FQNiVCJ20DKf1Y2stocOtzHKWPHqxQEwwQUJgumZFQkl+cXVJjVnuv0Oykbw1/0KIhhbKP96tD1 nV46iHJlKTHfS0A== X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A Add board DT file for the Qualcomm Snapdragon AR2 Gen1 Smart Viewer Development Kit. Signed-off-by: Dmitry Baryshkov Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/Makefile | 2 + arch/arm64/boot/dts/qcom/sar2130p-qar2130p.dts | 558 +++++++++++++++++++++= ++++ 2 files changed, 560 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/M= akefile index ac199f809b0d4e514878518604a23b4f1ab8ef79..fc4ab86895441fb3832e43eed75= 8719cee73a250 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -3,6 +3,8 @@ dtb-$(CONFIG_ARCH_QCOM) +=3D apq8016-sbc.dtb =20 apq8016-sbc-usb-host-dtbs :=3D apq8016-sbc.dtb apq8016-sbc-usb-host.dtbo =20 +dtb-$(CONFIG_ARCH_QCOM) +=3D sar2130p-qar2130p.dtb + dtb-$(CONFIG_ARCH_QCOM) +=3D apq8016-sbc-usb-host.dtb dtb-$(CONFIG_ARCH_QCOM) +=3D apq8016-sbc-d3-camera-mezzanine.dtb dtb-$(CONFIG_ARCH_QCOM) +=3D apq8016-schneider-hmibsc.dtb diff --git a/arch/arm64/boot/dts/qcom/sar2130p-qar2130p.dts b/arch/arm64/bo= ot/dts/qcom/sar2130p-qar2130p.dts new file mode 100644 index 0000000000000000000000000000000000000000..74778a5b19ba6df11db9f66df52= 140e2decabf04 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/sar2130p-qar2130p.dts @@ -0,0 +1,558 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2024, Linaro Limited + */ + +/dts-v1/; + +#include +#include +#include "sar2130p.dtsi" +#include "pm8150.dtsi" + +/ { + model =3D "Qualcomm Snapdragon AR2 Gen1 Smart Viewer Development Kit"; + compatible =3D "qcom,qar2130p", "qcom,sar2130p"; + chassis-type =3D "embedded"; + + aliases { + serial0 =3D &uart11; + serial1 =3D &uart7; + i2c0 =3D &i2c8; + i2c1 =3D &i2c10; + mmc1 =3D &sdhc_1; + spi0 =3D &spi0; + }; + + chosen { + stdout-path =3D "serial0:115200n8"; + }; + + vph_pwr: regulator-vph-pwr { + compatible =3D "regulator-fixed"; + regulator-name =3D "vph_pwr"; + regulator-min-microvolt =3D <3700000>; + regulator-max-microvolt =3D <3700000>; + regulator-always-on; + }; + + /* pm3003a on I2C0, should not be controlled */ + vreg_ext_1p3: regulator-ext-1p3 { + compatible =3D "regulator-fixed"; + regulator-name =3D "vph_ext_1p3"; + regulator-min-microvolt =3D <1300000>; + regulator-max-microvolt =3D <1300000>; + regulator-always-on; + vin-supply =3D <&vph_pwr>; + }; + + /* EBI rail, used as LDO input, can not be part of PMIC config */ + vreg_s10a_0p89: regulator-s10a-0p89 { + compatible =3D "regulator-fixed"; + regulator-name =3D "vph_s10a_0p89"; + regulator-min-microvolt =3D <890000>; + regulator-max-microvolt =3D <890000>; + regulator-always-on; + vin-supply =3D <&vph_pwr>; + }; + + thermal-zones { + sar2130p-thermal { + thermal-sensors =3D <&pm8150_adc_tm 1>; + + trips { + active-config0 { + temperature =3D <100000>; + hysteresis =3D <1000>; + type =3D "critical"; + }; + }; + }; + + wifi-thermal { + thermal-sensors =3D <&pm8150_adc_tm 2>; + + trips { + active-config0 { + temperature =3D <52000>; + hysteresis =3D <4000>; + type =3D "passive"; + }; + }; + }; + + xo-thermal { + thermal-sensors =3D <&pm8150_adc_tm 0>; + + trips { + active-config0 { + temperature =3D <50000>; + hysteresis =3D <4000>; + type =3D "passive"; + }; + }; + }; + }; + + wcn7850-pmu { + compatible =3D "qcom,wcn7850-pmu"; + + pinctrl-0 =3D <&wlan_en_state>, <&bt_en_state>; + pinctrl-names =3D "default"; + + wlan-enable-gpios =3D <&tlmm 45 GPIO_ACTIVE_HIGH>; + bt-enable-gpios =3D <&tlmm 46 GPIO_ACTIVE_HIGH>; + + vdd-supply =3D <&vreg_s4a_0p95>; + vddio-supply =3D <&vreg_l15a_1p8>; + vddaon-supply =3D <&vreg_s4a_0p95>; + vdddig-supply =3D <&vreg_s4a_0p95>; + vddrfa1p2-supply =3D <&vreg_s4a_0p95>; + vddrfa1p8-supply =3D <&vreg_s5a_1p88>; + + 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,pm8150-rpmh-regulators"; + qcom,pmic-id =3D "a"; + + vdd-s1-supply =3D <&vph_pwr>; + vdd-s2-supply =3D <&vph_pwr>; + vdd-s3-supply =3D <&vph_pwr>; + vdd-s4-supply =3D <&vph_pwr>; + vdd-s5-supply =3D <&vph_pwr>; + vdd-s6-supply =3D <&vph_pwr>; + vdd-s7-supply =3D <&vph_pwr>; + vdd-s8-supply =3D <&vph_pwr>; + vdd-s9-supply =3D <&vph_pwr>; + vdd-s10-supply =3D <&vph_pwr>; + vdd-l1-l8-l11-supply =3D <&vreg_s4a_0p95>; + vdd-l3-l4-l5-l18-supply =3D <&vreg_ext_1p3>; + vdd-l6-l9-supply =3D <&vreg_s10a_0p89>; + vdd-l7-l12-l14-l15-supply =3D <&vreg_s5a_1p88>; + + vreg_s4a_0p95: smps6 { + regulator-name =3D "vreg_s4a_0p95"; + regulator-min-microvolt =3D <950000>; + regulator-max-microvolt =3D <1170000>; + regulator-initial-mode =3D ; + }; + + vreg_s5a_1p88: smps5 { + regulator-name =3D "vreg_s5a_1p88"; + regulator-min-microvolt =3D <1856000>; + regulator-max-microvolt =3D <2040000>; + regulator-initial-mode =3D ; + }; + + vreg_l1a_0p91: ldo1 { + regulator-name =3D "vreg_l1a_0p91"; + regulator-min-microvolt =3D <912000>; + regulator-max-microvolt =3D <920000>; + regulator-initial-mode =3D ; + }; + + vreg_l2a_3p1: ldo2 { + regulator-name =3D "vreg_l2a_3p1"; + regulator-min-microvolt =3D <3080000>; + regulator-max-microvolt =3D <3544000>; + regulator-initial-mode =3D ; + }; + + vreg_l3a_1p2: ldo3 { + regulator-name =3D "vreg_l3a_1p2"; + regulator-min-microvolt =3D <1200000>; + regulator-max-microvolt =3D <1304000>; + regulator-initial-mode =3D ; + }; + + /* ldo4 1.26 - system ? */ + + vreg_l5a_1p13: ldo5 { + regulator-name =3D "vreg_l5a_1p13"; + regulator-min-microvolt =3D <1128000>; + regulator-max-microvolt =3D <1170000>; + regulator-initial-mode =3D ; + }; + + vreg_l6a_0p6: ldo6 { + regulator-name =3D "vreg_l6a_0p6"; + regulator-min-microvolt =3D <600000>; + regulator-max-microvolt =3D <650000>; + regulator-initial-mode =3D ; + }; + + vreg_l7a_1p8: ldo7 { + regulator-name =3D "vreg_l7a_1p8"; + regulator-min-microvolt =3D <1800000>; + regulator-max-microvolt =3D <1950000>; + regulator-initial-mode =3D ; + }; + + vreg_l8a_0p88: ldo8 { + regulator-name =3D "vreg_l8a_0p88"; + regulator-min-microvolt =3D <880000>; + regulator-max-microvolt =3D <950000>; + regulator-initial-mode =3D ; + }; + + /* ldo9 - LCX */ + + vreg_l10a_2p95: ldo10 { + regulator-name =3D "vreg_l10a_2p95"; + regulator-min-microvolt =3D <2952000>; + regulator-max-microvolt =3D <3544000>; + regulator-initial-mode =3D ; + }; + + /* ldo11 - LMX */ + + vreg_l12a_1p8: ldo12 { + regulator-name =3D "vreg_l12a_1p8"; + regulator-min-microvolt =3D <1800000>; + regulator-max-microvolt =3D <1880000>; + regulator-initial-mode =3D ; + }; + + /* no ldo13 */ + + vreg_l14a_1p8: ldo14 { + regulator-name =3D "vreg_l14a_1p8"; + regulator-min-microvolt =3D <1800000>; + regulator-max-microvolt =3D <1880000>; + regulator-initial-mode =3D ; + }; + + vreg_l15a_1p8: ldo15 { + regulator-name =3D "vreg_l15a_1p8"; + regulator-min-microvolt =3D <1800000>; + regulator-max-microvolt =3D <1800000>; + regulator-initial-mode =3D ; + }; + + /* no ldo16 - system */ + + vreg_l17a_3p26: ldo17 { + regulator-name =3D "vreg_l17a_3p26"; + regulator-min-microvolt =3D <3200000>; + regulator-max-microvolt =3D <3544000>; + regulator-initial-mode =3D ; + }; + + vreg_l18a_1p2: ldo18 { + regulator-name =3D "vreg_l18a_1p2"; + regulator-min-microvolt =3D <1200000>; + regulator-max-microvolt =3D <1304000>; + regulator-initial-mode =3D ; + }; + }; + +}; + +&gpi_dma0 { + status =3D "okay"; +}; + +&gpi_dma1 { + status =3D "okay"; +}; + +&gpu { + status =3D "okay"; +}; + +&gpu_zap_shader { + firmware-name =3D "qcom/sar2130p/a620_zap.mbn"; +}; + +&pon_pwrkey { + status =3D "okay"; +}; + +&pon_resin { + linux,code =3D ; + + status =3D "okay"; +}; + +&qupv3_id_0 { + status =3D "okay"; +}; + +&qupv3_id_1 { + status =3D "okay"; +}; + +&i2c4 { + clock-frequency =3D <400000>; + + status =3D "okay"; +}; + +&i2c8 { + clock-frequency =3D <400000>; + + status =3D "okay"; + + ptn3222: redriver@4f { + compatible =3D "nxp,ptn3222"; + reg =3D <0x4f>; + + reset-gpios =3D <&tlmm 99 GPIO_ACTIVE_LOW>; + + vdd3v3-supply =3D <&vreg_l2a_3p1>; + vdd1v8-supply =3D <&vreg_l15a_1p8>; + + #phy-cells =3D <0>; + }; +}; + +&i2c10 { + clock-frequency =3D <400000>; + + status =3D "okay"; +}; + +&pcie0 { + perst-gpios =3D <&tlmm 55 GPIO_ACTIVE_LOW>; + wake-gpios =3D <&tlmm 57 GPIO_ACTIVE_HIGH>; + + pinctrl-0 =3D <&pcie0_default_state>; + pinctrl-names =3D "default"; + + status =3D "okay"; +}; + +&pcieport0 { + 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>; + }; +}; + +&pcie0_phy { + vdda-phy-supply =3D <&vreg_l8a_0p88>; + vdda-pll-supply =3D <&vreg_l3a_1p2>; + + status =3D "okay"; +}; + +&pm8150_adc { + channel@4c { + reg =3D ; + qcom,ratiometric; + qcom,hw-settle-time =3D <200>; + label =3D "xo_therm"; + }; + + channel@4d { + reg =3D ; + qcom,ratiometric; + qcom,hw-settle-time =3D <200>; + qcom,pre-scaling =3D <1 1>; + label =3D "skin_therm"; + }; + + channel@4e { + /* msm-5.10 uses ADC5_AMUX_THM2 / 0x0e, although there is a pullup */ + reg =3D ; + qcom,hw-settle-time =3D <200>; + qcom,pre-scaling =3D <1 1>; + label =3D "wifi_therm"; + }; +}; + +&pm8150_adc_tm { + status =3D "okay"; + + xo-therm@0 { + reg =3D <0>; + io-channels =3D <&pm8150_adc ADC5_XO_THERM_100K_PU>; + qcom,ratiometric; + qcom,hw-settle-time-us =3D <200>; + }; + + skin-therm@1 { + reg =3D <1>; + io-channels =3D <&pm8150_adc ADC5_AMUX_THM1_100K_PU>; + qcom,ratiometric; + qcom,hw-settle-time-us =3D <200>; + }; + + wifi-therm@2 { + reg =3D <2>; + /* msm-5.10 uses ADC5_AMUX_THM2, although there is a pullup */ + io-channels =3D <&pm8150_adc ADC5_AMUX_THM2_100K_PU>; + qcom,hw-settle-time-us =3D <200>; + }; +}; + +&remoteproc_adsp { + firmware-name =3D "qcom/sar2130p/adsp.mbn"; + + status =3D "okay"; +}; + +&sdhc_1 { + vmmc-supply =3D <&vreg_l10a_2p95>; + vqmmc-supply =3D <&vreg_l7a_1p8>; + + status =3D "okay"; +}; + +&tlmm { + bt_en_state: bt-enable-state { + pins =3D "gpio46"; + function =3D "gpio"; + drive-strength =3D <16>; + bias-disable; + }; + + pcie0_default_state: pcie0-default-state { + perst-pins { + pins =3D "gpio55"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-pull-down; + }; + + clkreq-pins { + pins =3D "gpio56"; + function =3D "pcie0_clkreqn"; + drive-strength =3D <2>; + bias-pull-up; + }; + + wake-pins { + pins =3D "gpio57"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-pull-up; + }; + }; + + pcie1_default_state: pcie1-default-state { + perst-pins { + pins =3D "gpio58"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-pull-down; + }; + + clkreq-pins { + pins =3D "gpio59"; + function =3D "pcie1_clkreqn"; + drive-strength =3D <2>; + bias-pull-up; + }; + + wake-pins { + pins =3D "gpio60"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-pull-up; + }; + }; + + wlan_en_state: wlan-enable-state { + pins =3D "gpio45"; + function =3D "gpio"; + drive-strength =3D <16>; + bias-disable; + }; +}; + +&uart7 { + status =3D "okay"; + + bluetooth { + compatible =3D "qcom,wcn7850-bt"; + + vddrfacmn-supply =3D <&vreg_pmu_rfa_cmn>; + vddaon-supply =3D <&vreg_pmu_aon_0p59>; + vddwlcx-supply =3D <&vreg_pmu_wlcx_0p8>; + vddwlmx-supply =3D <&vreg_pmu_wlmx_0p85>; + vddrfa0p8-supply =3D <&vreg_pmu_rfa_0p8>; + vddrfa1p2-supply =3D <&vreg_pmu_rfa_1p2>; + vddrfa1p8-supply =3D <&vreg_pmu_rfa_1p8>; + + max-speed =3D <3200000>; + }; +}; + +&uart11 { + status =3D "okay"; +}; + +&usb_1 { + status =3D "okay"; +}; + +&usb_1_hsphy { + vdd-supply =3D <&vreg_l8a_0p88>; + vdda12-supply =3D <&vreg_l3a_1p2>; + + phys =3D <&ptn3222>; + + status =3D "okay"; +}; + +&usb_dp_qmpphy { + vdda-phy-supply =3D <&vreg_l3a_1p2>; + vdda-pll-supply =3D <&vreg_l1a_0p91>; + + status =3D "okay"; +}; --=20 2.39.5