From: Shawn Guo <shengchao.guo@oss.qualcomm.com>
To: Bjorn Andersson <andersson@kernel.org>
Cc: Konrad Dybcio <konradybcio@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Mohd Ayaan Anwar <mohd.anwar@oss.qualcomm.com>,
Zhangfei Gao <zhangfei.gao@oss.qualcomm.com>,
Bartosz Golaszewski <brgl@kernel.org>,
devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org,
linux-kernel@vger.kernel.org,
Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>,
Shawn Guo <shengchao.guo@oss.qualcomm.com>
Subject: [PATCH RFC 3/3] arm64: dts: qcom: nord-rrd: Enable Ethernet
Date: Sun, 1 Nov 2026 16:04:13 +0800 [thread overview]
Message-ID: <20261101080413.1428016-4-shengchao.guo@oss.qualcomm.com> (raw)
In-Reply-To: <20261101080413.1428016-1-shengchao.guo@oss.qualcomm.com>
From: Zhangfei Gao <zhangfei.gao@oss.qualcomm.com>
Enable both Ethernet ports on the Nord RRD board, each connected over
USXGMII to an Aquantia AQR113C PHY managed through the controller's MDIO
bus.
Co-developed-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Signed-off-by: Zhangfei Gao <zhangfei.gao@oss.qualcomm.com>
Signed-off-by: Shawn Guo <shengchao.guo@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/nord-rrd.dts | 88 +++++++++++++++++++++++++++
1 file changed, 88 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/nord-rrd.dts b/arch/arm64/boot/dts/qcom/nord-rrd.dts
index 47978df0af92..0f6259d91c42 100644
--- a/arch/arm64/boot/dts/qcom/nord-rrd.dts
+++ b/arch/arm64/boot/dts/qcom/nord-rrd.dts
@@ -366,6 +366,56 @@ vreg_l3l_1p8: ldo3 {
};
};
+ðernet0 {
+ pinctrl-0 = <ðernet0_default>, <ðernet0_phy_int>;
+ pinctrl-names = "default";
+
+ phy-mode = "usxgmii";
+ phy-handle = <&sgmii_phy0>;
+
+ status = "okay";
+
+ mdio {
+ compatible = "snps,dwmac-mdio";
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ sgmii_phy0: ethernet-phy@0 {
+ compatible = "ethernet-phy-id31c3.1c12";
+ reg = <0x0>;
+ interrupts-extended = <&tlmm 141 IRQ_TYPE_EDGE_FALLING>;
+ reset-gpios = <&pmau0102_e_gpios 5 GPIO_ACTIVE_LOW>;
+ reset-assert-us = <11000>;
+ reset-deassert-us = <70000>;
+ };
+ };
+};
+
+ðernet1 {
+ pinctrl-0 = <ðernet1_default>, <ðernet1_phy_int>;
+ pinctrl-names = "default";
+
+ phy-mode = "usxgmii";
+ phy-handle = <&sgmii_phy1>;
+
+ status = "okay";
+
+ mdio {
+ compatible = "snps,dwmac-mdio";
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ sgmii_phy1: ethernet-phy@8 {
+ compatible = "ethernet-phy-id31c3.1c12";
+ reg = <0x8>;
+ interrupts-extended = <&tlmm 55 IRQ_TYPE_EDGE_FALLING>;
+ reset-gpios = <&pmau0102_f_gpios 7 GPIO_ACTIVE_LOW>;
+ reset-assert-us = <11000>;
+ reset-deassert-us = <70000>;
+ };
+ };
+};
+
&i2c7 {
clock-frequency = <400000>;
@@ -430,10 +480,40 @@ &remoteproc_cdsp3 {
status = "okay";
};
+&serdes0 {
+ vdda-0p9-supply = <&vreg_l1h_0p9>;
+ vdda-1p2-supply = <&vreg_l2h_1p2>;
+
+ status = "okay";
+};
+
+&serdes1 {
+ vdda-0p9-supply = <&vreg_l1h_0p9>;
+ vdda-1p2-supply = <&vreg_l2h_1p2>;
+
+ status = "okay";
+};
+
&spi16 {
status = "okay";
};
+&tlmm {
+ ethernet0_phy_int: ethernet0-phy-int-state {
+ pins = "gpio141";
+ function = "gpio";
+ drive-strength = <2>;
+ bias-pull-up;
+ };
+
+ ethernet1_phy_int: ethernet1-phy-int-state {
+ pins = "gpio55";
+ function = "gpio";
+ drive-strength = <2>;
+ bias-pull-up;
+ };
+};
+
&uart4 {
status = "okay";
};
@@ -459,3 +539,11 @@ &ufs_mem_phy {
status = "okay";
};
+
+&xpcs0 {
+ status = "okay";
+};
+
+&xpcs1 {
+ status = "okay";
+};
--
2.43.0
prev parent reply other threads:[~2026-11-01 8:05 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-01 8:04 [PATCH RFC 0/3] arm64: dts: qcom: Add Ethernet support for Nord Shawn Guo
2026-11-01 8:04 ` [PATCH RFC 1/3] arm64: dts: qcom: nord: Add Ethernet support Shawn Guo
2026-11-02 15:01 ` Konrad Dybcio
2026-11-04 7:59 ` Shawn Guo
2026-11-04 8:04 ` Konrad Dybcio
2026-11-04 8:42 ` Shawn Guo
2026-11-04 9:04 ` Konrad Dybcio
2026-11-04 12:22 ` Shawn Guo
2026-11-02 15:03 ` Konrad Dybcio
2026-11-04 9:05 ` Shawn Guo
2026-11-01 8:04 ` [PATCH RFC 2/3] arm64: dts: qcom: nord-ride-embedded: Enable Ethernet Shawn Guo
2026-11-01 8:04 ` Shawn Guo [this message]
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=20261101080413.1428016-4-shengchao.guo@oss.qualcomm.com \
--to=shengchao.guo@oss.qualcomm.com \
--cc=andersson@kernel.org \
--cc=bartosz.golaszewski@oss.qualcomm.com \
--cc=brgl@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=mohd.anwar@oss.qualcomm.com \
--cc=robh@kernel.org \
--cc=zhangfei.gao@oss.qualcomm.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®