From: Venkat Yadlapati via B4 Relay <devnull+venkat.yadlapati.yahoo.com@kernel.org>
To: Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
Abel Vesa <abelvesa@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Thomas Gleixner <tglx@kernel.org>, Radu Rendec <radu@rendec.net>,
Kees Cook <kees@kernel.org>, Tony Luck <tony.luck@intel.com>,
"Guilherme G. Piccoli" <gpiccoli@igalia.com>
Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
Venkat Yadlapati <venkat.yadlapati@yahoo.com>
Subject: [PATCH v2 09/11] arm64: dts: qcom: Add Molokai (SM8845) SoC dtsi
Date: Mon, 16 Nov 2026 13:10:07 +0530 [thread overview]
Message-ID: <20261116-molokai-soc-v2-9-9dc4dddc4e96@yahoo.com> (raw)
In-Reply-To: <20261116-molokai-soc-v2-0-9dc4dddc4e96@yahoo.com>
From: Venkat Yadlapati <venkat.yadlapati@yahoo.com>
Molokai is a Kaanapali derivative. Describe it on top of the Kaanapali
dtsi: it has its own TLMM, with different pins for most serial engines
and a different GPIO to PDC wakeup map, and a PDC with one more interrupt
range. It has neither the I2C master hub nor the fourth QUP wrapper, and
QUP3 SE5 does not exist. Its graphics clock controller is not compatible
with the Kaanapali one.
The SDC2 lines are muxed on regular GPIOs instead of dedicated pins, so
the Kaanapali SDC2 pin states are dropped; boards using SDC2 describe
their own.
Assisted-by: LLM
Signed-off-by: Venkat Yadlapati <venkat.yadlapati@yahoo.com>
---
arch/arm64/boot/dts/qcom/molokai.dtsi | 204 ++++++++++++++++++++++++++++++++++
1 file changed, 204 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/molokai.dtsi b/arch/arm64/boot/dts/qcom/molokai.dtsi
new file mode 100644
index 000000000000..82fd31bda1d9
--- /dev/null
+++ b/arch/arm64/boot/dts/qcom/molokai.dtsi
@@ -0,0 +1,204 @@
+// SPDX-License-Identifier: BSD-3-Clause
+/*
+ * Copyright (c) 2026 Venkat Yadlapati <venkat.yadlapati@yahoo.com>
+ *
+ * Molokai (SM8845) is a Kaanapali derivative with its own TLMM: the pins of
+ * most serial engines and all the GPIO wakeup interrupts are different. It
+ * has no I2C master hub, no fourth QUP wrapper and no QUP3 SE5, and its PDC
+ * maps one more interrupt range. The SDC2 lines are muxed on regular GPIOs
+ * instead of dedicated pins, and the GPU is an Adreno 829 instead of the
+ * Adreno 840.
+ */
+#include "kaanapali.dtsi"
+
+/delete-node/ &gpi_dma4;
+/delete-node/ &i2c_master_hub;
+/delete-node/ &qupv3_4;
+/delete-node/ &uart18;
+
+/delete-node/ &hub_i2c0_data_clk;
+/delete-node/ &hub_i2c1_data_clk;
+/delete-node/ &hub_i2c2_data_clk;
+/delete-node/ &hub_i2c3_data_clk;
+/delete-node/ &hub_i2c4_data_clk;
+/delete-node/ &qup_i2c19_data_clk;
+/delete-node/ &qup_i2c20_data_clk;
+/delete-node/ &qup_i2c21_data_clk;
+/delete-node/ &qup_i2c22_data_clk;
+/delete-node/ &qup_i2c23_data_clk;
+/delete-node/ &qup_spi19_cs;
+/delete-node/ &qup_spi19_data_clk;
+/delete-node/ &qup_spi20_cs;
+/delete-node/ &qup_spi20_data_clk;
+/delete-node/ &qup_spi21_cs;
+/delete-node/ &qup_spi21_data_clk;
+/delete-node/ &qup_uart18_cts_rts;
+/delete-node/ &qup_uart18_default;
+/delete-node/ &sdc2_default;
+/delete-node/ &sdc2_sleep;
+
+&gpucc {
+ compatible = "qcom,molokai-gpucc";
+};
+
+&pdc {
+ compatible = "qcom,molokai-pdc", "qcom,pdc";
+ qcom,pdc-ranges = <0 745 38>,
+ <40 785 11>,
+ <51 527 4>,
+ <58 534 2>,
+ <61 537 20>,
+ <84 559 14>,
+ <98 609 32>,
+ <130 717 12>,
+ <142 251 5>,
+ <147 796 16>,
+ <163 783 2>,
+ <165 531 2>,
+ <167 536 1>,
+ <168 557 2>,
+ <170 415 1>,
+ <171 438 1>,
+ <172 579 1>,
+ <173 703 1>,
+ <174 708 1>,
+ <175 714 1>,
+ <176 68 1>,
+ <177 86 1>,
+ <178 96 1>,
+ <179 249 1>,
+ <180 504 9>;
+};
+
+&qup_i2c0_data_clk {
+ pins = "gpio32", "gpio33";
+};
+
+&qup_i2c1_data_clk {
+ pins = "gpio36", "gpio37";
+};
+
+&qup_i2c4_data_clk {
+ pins = "gpio48", "gpio49";
+};
+
+&qup_i2c5_data_clk {
+ pins = "gpio72", "gpio73";
+ function = "qup1_se5_mira";
+};
+
+&qup_i2c10_data_clk {
+ pins = "gpio8", "gpio9";
+};
+
+&qup_i2c11_data_clk {
+ pins = "gpio12", "gpio13";
+};
+
+&qup_i2c12_data_clk {
+ pins = "gpio117", "gpio118";
+ function = "qup2_se4_mirb";
+};
+
+&qup_i2c14_data_clk {
+ pins = "gpio68", "gpio69";
+};
+
+&qup_i2c15_data_clk {
+ pins = "gpio80", "gpio81";
+};
+
+&qup_i2c16_data_clk {
+ pins = "gpio76", "gpio77";
+};
+
+&qup_i2c17_data_clk {
+ pins = "gpio52", "gpio53";
+};
+
+&qup_spi0_cs {
+ pins = "gpio35";
+};
+
+&qup_spi0_data_clk {
+ pins = "gpio32", "gpio33", "gpio34";
+};
+
+&qup_spi1_cs {
+ pins = "gpio39";
+};
+
+&qup_spi1_data_clk {
+ pins = "gpio36", "gpio37", "gpio38";
+};
+
+&qup_spi4_cs {
+ pins = "gpio51";
+};
+
+&qup_spi4_data_clk {
+ pins = "gpio48", "gpio49", "gpio50";
+};
+
+&qup_spi5_cs {
+ pins = "gpio75";
+ function = "qup1_se5_mira";
+};
+
+&qup_spi5_data_clk {
+ pins = "gpio72", "gpio73", "gpio74";
+ function = "qup1_se5_mira";
+};
+
+&qup_spi10_cs {
+ pins = "gpio11";
+};
+
+&qup_spi10_data_clk {
+ pins = "gpio8", "gpio9", "gpio10";
+};
+
+&qup_spi11_cs {
+ pins = "gpio15";
+};
+
+&qup_spi11_data_clk {
+ pins = "gpio12", "gpio13", "gpio14";
+};
+
+&qup_spi14_cs {
+ pins = "gpio71";
+};
+
+&qup_spi14_data_clk {
+ pins = "gpio68", "gpio69", "gpio70";
+};
+
+&qup_spi15_cs {
+ pins = "gpio83";
+};
+
+&qup_spi15_data_clk {
+ pins = "gpio80", "gpio81", "gpio82";
+};
+
+&qup_spi16_cs {
+ pins = "gpio147";
+};
+
+&qup_spi16_data_clk {
+ pins = "gpio76", "gpio77", "gpio146";
+};
+
+&qup_spi17_cs {
+ pins = "gpio55";
+};
+
+&qup_spi17_data_clk {
+ pins = "gpio52", "gpio53", "gpio54";
+};
+
+&tlmm {
+ compatible = "qcom,molokai-tlmm";
+ gpio-ranges = <&tlmm 0 0 206>;
+};
--
2.56.1
next prev parent reply other threads:[~2026-11-16 7:40 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-16 7:39 [PATCH v2 00/11] Add support for the Qualcomm Molokai (SM8845) and the Motorola Signature Venkat Yadlapati via B4 Relay
2026-11-16 7:39 ` [PATCH v2 01/11] dt-bindings: arm: qcom,ids: Add SoC ID for SM8845 Venkat Yadlapati via B4 Relay
2026-11-16 7:40 ` [PATCH v2 02/11] soc: qcom: socinfo: Add SM8845 SoC ID Venkat Yadlapati via B4 Relay
2026-11-16 7:40 ` [PATCH v2 03/11] dt-bindings: interrupt-controller: qcom,pdc: Document Molokai PDC Venkat Yadlapati via B4 Relay
2026-11-16 7:40 ` [PATCH v2 04/11] soc: qcom: ubwc: Add config for Molokai Venkat Yadlapati via B4 Relay
2026-11-16 7:40 ` [PATCH v2 05/11] soc: qcom: pd-mapper: Add support " Venkat Yadlapati via B4 Relay
2026-11-16 7:40 ` [PATCH v2 06/11] dt-bindings: arm: qcom-soc: Extend pattern " Venkat Yadlapati via B4 Relay
2026-11-16 7:40 ` [PATCH v2 07/11] dt-bindings: arm: qcom: Document Molokai and the Motorola Signature Venkat Yadlapati via B4 Relay
2026-11-16 7:40 ` [PATCH v2 08/11] arm64: dts: qcom: kaanapali: Add the second DSI controller and PHY Venkat Yadlapati via B4 Relay
2026-11-16 7:40 ` Venkat Yadlapati via B4 Relay [this message]
2026-11-16 7:40 ` [PATCH v2 10/11] arm64: dts: qcom: molokai: Describe the Adreno 829 GPU Venkat Yadlapati via B4 Relay
2026-11-16 7:40 ` [PATCH v2 11/11] arm64: dts: qcom: Add Motorola Signature (vantage) Venkat Yadlapati via B4 Relay
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261116-molokai-soc-v2-9-9dc4dddc4e96@yahoo.com \
--to=devnull+venkat.yadlapati.yahoo.com@kernel.org \
--cc=abelvesa@kernel.org \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=gpiccoli@igalia.com \
--cc=kees@kernel.org \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=radu@rendec.net \
--cc=robh@kernel.org \
--cc=tglx@kernel.org \
--cc=tony.luck@intel.com \
--cc=venkat.yadlapati@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®