From: Varadarajan Narayanan <varadarajan.narayanan@oss.qualcomm.com>
To: Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Abel Vesa <abelvesa@kernel.org>
Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
Varadarajan Narayanan <varadarajan.narayanan@oss.qualcomm.com>
Subject: [PATCH v7 09/11] arm64: dts: qcom: ipq5210: Add I2C nodes
Date: Mon, 12 Oct 2026 12:53:09 +0530 [thread overview]
Message-ID: <20261012-08-dts-v7-9-77bd3d68d850@oss.qualcomm.com> (raw)
In-Reply-To: <20261012-08-dts-v7-0-77bd3d68d850@oss.qualcomm.com>
Add the QUPv3 I2C controller nodes for IPQ5210 and enable I2C0 with
the required pin configuration on RDP504.
Signed-off-by: Varadarajan Narayanan <varadarajan.narayanan@oss.qualcomm.com>
---
.../arm64/boot/dts/qcom/ipq5210-rdp504-common.dtsi | 23 ++++++++++++
arch/arm64/boot/dts/qcom/ipq5210.dtsi | 42 ++++++++++++++++++++++
2 files changed, 65 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/ipq5210-rdp504-common.dtsi b/arch/arm64/boot/dts/qcom/ipq5210-rdp504-common.dtsi
index 0f7a8f2d886b..0fd85b78e5b7 100644
--- a/arch/arm64/boot/dts/qcom/ipq5210-rdp504-common.dtsi
+++ b/arch/arm64/boot/dts/qcom/ipq5210-rdp504-common.dtsi
@@ -59,6 +59,13 @@ vreg_misc_0p925: regulator-usb-0p925 {
};
};
+&i2c0 {
+ pinctrl-0 = <&qup_i2c0_default>;
+ pinctrl-names = "default";
+
+ status = "okay";
+};
+
&pcie0 {
pinctrl-0 = <&pcie0_default_state>;
pinctrl-names = "default";
@@ -197,6 +204,22 @@ clock-pins {
};
};
+ qup_i2c0_default: qup-i2c0-default-state {
+ qup-i2c0-scl-pins {
+ pins = "gpio20";
+ function = "qup_se2";
+ drive-strength = <6>;
+ bias-pull-up;
+ };
+
+ qup-i2c0-sda-pins {
+ pins = "gpio21";
+ function = "qup_se2";
+ drive-strength = <6>;
+ bias-pull-up;
+ };
+ };
+
qup_uart1_default_state: qup-uart1-default-state {
pins = "gpio38", "gpio39";
function = "qup_se1";
diff --git a/arch/arm64/boot/dts/qcom/ipq5210.dtsi b/arch/arm64/boot/dts/qcom/ipq5210.dtsi
index 22ab99ca0903..fdfeedcf5618 100644
--- a/arch/arm64/boot/dts/qcom/ipq5210.dtsi
+++ b/arch/arm64/boot/dts/qcom/ipq5210.dtsi
@@ -427,6 +427,48 @@ uart1: serial@1a84000 {
status = "disabled";
};
+
+ i2c0: i2c@1a88000 {
+ compatible = "qcom,geni-i2c";
+ reg = <0x0 0x01a88000 0x0 0x4000>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ clocks = <&gcc GCC_QUPV3_WRAP_SE2_CLK>;
+ clock-names = "se";
+ clock-frequency = <400000>;
+ interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
+ assigned-clocks = <&gcc GCC_QUPV3_WRAP_SE2_CLK>;
+ assigned-clock-rates = <32000000>;
+ status = "disabled";
+ };
+
+ i2c1: i2c@1a8c000 {
+ compatible = "qcom,geni-i2c";
+ reg = <0x0 0x01a8c000 0x0 0x4000>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ clocks = <&gcc GCC_QUPV3_WRAP_SE3_CLK>;
+ clock-names = "se";
+ clock-frequency = <400000>;
+ interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>;
+ assigned-clocks = <&gcc GCC_QUPV3_WRAP_SE3_CLK>;
+ assigned-clock-rates = <32000000>;
+ status = "disabled";
+ };
+
+ i2c2: i2c@1a94000 {
+ compatible = "qcom,geni-i2c";
+ reg = <0x0 0x01a94000 0x0 0x4000>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ clocks = <&gcc GCC_QUPV3_WRAP_SE5_CLK>;
+ clock-names = "se";
+ clock-frequency = <400000>;
+ interrupts = <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
+ assigned-clocks = <&gcc GCC_QUPV3_WRAP_SE5_CLK>;
+ assigned-clock-rates = <32000000>;
+ status = "disabled";
+ };
};
sdhc: mmc@7804000 {
--
2.34.1
next prev parent reply other threads:[~2026-10-12 7:23 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-12 7:23 [PATCH v7 00/11] Enable mutliple peripherals in IPQ5210 Varadarajan Narayanan
2026-10-12 7:23 ` [PATCH v7 01/11] arm64: dts: qcom: ipq5210: Add nodes for multiple peripherals Varadarajan Narayanan
2026-10-12 7:23 ` [PATCH v7 02/11] arm64: dts: qcom: ipq5210: Introduce RDP504 common DT file Varadarajan Narayanan
2026-10-12 7:23 ` [PATCH v7 03/11] arm64: dts: qcom: ipq5210: Introduce RDP504 NAND variant " Varadarajan Narayanan
2026-10-12 7:23 ` [PATCH v7 04/11] arm64: dts: qcom: ipq5210: Add support for WPS button Varadarajan Narayanan
2026-10-12 7:23 ` [PATCH v7 05/11] arm64: dts: qcom: ipq5210: Add C3 CPU idle state Varadarajan Narayanan
2026-10-12 7:23 ` [PATCH v7 06/11] arm64: dts: qcom: ipq5210: Add ICE support to SDHCI Varadarajan Narayanan
2026-10-12 7:23 ` [PATCH v7 07/11] arm64: dts: qcom: ipq5210: Enable download mode support Varadarajan Narayanan
2026-10-12 7:23 ` [PATCH v7 08/11] arm64: dts: qcom: ipq5210: Enable the PWM block Varadarajan Narayanan
2026-10-12 7:23 ` Varadarajan Narayanan [this message]
2026-10-12 7:23 ` [PATCH v7 10/11] arm64: dts: qcom: ipq5210: Add SPI node definitions Varadarajan Narayanan
2026-10-12 7:23 ` [PATCH v7 11/11] arm64: dts: qcom: ipq5210: Add random number generator node Varadarajan Narayanan
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=20261012-08-dts-v7-9-77bd3d68d850@oss.qualcomm.com \
--to=varadarajan.narayanan@oss.qualcomm.com \
--cc=abelvesa@kernel.org \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.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=robh@kernel.org \
/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®