From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.128.49 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795190097; b=kUBc7AhgLEr9Fk//tCxRN+ag9DFXHC+8gD0ATWWBnt8M7zIGllJD8DafY3V9JZXWoNqc YjEJK38iVPivpHf0SM8JLaskOFg3LYAlHGwC4kwHatGthR2vJPMo2X94fzmc/AHG80q7A PgAgo3r9njs+sQpxFR01R+4fIkFKM/cSTGCuNLp4VF87Q/xuBza3NyP9kJBKt7JcIucL6 nrkDHI+oJ3w1PqprGUwFWqV/w7vXWAVMF6CGjFq6vNpfWlr30KmBUE6uTEe14sfnUyJNd eTOkrf1wq3Eiigki9jl3ym2PTqbt9Vx9iIAsUSkaLqcP1vojP4F/1Q1IrDxIc3J1vvg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795190097; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Gm-Message-State:X-Gm-Gg:X-Received:Received:From:To:Cc:Subject: Date:Message-Id:X-Mailer:In-Reply-To:References:MIME-Version: Content-Transfer-Encoding; bh=oxj5/8ZVuVe+zapf44BocB1MooTS6kcqmBXhurZCUnQ=; b=voUKDCLbEhGqwNd5Sd+NwdhLrH5K1NzKDNZWA6t0B1FabY0Tya58Qg78PzSsVaQs7hFd nJTq29fYVqaWF2sPl3JBP419anj8Wt1K843qGKXRB/aM/kw7sDZh65/aaVgXqW77HX34J zGcAaO4TojbXoA/k8Bz6kiE0H4SfINyULNeFtn+mLcLJCwxk5y/TckMTyMU0pUxr3fjbN IKdZ2RlJ+PQliEKXSHn0pXyFXNOGPyT0bFZyDdQ5UTD9QMu309DP5lyjF522F7yADckQg XChrKE2GbVebjT0xc3lFzPBZOX87GAVBTloF6JSaX9NYqcNO2mtodNjUrdeAcdvq9mg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=NJDzRGWg; arc=none smtp.remote-ip=209.85.128.49 Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D9D2960A2613 for ; Fri, 20 Nov 2026 15:54:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org D9D2960A2613 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=NJDzRGWg Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-4b467581b98so10543435e9.0 for ; Fri, 20 Nov 2026 07:54:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795190094; x=1795794894; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=oxj5/8ZVuVe+zapf44BocB1MooTS6kcqmBXhurZCUnQ=; b=NJDzRGWg/aCpYEnk1Ix1bFxH5BJp2eZafUHtqzzrUmtegKy3PmgRzqTIbgINSDj6Fm ZKQdPu7DwXMYIc/aXpt1L1DWoRNYPQvrYmckzu0H0QIaXnpCAouRDEvvULcO7v+yVqIE kn5GA97AH7Tyhj0/b2F/6z/6ZrfQ0fGRKj0CpXWnIo8glAlkeBY+JsEh2zQ/T1KYcLGD f+44+M39q44J0zXUAdsHJb32cVII+MDCSK5xSaj9du6Uz1c+GNtqjThegMTMIcYs27gR gtVR2SgtpgREGaUDO9+/MVUEuAZKX1PHEyQ9khszSBQu/+bvCnBU49HBNcWCPOHP4vUS MDjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795190094; x=1795794894; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=oxj5/8ZVuVe+zapf44BocB1MooTS6kcqmBXhurZCUnQ=; b=STjkfnEpN4d6fMpYdqtC01Q6eWeK3PiVyvh3MyLWQX59BfeNxgvEBr2ahxH9D3Gg4v m8x3KdHNWciqUuZYDSFTGMh3TseWL3Uu3EeP3x9IJsjRQDdIiUtNd2q2MsbA8aqXstXy NzAPZK4+rFQy1/wt3wYzJa+DOvSMtH1hrI8m4JznCNbaWN7lkiMhHboCJAr7IA+4X/pO 5vJ7iYRVRTFwXuSwWJuHwb7sHoBLb7V/NFoo88d7uDhuG4ufGvhrAAxDFDXwkoLRGhJ1 +IggHjZ7DDxpz/cCddLDAgenKX0gr3B1CWrNCSDorldAxYKN5G+qLH4jM1YCsAqJzkXO A/gQ== X-Gm-Message-State: APuU4Z/w+nLR8/6ewaZnZb0bTwq8qNtUmm1xtQffXT5H7ViFJcQdolwh +8iQAPtE/QLBcCCxXwllF8MgCORUySIWJ3vcecOLRAIfz4rH/KmVzGbV X-Gm-Gg: AYBFou0Y2l/gwJgX0bnBjzV4nQfDX5B7ALJNeEu0JplwPJuE0MVX2/LdTITo2/1ByYe nAXPn7rC0AjhIy9ttDPIT545siwF3D1OJKRgfs90+stlKnrt8SOx0hgNF2zyvowIIoJvBb0KTIJ vQr2j0dfNXZl8M7qPEaF/71tBPdXUw0HlUGJTfV4j9hp+4tUQWP3j9YizSNvGbNQEFTPgihDIOy t0HBfMMt83Ee2OcdXidQhGpqxeY7y9KpBRogzbRbMP0WhfVh8O+cEv6PP4XqAA3E6gU4yBuqb27 N1rmDIScSNZbZt8kBV08F7ua+TpGbVXpFUyb6ElgVQ8Q50iUimhneEIhXKF9kPxU1LEsVTk2qui 5FQELLoOl6fg9+5UBk2z9mroLYtoaFTXuklj9VzVa7PiVxWQJOrPPh/W61iwfvqkJ8tLk0HJBKI ELcF8HI90vVtafcDZwEBdU+bNQPakicF3lBY/er5DxBQDM2B9F6GBpg08YfydfjIDQCzUCnxfCb oBCuAkVtWBaILqT5GPCkMXQ+WezHNUM2iO7iXbz89x0i/15QcT9ro31gLQOoHvjFmTZPXh3MIWV eFAKdoM2eWQJjFYcDcCDZXZz4mx136VRbyJtlDiNqKy2dD/ZY17AAlXYtrFzihQMbuiPWplBKFc = X-Received: by 2002:a05:600c:468c:b0:4bb:6d61:af7c with SMTP id 5b1f17b1804b1-4bb88944bf5mr76243685e9.35.1795190094118; Fri, 20 Nov 2026 07:54:54 -0800 (PST) Received: from DESKTOP-BJ3EVC4.lan (178-164-182-185.pool.digikabel.hu. [178.164.182.185]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4bb884a15absm83982635e9.9.2026.11.20.07.54.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Nov 2026 07:54:53 -0800 (PST) From: Abdur Rofik To: linux-arm-msm@vger.kernel.org Cc: devicetree@vger.kernel.org, phone-devel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Neil Armstrong , Dmitry Torokhov , Abdur Rofik Subject: [PATCH v5 02/10] arm64: dts: qcom: add LG V60 ThinQ 5G (timelm) support Date: Fri, 20 Nov 2026 16:54:41 +0100 Message-Id: <20261120155450.7719-3-rofikcoga@gmail.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20261120155450.7719-1-rofikcoga@gmail.com> References: <20261120155450.7719-1-rofikcoga@gmail.com> X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add initial device tree and MAINTAINERS entry for the LG V60 ThinQ 5G (timelm), an SM8250-based smartphone released in 2020. The initial description enables: - Memory reservations for bootloader and firmware log regions - Simple framebuffer continuous splash reservation - Volume Down and Assistant keys via PM8150 GPIOs - Volume Up key via PM8150 RESIN - RPMh power supplies across PM8150, PM8150L, and PM8009 - Storage via UFS 3.0 and SD card via SDHC2 with pinctrl states - Graphics via Adreno 650 GPU with GMU and ZAP shader firmware - High-Speed USB and SuperSpeed QMP PHY - Console output on GENI UART12 Signed-off-by: Abdur Rofik --- MAINTAINERS | 6 + arch/arm64/boot/dts/qcom/Makefile | 1 + arch/arm64/boot/dts/qcom/sm8250-lg-timelm.dts | 592 ++++++++++++++++++ 3 files changed, 599 insertions(+) create mode 100644 arch/arm64/boot/dts/qcom/sm8250-lg-timelm.dts diff --git a/MAINTAINERS b/MAINTAINERS index ccbcdc0799b9f..80c1bfb66f8cc 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -15211,6 +15211,12 @@ F: Documentation/ABI/testing/sysfs-platform-lg-laptop F: Documentation/admin-guide/laptops/lg-laptop.rst F: drivers/platform/x86/lg-laptop.c +LG V60 THINQ 5G (TIMELM) SUPPORT +M: Abdur Rofik +L: linux-arm-msm@vger.kernel.org +S: Maintained +F: arch/arm64/boot/dts/qcom/sm8250-lg-timelm* + LG2160 MEDIA DRIVER M: Michael Krufky L: linux-media@vger.kernel.org diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile index 88230c4e00ea9..84ed4bf513960 100644 --- a/arch/arm64/boot/dts/qcom/Makefile +++ b/arch/arm64/boot/dts/qcom/Makefile @@ -409,6 +409,7 @@ dtb-$(CONFIG_ARCH_QCOM) += sm8150-mtp.dtb dtb-$(CONFIG_ARCH_QCOM) += sm8150-sony-xperia-kumano-bahamut.dtb dtb-$(CONFIG_ARCH_QCOM) += sm8150-sony-xperia-kumano-griffin.dtb dtb-$(CONFIG_ARCH_QCOM) += sm8250-hdk.dtb +dtb-$(CONFIG_ARCH_QCOM) += sm8250-lg-timelm.dtb dtb-$(CONFIG_ARCH_QCOM) += sm8250-mtp.dtb dtb-$(CONFIG_ARCH_QCOM) += sm8250-samsung-r8q.dtb dtb-$(CONFIG_ARCH_QCOM) += sm8250-samsung-x1q.dtb diff --git a/arch/arm64/boot/dts/qcom/sm8250-lg-timelm.dts b/arch/arm64/boot/dts/qcom/sm8250-lg-timelm.dts new file mode 100644 index 0000000000000..20aaf70355158 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/sm8250-lg-timelm.dts @@ -0,0 +1,592 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2026 Abdur Rofik + * Device Tree for LG V60 ThinQ 5G (timelm / LM-V600) + */ + +/dts-v1/; + +#include +#include +#include +#include "sm8250.dtsi" +#include "pm8150.dtsi" +#include "pm8150b.dtsi" +#include "pm8150l.dtsi" + +/ { + model = "LG V60 ThinQ 5G"; + compatible = "lg,timelm", "qcom,sm8250"; + chassis-type = "handset"; + + aliases { + serial0 = &uart12; + }; + + chosen { + stdout-path = "serial0:115200n8"; + #address-cells = <2>; + #size-cells = <2>; + ranges; + + framebuffer@9c000000 { + compatible = "simple-framebuffer"; + reg = <0x0 0x9c000000 0x0 (1080 * 2460 * 4)>; + width = <1080>; + height = <2460>; + stride = <(1080 * 4)>; + format = "a8r8g8b8"; + }; + }; + + gpio-keys { + compatible = "gpio-keys"; + + pinctrl-names = "default"; + pinctrl-0 = <&volume_down_state>, <&assist_state>; + + key-vol-down { + label = "Volume Down"; + gpios = <&pm8150_gpios 6 GPIO_ACTIVE_LOW>; + linux,code = ; + debounce-interval = <15>; + linux,can-disable; + wakeup-source; + }; + + key-assistant { + label = "Assistant"; + gpios = <&pm8150_gpios 1 GPIO_ACTIVE_LOW>; + linux,code = ; + debounce-interval = <15>; + linux,can-disable; + wakeup-source; + }; + }; + + reserved-memory { + res_xbl_uefi_log_region: memory@80880000 { + reg = <0x0 0x80880000 0x0 0x14000>; + no-map; + }; + + memory@9c000000 { + reg = <0x0 0x9c000000 0x0 0x1200000>; + no-map; + }; + + dfps_data_mem: memory@9e300000 { + reg = <0x0 0x9e300000 0x0 0x100000>; + no-map; + }; + + ramoops: ramoops@b0000000 { + compatible = "ramoops"; + reg = <0x0 0xb0000000 0x0 0x280000>; + record-size = <0x40000>; + console-size = <0x40000>; + ftrace-size = <0x40000>; + pmsg-size = <0x100000>; + no-map; + }; + }; + + vreg_s6c_0p88: smpc6-regulator { + compatible = "regulator-fixed"; + regulator-name = "vreg_s6c_0p88"; + regulator-min-microvolt = <880000>; + regulator-max-microvolt = <880000>; + regulator-always-on; + }; + + vph_pwr: vph-pwr-regulator { + compatible = "regulator-fixed"; + regulator-name = "vph_pwr"; + regulator-min-microvolt = <3700000>; + regulator-max-microvolt = <3700000>; + regulator-always-on; + regulator-boot-on; + }; +}; + +&apps_rsc { + regulators-0 { + compatible = "qcom,pm8150-rpmh-regulators"; + qcom,pmic-id = "a"; + + vdd-s1-supply = <&vph_pwr>; + vdd-s2-supply = <&vph_pwr>; + vdd-s3-supply = <&vph_pwr>; + vdd-s4-supply = <&vph_pwr>; + vdd-s5-supply = <&vph_pwr>; + vdd-s6-supply = <&vph_pwr>; + vdd-s7-supply = <&vph_pwr>; + vdd-s8-supply = <&vph_pwr>; + vdd-s9-supply = <&vph_pwr>; + vdd-s10-supply = <&vph_pwr>; + vdd-l1-l8-l11-supply = <&vreg_s6c_0p88>; + vdd-l2-l10-supply = <&vreg_bob>; + vdd-l3-l4-l5-l18-supply = <&vreg_s6a_0p95>; + vdd-l6-l9-supply = <&vreg_s8c_1p35>; + vdd-l7-l12-l14-l15-supply = <&vreg_s5a_1p9>; + vdd-l13-l16-l17-supply = <&vreg_bob>; + + vreg_s4a_1p8: smps4 { + regulator-name = "vreg_s4a_1p8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-initial-mode = ; + regulator-allow-set-load; + regulator-allowed-modes = ; + }; + + vreg_s5a_1p9: smps5 { + regulator-name = "vreg_s5a_1p9"; + regulator-min-microvolt = <1900000>; + regulator-max-microvolt = <2040000>; + regulator-initial-mode = ; + }; + + vreg_s6a_0p95: smps6 { + regulator-name = "vreg_s6a_0p95"; + regulator-min-microvolt = <950000>; + regulator-max-microvolt = <1128000>; + regulator-initial-mode = ; + }; + + vreg_l1a_0p88: ldo1 { + regulator-name = "vreg_l1a_0p88"; + regulator-min-microvolt = <880000>; + regulator-max-microvolt = <880000>; + regulator-initial-mode = ; + }; + + vreg_l2a_3p1: ldo2 { + regulator-name = "vreg_l2a_3p1"; + regulator-min-microvolt = <3072000>; + regulator-max-microvolt = <3072000>; + regulator-initial-mode = ; + }; + + vreg_l3a_0p8: ldo3 { + regulator-name = "vreg_l3a_0p8"; + regulator-min-microvolt = <800000>; + regulator-max-microvolt = <800000>; + regulator-initial-mode = ; + }; + + vreg_l5a_0p88: ldo5 { + regulator-name = "vreg_l5a_0p88"; + regulator-min-microvolt = <880000>; + regulator-max-microvolt = <880000>; + regulator-initial-mode = ; + }; + + vreg_l6a_1p2: ldo6 { + regulator-name = "vreg_l6a_1p2"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + regulator-initial-mode = ; + regulator-allow-set-load; + regulator-allowed-modes = ; + }; + + vreg_l7a_1p7: ldo7 { + regulator-name = "vreg_l7a_1p7"; + regulator-min-microvolt = <1704000>; + regulator-max-microvolt = <1800000>; + regulator-initial-mode = ; + }; + + vreg_l9a_1p2: ldo9 { + regulator-name = "vreg_l9a_1p2"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + regulator-initial-mode = ; + }; + + vreg_l10a_1p8: ldo10 { + regulator-name = "vreg_l10a_1p8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-initial-mode = ; + }; + + vreg_l12a_1p8: ldo12 { + regulator-name = "vreg_l12a_1p8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-initial-mode = ; + }; + + vreg_l13a_ts: ldo13 { + regulator-name = "vreg_l13a_ts"; + regulator-min-microvolt = <3000000>; + regulator-max-microvolt = <3000000>; + regulator-initial-mode = ; + }; + + vreg_l14a_1p8: ldo14 { + regulator-name = "vreg_l14a_1p8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-initial-mode = ; + }; + + vreg_l15a_1p8: ldo15 { + regulator-name = "vreg_l15a_1p8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-initial-mode = ; + }; + + vreg_l16a_2p7: ldo16 { + regulator-name = "vreg_l16a_2p7"; + regulator-min-microvolt = <2704000>; + regulator-max-microvolt = <2960000>; + regulator-initial-mode = ; + }; + + vreg_l17a_3p0: ldo17 { + regulator-name = "vreg_l17a_3p0"; + regulator-min-microvolt = <2950000>; + regulator-max-microvolt = <3008000>; + regulator-initial-mode = ; + regulator-allow-set-load; + regulator-allowed-modes = ; + }; + + vreg_l18a_0p9: ldo18 { + regulator-name = "vreg_l18a_0p9"; + regulator-min-microvolt = <880000>; + regulator-max-microvolt = <912000>; + regulator-initial-mode = ; + }; + }; + + regulators-1 { + compatible = "qcom,pm8150l-rpmh-regulators"; + qcom,pmic-id = "c"; + + vdd-s1-supply = <&vph_pwr>; + vdd-s2-supply = <&vph_pwr>; + vdd-s3-supply = <&vph_pwr>; + vdd-s4-supply = <&vph_pwr>; + vdd-s5-supply = <&vph_pwr>; + vdd-s6-supply = <&vph_pwr>; + vdd-s7-supply = <&vph_pwr>; + vdd-s8-supply = <&vph_pwr>; + vdd-l1-l8-supply = <&vreg_s4a_1p8>; + vdd-l2-l3-supply = <&vreg_s8c_1p35>; + vdd-l4-l5-l6-supply = <&vreg_bob>; + vdd-l7-l11-supply = <&vreg_bob>; + vdd-l9-l10-supply = <&vreg_bob>; + vdd-bob-supply = <&vph_pwr>; + + vreg_bob: bob { + regulator-name = "vreg_bob"; + regulator-min-microvolt = <3008000>; + regulator-max-microvolt = <4000000>; + regulator-initial-mode = ; + }; + + vreg_s8c_1p35: smps8 { + regulator-name = "vreg_s8c_1p35"; + regulator-min-microvolt = <1350000>; + regulator-max-microvolt = <1400000>; + regulator-initial-mode = ; + }; + + vreg_l1c_1p8: ldo1 { + regulator-name = "vreg_l1c_1p8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-initial-mode = ; + }; + + vreg_l2c_1p2: ldo2 { + regulator-name = "vreg_l2c_1p2"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + regulator-initial-mode = ; + }; + + vreg_l3c_1p2: ldo3 { + regulator-name = "vreg_l3c_1p2"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + regulator-initial-mode = ; + }; + + vreg_l4c_1p7: ldo4 { + regulator-name = "vreg_l4c_1p7"; + regulator-min-microvolt = <1704000>; + regulator-max-microvolt = <3000000>; + regulator-initial-mode = ; + }; + + vreg_l5c_1p8: ldo5 { + regulator-name = "vreg_l5c_1p8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-initial-mode = ; + }; + + vreg_l6c_2p9: ldo6 { + regulator-name = "vreg_l6c_2p9"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <2960000>; + regulator-initial-mode = ; + }; + + vreg_l7c_2p85: ldo7 { + regulator-name = "vreg_l7c_2p85"; + regulator-min-microvolt = <2856000>; + regulator-max-microvolt = <3104000>; + regulator-initial-mode = ; + }; + + vreg_l8c_1p8: ldo8 { + regulator-name = "vreg_l8c_1p8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-initial-mode = ; + }; + + vreg_l9c_2p9: ldo9 { + regulator-name = "vreg_l9c_2p9"; + regulator-min-microvolt = <2704000>; + regulator-max-microvolt = <2960000>; + regulator-initial-mode = ; + }; + + vreg_l10c_3p3: ldo10 { + regulator-name = "vreg_l10c_3p3"; + regulator-min-microvolt = <3000000>; + regulator-max-microvolt = <3304000>; + regulator-initial-mode = ; + }; + + vreg_l11c_3p0: ldo11 { + regulator-name = "vreg_l11c_3p0"; + regulator-min-microvolt = <3000000>; + regulator-max-microvolt = <3312000>; + regulator-initial-mode = ; + }; + }; + + regulators-2 { + compatible = "qcom,pm8009-rpmh-regulators"; + qcom,pmic-id = "f"; + + vdd-s1-supply = <&vph_pwr>; + vdd-s2-supply = <&vreg_bob>; + vdd-l2-supply = <&vreg_s8c_1p35>; + vdd-l5-l6-supply = <&vreg_bob>; + vdd-l7-supply = <&vreg_s4a_1p8>; + + vreg_s1f_1p2: smps1 { + regulator-name = "vreg_s1f_1p2"; + regulator-min-microvolt = <1200000>; + regulator-max-microvolt = <1200000>; + regulator-initial-mode = ; + }; + + vreg_s2f_0p5: smps2 { + regulator-name = "vreg_s2f_0p5"; + regulator-min-microvolt = <512000>; + regulator-max-microvolt = <1100000>; + regulator-initial-mode = ; + }; + + vreg_l2f_1p3: ldo2 { + regulator-name = "vreg_l2f_1p3"; + regulator-min-microvolt = <1304000>; + regulator-max-microvolt = <1304000>; + regulator-initial-mode = ; + }; + + vreg_l5f_2p8: ldo5 { + regulator-name = "vreg_l5f_2p8"; + regulator-min-microvolt = <2800000>; + regulator-max-microvolt = <2800000>; + regulator-initial-mode = ; + }; + + vreg_l6f_2p8: ldo6 { + regulator-name = "vreg_l6f_2p8"; + regulator-min-microvolt = <2800000>; + regulator-max-microvolt = <2800000>; + regulator-initial-mode = ; + }; + + vreg_l7f_1p8: ldo7 { + regulator-name = "vreg_l7f_1p8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-initial-mode = ; + }; + }; +}; + +&cdsp { + firmware-name = "qcom/sm8250/LG/timelm/cdsp.mbn"; + status = "okay"; +}; + +&gmu { + status = "okay"; +}; + +&gpi_dma0 { + status = "okay"; +}; + +&gpi_dma1 { + status = "okay"; +}; + +&gpi_dma2 { + status = "okay"; +}; + +&gpu { + status = "okay"; +}; + +&gpu_zap_shader { + firmware-name = "qcom/sm8250/LG/timelm/a650_zap.mbn"; +}; + +&pm8150_gpios { + assist_state: assist-state { + pins = "gpio1"; + function = "normal"; + input-enable; + bias-pull-up; + power-source = <0>; + }; + + volume_down_state: volume-down-state { + pins = "gpio6"; + function = "normal"; + input-enable; + bias-pull-up; + power-source = <0>; + }; +}; + +&pon_pwrkey { + status = "okay"; +}; + +&pon_resin { + status = "okay"; + linux,code = ; +}; + +&qupv3_id_0 { + status = "okay"; +}; + +&qupv3_id_1 { + status = "okay"; +}; + +&qupv3_id_2 { + status = "okay"; +}; + +&sdhc_2 { + status = "okay"; + + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&sdc2_default_state>, <&sdc2_card_det_n>; + pinctrl-1 = <&sdc2_sleep_state>, <&sdc2_card_det_n>; + + cd-gpios = <&tlmm 77 GPIO_ACTIVE_LOW>; + vmmc-supply = <&vreg_l9c_2p9>; + vqmmc-supply = <&vreg_l6c_2p9>; + bus-width = <4>; + no-sdio; + no-mmc; +}; + +&tlmm { + gpio-reserved-ranges = <40 4>, <52 4>; + + sdc2_default_state: sdc2-default-state { + clk-pins { + pins = "sdc2_clk"; + drive-strength = <16>; + bias-disable; + }; + + cmd-pins { + pins = "sdc2_cmd"; + drive-strength = <16>; + bias-pull-up; + }; + + data-pins { + pins = "sdc2_data"; + drive-strength = <16>; + bias-pull-up; + }; + }; + + sdc2_card_det_n: sd-card-det-n-state { + pins = "gpio77"; + function = "gpio"; + drive-strength = <2>; + bias-pull-up; + }; +}; + +&uart12 { + status = "okay"; +}; + +&ufs_mem_hc { + status = "okay"; + + vcc-supply = <&vreg_l17a_3p0>; + vcc-max-microamp = <800000>; + vccq-supply = <&vreg_l6a_1p2>; + vccq-max-microamp = <800000>; + vccq2-supply = <&vreg_s4a_1p8>; + vccq2-max-microamp = <800000>; +}; + +&ufs_mem_phy { + status = "okay"; + + vdda-phy-supply = <&vreg_l5a_0p88>; + vdda-pll-supply = <&vreg_l9a_1p2>; +}; + +&usb_1 { + status = "okay"; +}; + +&usb_1_dwc3 { + dr_mode = "peripheral"; +}; + +&usb_1_hsphy { + status = "okay"; + + vdda-pll-supply = <&vreg_l5a_0p88>; + vdda18-supply = <&vreg_l12a_1p8>; + vdda33-supply = <&vreg_l2a_3p1>; +}; + +&usb_1_qmpphy { + status = "okay"; + + vdda-phy-supply = <&vreg_l18a_0p9>; + vdda-pll-supply = <&vreg_l9a_1p2>; +}; -- 2.39.5