From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.128.41 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795003641; b=sSpTrv/p3fSN2oIO/5ICwVARz0t6aKIW6wEbuhdYQZ0Wix+pdChKgtkoP/yqIAmEnveE 4wKQBjM4PByPfK1A2pDSeoeAR07SHmRUaL5dJoMC4kPy1D9MJWQoY/XUoY6AJXQTrmHTx MsP48I+rqCqHFr8wQWIJ7Q+jSQKKOZfRGhBIJkLuNI8UAOY2EscR5VtL+QzXSSUXF6eRn 0DSmg7KkZ68hvEul+ZqPgJ7r3ZjSV6Iupc/8M+qBMeD3gcsZq3+9RvOHxCDMahD/B06WZ dP0jnXegv09qxk089x0JxC1A7iw8g2p9xMRh8u7V7sPrSIEVXucCxMBrLrui+e07FzA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795003641; 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=jAPg1rZ+n6bdXG/M2UNu7CcAHpfGyDE9sxdSHn51st4=; b=KiJmHRJBYvGCJGv9hsYQ28NDN2V1s+5JMm6hEAJ5opePCDetzgRpTFokEXS8nT0Dccgu lc63SN42VOPdKiDSniONXQvwFpxTrHuiESOGgXxfErFJKftmXgEjfLHwSwHFtWpIuvLnD QlPqV5oUPU3FrgMyiOBjh3w7Hd9qoggeLZapj816B1luE8wH0rrUL+ISIjWqpf0VkEkof KOtRhr+Cm88UT6Q5N+ijA7b6YP1TTsoqDFKq7Ae7mKKLmbQuMbsncJrk6t4Labzh+pPXA JfQHDyFvfY8rLCi0Y3byEru+iuC54hxUPbbwCIzAsFWpScLiL0yl8tOf7fLR4Lg7o+Q== 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="HpN/pNFT"; arc=none smtp.remote-ip=209.85.128.41 Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) (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 6A93F606A338 for ; Wed, 18 Nov 2026 12:07:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 6A93F606A338 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=HpN/pNFT Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-4bb64ef5a00so6244475e9.3 for ; Wed, 18 Nov 2026 04:07:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795003639; x=1795608439; 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=jAPg1rZ+n6bdXG/M2UNu7CcAHpfGyDE9sxdSHn51st4=; b=HpN/pNFTErsHWqVdG+PVjIs0pl1kzY6jGvIYxLWhKstl7D5AVNyOuVZajD+0uRGu8K Kf3C4dHA61hS+DIGXBwN7/zpE38a9rI6Bj3zaAjHT5Vo1cKtlcx8+pll7zZ07mMVOtSj UvV4DiIAyXACzRRzmeOr7Qfe/T7Ze0sHsSCs00UlhEkpgortAgdX2r2uLpx1HJRR1IUO eteZ35oiiACsg22WNGb9aXhquwmyMOOso+aeNVesgAHA4/Aq1pI+adwnpYb9oTm06Nbc aXjUpOalsXADCeGFAMLL766S9wPyyR2htDOE5F/hVVDf4eDWO9LnpEBEsX2yF+JL4Wn4 V+Ow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795003639; x=1795608439; 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=jAPg1rZ+n6bdXG/M2UNu7CcAHpfGyDE9sxdSHn51st4=; b=2GSOqvBdzv5T+dNQ1bcn/Sj5EmJNxMVbYY6eYwEzv4ujyMaw2WHvTm43UqdIHg7Vmi 4/w51VD1iDjM+B7L8g4Be381b91L3S/uIJ89T+ZSpDf/GBeywI9SFl9npHgyYXAEy8wn 8/I3ERjyR3yNeDRwwPCYeHuRksjmwj/uIH8NnUcDO0Sr4Ke61qhl5cZyqgFhD7XH78ez 4EY3WrqAkvzz03dZKlSbQC+e1pfrQdFGEhXvVT5t70ZSslnLCvOijt4VfjE6UdyK608I gdaRO7DKuNhnpcW8N3bwhpzPqZJF8smUcokygznzHh68J3us11AdnJfIIbLSVG434h9U SlqQ== X-Gm-Message-State: APuU4Z9SeQZ8H8BDYJkm3RgRY2yDvHKWrzZulHrPSPYy+vH3UHD5b2qT HZtWGHcIT5wrD7HHKD/4iWpsqPYiVOk5+yDHaRy0HrVRHR7+wWJJbxMg X-Gm-Gg: AYBFou20ShwjedyQ4PB8zGDOvypj5Jh4NhF/yyOKJGfUPA1T9aoJEB/geYC6Jw/FDEy uhg1mz/Icvb1mdIQTeT1+0x/m7AAPgtb8jDPhC39L53wEb7sa3K17xWO3hTEIZl/7ck4/Bq7+ex 5vFhk+dK5gLqu8y9mPrDe6wJ6HlhzK64o40imF2Gid2xwD2gLZq1BHBnhZUnyfsQqRU+syBd6Ld 8tq664fHTM99v8W8s6HDG3qba/pvcVy+IQ7jzLvMTsjbL6i6BRVhNrhcs7p55sz3emk9RC7Itbz YdTfWfpTxRtC4L9uP+iP1VXuS388O+2wSnD4PwncKfKL6CytJNbCb9Gp2xOrToMd6QLOjDQvdDg YJh2pw9q2Xlx+/NpxDxH/IqHbK64BRcsLVnH1dToQPZqmQPqJ1EdrQ18cWhWFo/UVzCorAcPsQH fQOCd+JFwKyTJHThkcdED36vsLDPWKLC+wWxyxhmfBmuMTQP9HLH0SzQ/BonV15VL1gx387jXRe zqu+Bd/C5hPWURamYT6XdsZSbBW4v3dFu2yZaMJzQvqMMqWEP/ih7BDEnkHXvJS2oULL34mlSDk 7cy5weYE6KiW6LzigSLXzJ1T4qLYr7Z7Vzw0K4lHhyK9qW6oJH6oiFNMvVPcu+CMvUxNLzWTM/4 o X-Received: by 2002:a05:600c:524a:b0:4a1:cd83:b23e with SMTP id 5b1f17b1804b1-4bb7d57f5ccmr48323035e9.0.1795003638610; Wed, 18 Nov 2026 04:07:18 -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 ffacd0b85a97d-4a654a8c37fsm4382583f8f.18.2026.11.18.04.07.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Nov 2026 04:07:18 -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 , Ivon Argel , Abdur Rofik Subject: [PATCH v2 02/10] arm64: dts: qcom: add LG V60 ThinQ 5G (timelm) support Date: Wed, 18 Nov 2026 13:07:06 +0100 Message-Id: <20261118120714.31505-3-rofikcoga@gmail.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20261118120714.31505-1-rofikcoga@gmail.com> References: <20261118120714.31505-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 Google 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 on PM8150B 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 | 615 ++++++++++++++++++ 3 files changed, 622 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..1b2b67486fee7 --- /dev/null +++ b/arch/arm64/boot/dts/qcom/sm8250-lg-timelm.dts @@ -0,0 +1,615 @@ +// 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"; + memory-region = <&cont_splash_mem>; + }; + }; + + gpio-keys { + compatible = "gpio-keys"; + + pinctrl-names = "default"; + pinctrl-0 = <&volume_down_state>, <&google_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 = "Google 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; + }; + + cont_splash_mem: 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 = <0x1c0000>; + no-map; + }; + }; + + 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_s6c_0p88: smps6 { + regulator-name = "vreg_s6c_0p88"; + regulator-min-microvolt = <348000>; + regulator-max-microvolt = <1000000>; + 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 { + status = "okay"; +}; + +&gpi_dma0 { + status = "okay"; +}; + +&gpi_dma1 { + status = "okay"; +}; + +&gpi_dma2 { + status = "okay"; +}; + +&gmu { + status = "okay"; +}; + +&gpu { + status = "okay"; + + zap-shader { + firmware-name = "qcom/sm8250/a650_zap.mbn"; + }; +}; + +&pm8150_gpios { + google_assist_state: google-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 { + status = "okay"; +}; + +&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_sleep_state: sdc2-sleep-state { + clk-pins { + pins = "sdc2_clk"; + drive-strength = <2>; + bias-disable; + }; + + cmd-pins { + pins = "sdc2_cmd"; + drive-strength = <2>; + bias-pull-up; + }; + + data-pins { + pins = "sdc2_data"; + drive-strength = <2>; + 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