From nobody Thu Apr 9 23:25:14 2026 Received: from mail.mainlining.org (mail.mainlining.org [5.75.144.95]) (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 CCD9F2459DC; Thu, 5 Mar 2026 17:29:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=5.75.144.95 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772731790; cv=none; b=HgBNVlo+oAcldFiZaK/c1Y9actJgIoCIG0x0uPWZZYipClhYRwIgpabvnNu4G/At4O3q5hBT5/lDwSCYBc43WGKFDXA2DOzZB5zHFMncXrrPUnpl3wofN6RP3PoBntwYaqO5OmzEojVi3NZF1ecF7ST5Tlv2iAREkPM0N/COJoQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772731790; c=relaxed/simple; bh=3VpF+h/vRabFh0pawhkU/Ozvs+mTWi7ja9sIUaz4JBo=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=Y7q5Uu+f/lzXCdGztj24A2hn7fU8IML2VzSFVxi2wk5xu85jZw7Y+L7i76q3f3qziYmLZZtnecM4b3hEAvy6aN6UFVuZHJTGi7p3vsMfqpz/HBz2djRmlUqEOp7soPmsJpdnYxpq9Mgr8p8k7LMiPLRHN4L9DO9TFWYXKheU+XY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=mainlining.org; spf=pass smtp.mailfrom=mainlining.org; dkim=pass (2048-bit key) header.d=mainlining.org header.i=@mainlining.org header.b=gZ0V1y94; dkim=permerror (0-bit key) header.d=mainlining.org header.i=@mainlining.org header.b=BioZy1C/; arc=none smtp.client-ip=5.75.144.95 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=mainlining.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mainlining.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=mainlining.org header.i=@mainlining.org header.b="gZ0V1y94"; dkim=permerror (0-bit key) header.d=mainlining.org header.i=@mainlining.org header.b="BioZy1C/" DKIM-Signature: v=1; a=rsa-sha256; s=202507r; d=mainlining.org; c=relaxed/relaxed; h=To:Message-Id:Subject:Date:From; t=1772731727; bh=9XaD5tYlo5c/PkvlJoEp5qp dJ+IVXcb+kkQadbkR0KE=; b=gZ0V1y94JL3Iz7NTlA+bkIAdReiLor4hv1jUHm/vQyHTUfmA5K EpT+03atkyAVlDk19tzOevf1Doe8INZpniSlCHaAUZiDlZneJG49XvzXjH7LqXQoh6K1wz9gVXp i5zpk8OIr8zt7P35Y/yy/wDfXplvyq0NFobknsV1tYG6Cz0U1ILGfvbzMx05BnqdMVmHXRKkqhn bthpf1xH1JpKI57fx1tJsBkN91IyWC+ZKVUuPWEjRXXZkvgcSrQ+oy6AnLxXxvOJHKcwacHucxB V56yUH/vmZoXf85x+gyECSn11UM8JcRMrpne4kv2C8a2E+L/Ksb7Kd5mOvMn1+3eXcw==; DKIM-Signature: v=1; a=ed25519-sha256; s=202507e; d=mainlining.org; c=relaxed/relaxed; h=To:Message-Id:Subject:Date:From; t=1772731727; bh=9XaD5tYlo5c/PkvlJoEp5qp dJ+IVXcb+kkQadbkR0KE=; b=BioZy1C/t1vizXmqscTormcgC+D14JgApCGU6pOEIS4ei7HSY7 o0YJ9mfR2abIJ6ikcIrwjU0UbhbDwMzfBbDA==; From: =?utf-8?q?Barnab=C3=A1s_Cz=C3=A9m=C3=A1n?= Date: Thu, 05 Mar 2026 18:28:33 +0100 Subject: [PATCH 1/5] arm64: dts: qcom: msm8917-xiaomi-riva: Commonize for Redmi 4A and GO 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: <20260305-riva-common-v1-1-436f1f4b7399@mainlining.org> References: <20260305-riva-common-v1-0-436f1f4b7399@mainlining.org> In-Reply-To: <20260305-riva-common-v1-0-436f1f4b7399@mainlining.org> 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, ~postmarketos/upstreaming@lists.sr.ht, linux@mainlining.org, phone-devel@vger.kernel.org, =?utf-8?q?Barnab=C3=A1s_Cz=C3=A9m=C3=A1n?= X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1772731726; l=15618; i=barnabas.czeman@mainlining.org; s=20240730; h=from:subject:message-id; bh=3VpF+h/vRabFh0pawhkU/Ozvs+mTWi7ja9sIUaz4JBo=; b=yz7kiUy2kV1YOugg6bHBXwg/E+r0auvImPGTzrakEs2X1Z1pnXsqjZUHRzkScNXukqbZk9VE0 sQtuV0jni9GCN3WQsB9jRny7lzqF7hxSnQhBfkLF428CP9+MdFBE0nb X-Developer-Key: i=barnabas.czeman@mainlining.org; a=ed25519; pk=TWUSIGgwW/Sn4xnX25nw+lszj1AT/A3bzkahn7EhOFc= Redmi 5A is very similar for Redmi 4A (rolex) and Redmi GO (tiare), it can be commonized for avoid unnecessary code duplications. Signed-off-by: Barnab=C3=A1s Cz=C3=A9m=C3=A1n --- .../boot/dts/qcom/msm8917-xiaomi-riva-common.dtsi | 317 +++++++++++++++++= ++++ arch/arm64/boot/dts/qcom/msm8917-xiaomi-riva.dts | 304 +----------------= --- 2 files changed, 320 insertions(+), 301 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8917-xiaomi-riva-common.dtsi b/arc= h/arm64/boot/dts/qcom/msm8917-xiaomi-riva-common.dtsi new file mode 100644 index 000000000000..f0a534106e11 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/msm8917-xiaomi-riva-common.dtsi @@ -0,0 +1,317 @@ +// SPDX-License-Identifier: GPL-2.0-only +/* + * Copyright (c) 2023, Barnabas Czeman + */ + +/dts-v1/; + +#include +#include +#include "msm8917.dtsi" +#include "pm8937.dtsi" + +/delete-node/ &qseecom_mem; + +/ { + chassis-type =3D "handset"; + + qcom,msm-id =3D ; + + pwm_backlight: backlight { + compatible =3D "pwm-backlight"; + pwms =3D <&pm8937_pwm 0 100000>; + brightness-levels =3D <0 255>; + num-interpolated-steps =3D <255>; + default-brightness-level =3D <128>; + }; + + chosen { + #address-cells =3D <2>; + #size-cells =3D <2>; + ranges; + + stdout-path =3D "framebuffer0"; + + framebuffer0: framebuffer@90001000 { + compatible =3D "simple-framebuffer"; + reg =3D <0x0 0x90001000 0x0 (720 * 1280 * 3)>; + width =3D <720>; + height =3D <1280>; + stride =3D <(720 * 3)>; + format =3D "r8g8b8"; + + clocks =3D <&gcc GCC_MDSS_AHB_CLK>, + <&gcc GCC_MDSS_AXI_CLK>, + <&gcc GCC_MDSS_VSYNC_CLK>, + <&gcc GCC_MDSS_MDP_CLK>, + <&gcc GCC_MDSS_BYTE0_CLK>, + <&gcc GCC_MDSS_PCLK0_CLK>, + <&gcc GCC_MDSS_ESC0_CLK>; + power-domains =3D <&gcc MDSS_GDSC>; + }; + }; + + gpio-keys { + compatible =3D "gpio-keys"; + + pinctrl-0 =3D <&gpio_keys_default>; + pinctrl-names =3D "default"; + + key-volup { + label =3D "Volume Up"; + linux,code =3D ; + gpios =3D <&tlmm 91 GPIO_ACTIVE_LOW>; + debounce-interval =3D <15>; + }; + }; + + 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; + regulator-boot-on; + }; + + reserved-memory { + qseecom_mem: qseecom@84a00000 { + reg =3D <0x0 0x84a00000 0x0 0x1900000>; + no-map; + }; + + framebuffer_mem: memory@90001000 { + reg =3D <0x0 0x90001000 0x0 (720 * 1280 * 3)>; + no-map; + }; + }; +}; + +&blsp1_i2c3 { + status =3D "okay"; + + edt_ft5306: touchscreen@38 { + compatible =3D "edt,edt-ft5306"; + reg =3D <0x38>; + interrupts-extended =3D <&tlmm 65 IRQ_TYPE_LEVEL_LOW>; + reset-gpios =3D <&tlmm 64 GPIO_ACTIVE_LOW>; + pinctrl-0 =3D <&tsp_int_rst_default>; + pinctrl-names =3D "default"; + vcc-supply =3D <&pm8937_l10>; + iovcc-supply =3D <&pm8937_l5>; + touchscreen-size-x =3D <720>; + touchscreen-size-y =3D <1280>; + + status =3D "disabled"; + }; +}; + +&pm8937_gpios { + pwm_enable_default: pwm-enable-default-state { + pins =3D "gpio8"; + function =3D "dtest2"; + output-low; + bias-disable; + qcom,drive-strength =3D <2>; + }; +}; + +&pm8937_pwm { + pinctrl-0 =3D <&pwm_enable_default>; + pinctrl-names =3D "default"; + + status =3D "okay"; +}; + +&pm8937_resin { + linux,code =3D ; + + status =3D "okay"; +}; + +&rpm_requests { + regulators-0 { + compatible =3D "qcom,rpm-pm8937-regulators"; + + 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_l1_l19-supply =3D <&pm8937_s3>; + vdd_l2_l23-supply =3D <&pm8937_s3>; + vdd_l3-supply =3D <&pm8937_s3>; + vdd_l4_l5_l6_l7_l16-supply =3D <&pm8937_s4>; + vdd_l8_l11_l12_l17_l22-supply =3D <&vph_pwr>; + vdd_l9_l10_l13_l14_l15_l18-supply =3D <&vph_pwr>; + + pm8937_s1: s1 { + regulator-min-microvolt =3D <1000000>; + regulator-max-microvolt =3D <1225000>; + }; + + pm8937_s3: s3 { + regulator-min-microvolt =3D <1300000>; + regulator-max-microvolt =3D <1300000>; + }; + + pm8937_s4: s4 { + regulator-min-microvolt =3D <2050000>; + regulator-max-microvolt =3D <2050000>; + }; + + pm8937_l2: l2 { + regulator-min-microvolt =3D <1200000>; + regulator-max-microvolt =3D <1200000>; + }; + + pm8937_l5: l5 { + regulator-min-microvolt =3D <1800000>; + regulator-max-microvolt =3D <1800000>; + }; + + pm8937_l6: l6 { + regulator-min-microvolt =3D <1800000>; + regulator-max-microvolt =3D <1800000>; + }; + + pm8937_l7: l7 { + regulator-min-microvolt =3D <1800000>; + regulator-max-microvolt =3D <1800000>; + }; + + pm8937_l8: l8 { + regulator-min-microvolt =3D <2850000>; + regulator-max-microvolt =3D <2900000>; + }; + + pm8937_l9: l9 { + regulator-min-microvolt =3D <3000000>; + regulator-max-microvolt =3D <3300000>; + }; + + pm8937_l10: l10 { + regulator-min-microvolt =3D <2800000>; + regulator-max-microvolt =3D <3000000>; + }; + + pm8937_l11: l11 { + regulator-min-microvolt =3D <2950000>; + regulator-max-microvolt =3D <2950000>; + regulator-allow-set-load; + regulator-system-load =3D <200000>; + }; + + pm8937_l12: l12 { + regulator-min-microvolt =3D <1800000>; + regulator-max-microvolt =3D <2950000>; + }; + + pm8937_l13: l13 { + regulator-min-microvolt =3D <3075000>; + regulator-max-microvolt =3D <3075000>; + }; + + pm8937_l14: l14 { + regulator-min-microvolt =3D <1800000>; + regulator-max-microvolt =3D <3300000>; + }; + + pm8937_l15: l15 { + regulator-min-microvolt =3D <1800000>; + regulator-max-microvolt =3D <3300000>; + }; + + pm8937_l16: l16 { + regulator-min-microvolt =3D <1800000>; + regulator-max-microvolt =3D <1800000>; + }; + + pm8937_l17: l17 { + regulator-min-microvolt =3D <2800000>; + regulator-max-microvolt =3D <2900000>; + }; + + pm8937_l19: l19 { + regulator-min-microvolt =3D <1225000>; + regulator-max-microvolt =3D <1350000>; + }; + + pm8937_l22: l22 { + regulator-min-microvolt =3D <2800000>; + regulator-max-microvolt =3D <2800000>; + }; + + pm8937_l23: l23 { + regulator-min-microvolt =3D <1200000>; + regulator-max-microvolt =3D <1200000>; + }; + }; +}; + +&sdhc_1 { + vmmc-supply =3D <&pm8937_l8>; + vqmmc-supply =3D <&pm8937_l5>; + + status =3D "okay"; +}; + +&sdhc_2 { + cd-gpios =3D <&tlmm 67 GPIO_ACTIVE_LOW>; + vmmc-supply =3D <&pm8937_l11>; + vqmmc-supply =3D <&pm8937_l12>; + pinctrl-0 =3D <&sdc2_default &sdc2_cd_default>; + pinctrl-1 =3D <&sdc2_sleep &sdc2_cd_default>; + pinctrl-names =3D "default", "sleep"; + + status =3D "okay"; +}; + +&sleep_clk { + clock-frequency =3D <32768>; +}; + +&tlmm { + gpio_keys_default: gpio-keys-default-state { + pins =3D "gpio91"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-pull-up; + }; + + sdc2_cd_default: sdc2-cd-default-state { + pins =3D "gpio67"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-disable; + }; + + tsp_int_rst_default: tsp-int-rst-default-state { + pins =3D "gpio64", "gpio65"; + function =3D "gpio"; + drive-strength =3D <8>; + bias-pull-up; + }; +}; + +&wcnss { + vddpx-supply =3D <&pm8937_l5>; + + status =3D "okay"; +}; + +&wcnss_iris { + compatible =3D "qcom,wcn3620"; + vddxo-supply =3D <&pm8937_l7>; + vddrfa-supply =3D <&pm8937_l19>; + vddpa-supply =3D <&pm8937_l9>; + vdddig-supply =3D <&pm8937_l5>; +}; + +&wcnss_mem { + status =3D "okay"; +}; + +&xo_board { + clock-frequency =3D <19200000>; +}; diff --git a/arch/arm64/boot/dts/qcom/msm8917-xiaomi-riva.dts b/arch/arm64/= boot/dts/qcom/msm8917-xiaomi-riva.dts index 9db503e21888..564ec94d7f97 100644 --- a/arch/arm64/boot/dts/qcom/msm8917-xiaomi-riva.dts +++ b/arch/arm64/boot/dts/qcom/msm8917-xiaomi-riva.dts @@ -1,33 +1,18 @@ // SPDX-License-Identifier: GPL-2.0-only /* - * Copyright (c) 2023, Barnabas Czeman + * Copyright (c) 2026, Barnabas Czeman */ =20 /dts-v1/; =20 -#include -#include -#include "msm8917.dtsi" -#include "pm8937.dtsi" - -/delete-node/ &qseecom_mem; +#include "msm8917-xiaomi-riva-common.dtsi" =20 / { model =3D "Xiaomi Redmi 5A (riva)"; compatible =3D "xiaomi,riva", "qcom,msm8917"; - chassis-type =3D "handset"; =20 - qcom,msm-id =3D ; qcom,board-id =3D <0x1000b 2>, <0x2000b 2>; =20 - pwm_backlight: backlight { - compatible =3D "pwm-backlight"; - pwms =3D <&pm8937_pwm 0 100000>; - brightness-levels =3D <0 255>; - num-interpolated-steps =3D <255>; - default-brightness-level =3D <128>; - }; - battery: battery { compatible =3D "simple-battery"; charge-full-design-microamp-hours =3D <3000000>; @@ -38,84 +23,6 @@ battery: battery { charge-term-current-microamp =3D <60000>; voltage-min-design-microvolt =3D <3400000>; }; - - chosen { - #address-cells =3D <2>; - #size-cells =3D <2>; - ranges; - - stdout-path =3D "framebuffer0"; - - framebuffer0: framebuffer@90001000 { - compatible =3D "simple-framebuffer"; - reg =3D <0x0 0x90001000 0x0 (720 * 1280 * 3)>; - width =3D <720>; - height =3D <1280>; - stride =3D <(720 * 3)>; - format =3D "r8g8b8"; - - clocks =3D <&gcc GCC_MDSS_AHB_CLK>, - <&gcc GCC_MDSS_AXI_CLK>, - <&gcc GCC_MDSS_VSYNC_CLK>, - <&gcc GCC_MDSS_MDP_CLK>, - <&gcc GCC_MDSS_BYTE0_CLK>, - <&gcc GCC_MDSS_PCLK0_CLK>, - <&gcc GCC_MDSS_ESC0_CLK>; - power-domains =3D <&gcc MDSS_GDSC>; - }; - }; - - gpio-keys { - compatible =3D "gpio-keys"; - - pinctrl-0 =3D <&gpio_keys_default>; - pinctrl-names =3D "default"; - - key-volup { - label =3D "Volume Up"; - linux,code =3D ; - gpios =3D <&tlmm 91 GPIO_ACTIVE_LOW>; - debounce-interval =3D <15>; - }; - }; - - 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; - regulator-boot-on; - }; - - reserved-memory { - qseecom_mem: qseecom@84a00000 { - reg =3D <0x0 0x84a00000 0x0 0x1900000>; - no-map; - }; - - framebuffer_mem: memory@90001000 { - reg =3D <0x0 0x90001000 0x0 (720 * 1280 * 3)>; - no-map; - }; - }; -}; - -&blsp1_i2c3 { - status =3D "okay"; - - touchscreen@38 { - compatible =3D "edt,edt-ft5306"; - reg =3D <0x38>; - interrupts-extended =3D <&tlmm 65 IRQ_TYPE_LEVEL_LOW>; - reset-gpios =3D <&tlmm 64 GPIO_ACTIVE_LOW>; - pinctrl-0 =3D <&tsp_int_rst_default>; - pinctrl-names =3D "default"; - vcc-supply =3D <&pm8937_l10>; - iovcc-supply =3D <&pm8937_l5>; - touchscreen-size-x =3D <720>; - touchscreen-size-y =3D <1280>; - }; }; =20 &blsp2_i2c1 { @@ -139,172 +46,10 @@ bq25601@6b { }; }; =20 -&pm8937_gpios { - pwm_enable_default: pwm-enable-default-state { - pins =3D "gpio8"; - function =3D "dtest2"; - output-low; - bias-disable; - qcom,drive-strength =3D <2>; - }; -}; - -&pm8937_pwm { - pinctrl-0 =3D <&pwm_enable_default>; - pinctrl-names =3D "default"; - - status =3D "okay"; -}; - -&pm8937_resin { - linux,code =3D ; - - status =3D "okay"; -}; - -&rpm_requests { - regulators-0 { - compatible =3D "qcom,rpm-pm8937-regulators"; - - 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_l1_l19-supply =3D <&pm8937_s3>; - vdd_l2_l23-supply =3D <&pm8937_s3>; - vdd_l3-supply =3D <&pm8937_s3>; - vdd_l4_l5_l6_l7_l16-supply =3D <&pm8937_s4>; - vdd_l8_l11_l12_l17_l22-supply =3D <&vph_pwr>; - vdd_l9_l10_l13_l14_l15_l18-supply =3D <&vph_pwr>; - - pm8937_s1: s1 { - regulator-min-microvolt =3D <1000000>; - regulator-max-microvolt =3D <1225000>; - }; - - pm8937_s3: s3 { - regulator-min-microvolt =3D <1300000>; - regulator-max-microvolt =3D <1300000>; - }; - - pm8937_s4: s4 { - regulator-min-microvolt =3D <2050000>; - regulator-max-microvolt =3D <2050000>; - }; - - pm8937_l2: l2 { - regulator-min-microvolt =3D <1200000>; - regulator-max-microvolt =3D <1200000>; - }; - - pm8937_l5: l5 { - regulator-min-microvolt =3D <1800000>; - regulator-max-microvolt =3D <1800000>; - }; - - pm8937_l6: l6 { - regulator-min-microvolt =3D <1800000>; - regulator-max-microvolt =3D <1800000>; - }; - - pm8937_l7: l7 { - regulator-min-microvolt =3D <1800000>; - regulator-max-microvolt =3D <1800000>; - }; - - pm8937_l8: l8 { - regulator-min-microvolt =3D <2850000>; - regulator-max-microvolt =3D <2900000>; - }; - - pm8937_l9: l9 { - regulator-min-microvolt =3D <3000000>; - regulator-max-microvolt =3D <3300000>; - }; - - pm8937_l10: l10 { - regulator-min-microvolt =3D <2800000>; - regulator-max-microvolt =3D <3000000>; - }; - - pm8937_l11: l11 { - regulator-min-microvolt =3D <2950000>; - regulator-max-microvolt =3D <2950000>; - regulator-allow-set-load; - regulator-system-load =3D <200000>; - }; - - pm8937_l12: l12 { - regulator-min-microvolt =3D <1800000>; - regulator-max-microvolt =3D <2950000>; - }; - - pm8937_l13: l13 { - regulator-min-microvolt =3D <3075000>; - regulator-max-microvolt =3D <3075000>; - }; - - pm8937_l14: l14 { - regulator-min-microvolt =3D <1800000>; - regulator-max-microvolt =3D <3300000>; - }; - - pm8937_l15: l15 { - regulator-min-microvolt =3D <1800000>; - regulator-max-microvolt =3D <3300000>; - }; - - pm8937_l16: l16 { - regulator-min-microvolt =3D <1800000>; - regulator-max-microvolt =3D <1800000>; - }; - - pm8937_l17: l17 { - regulator-min-microvolt =3D <2800000>; - regulator-max-microvolt =3D <2900000>; - }; - - pm8937_l19: l19 { - regulator-min-microvolt =3D <1225000>; - regulator-max-microvolt =3D <1350000>; - }; - - pm8937_l22: l22 { - regulator-min-microvolt =3D <2800000>; - regulator-max-microvolt =3D <2800000>; - }; - - pm8937_l23: l23 { - regulator-min-microvolt =3D <1200000>; - regulator-max-microvolt =3D <1200000>; - }; - }; - -}; - -&sdhc_1 { - vmmc-supply =3D <&pm8937_l8>; - vqmmc-supply =3D <&pm8937_l5>; - +&edt_ft5306 { status =3D "okay"; }; =20 -&sdhc_2 { - cd-gpios =3D <&tlmm 67 GPIO_ACTIVE_LOW>; - vmmc-supply =3D <&pm8937_l11>; - vqmmc-supply =3D <&pm8937_l12>; - pinctrl-0 =3D <&sdc2_default &sdc2_cd_default>; - pinctrl-1 =3D <&sdc2_sleep &sdc2_cd_default>; - pinctrl-names =3D "default", "sleep"; - - status =3D "okay"; -}; - -&sleep_clk { - clock-frequency =3D <32768>; -}; - &tlmm { bq25601_int_default: bq25601-int-default-state { pins =3D "gpio61"; @@ -312,47 +57,4 @@ bq25601_int_default: bq25601-int-default-state { drive-strength =3D <2>; bias-pull-up; }; - - gpio_keys_default: gpio-keys-default-state { - pins =3D "gpio91"; - function =3D "gpio"; - drive-strength =3D <2>; - bias-pull-up; - }; - - sdc2_cd_default: sdc2-cd-default-state { - pins =3D "gpio67"; - function =3D "gpio"; - drive-strength =3D <2>; - bias-disable; - }; - - tsp_int_rst_default: tsp-int-rst-default-state { - pins =3D "gpio64", "gpio65"; - function =3D "gpio"; - drive-strength =3D <8>; - bias-pull-up; - }; -}; - -&wcnss { - vddpx-supply =3D <&pm8937_l5>; - - status =3D "okay"; -}; - -&wcnss_iris { - compatible =3D "qcom,wcn3620"; - vddxo-supply =3D <&pm8937_l7>; - vddrfa-supply =3D <&pm8937_l19>; - vddpa-supply =3D <&pm8937_l9>; - vdddig-supply =3D <&pm8937_l5>; -}; - -&wcnss_mem { - status =3D "okay"; -}; - -&xo_board { - clock-frequency =3D <19200000>; }; --=20 2.53.0