[PATCH PRELIMINARY 3/5] arm64: dts: qcom: shikra-cqm-evk: enable the first Ethernet port

From: Mohd Ayaan Anwar

Date: Tue Sep 08 2026 - 02:25:05 EST


Enable ethernet0 for the Shikra CQM EVK board with its DP83867 RGMII
PHY. The PHY is powered on using a GPIO-controlled 2.5V regulator.

Signed-off-by: Mohd Ayaan Anwar <mohd.anwar@xxxxxxxxxxxxxxxx>
---
arch/arm64/boot/dts/qcom/shikra-cqm-evk.dts | 46 +++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/shikra-cqm-evk.dts b/arch/arm64/boot/dts/qcom/shikra-cqm-evk.dts
index b112b21b1d79b73563d17ae68d7c51460ddb1b22..d093b80034823fbc41fb59366d22fc84fbe8bcb0 100644
--- a/arch/arm64/boot/dts/qcom/shikra-cqm-evk.dts
+++ b/arch/arm64/boot/dts/qcom/shikra-cqm-evk.dts
@@ -21,6 +21,42 @@ aliases {
chosen {
stdout-path = "serial0:115200n8";
};
+
+ rgmii_phy_supply: regulator-rgmii-phy {
+ compatible = "regulator-fixed";
+ regulator-name = "rgmii-phy-pwr";
+ regulator-min-microvolt = <2500000>;
+ regulator-max-microvolt = <2500000>;
+ gpio = <&tlmm 149 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+ pinctrl-0 = <&rgmii_phy_pwr_default>;
+ pinctrl-names = "default";
+ };
+};
+
+&ethernet0 {
+ phy-handle = <&rgmii_phy>;
+ phy-mode = "rgmii-id";
+
+ pinctrl-0 = <&ethernet0_default>;
+ pinctrl-names = "default";
+
+ status = "okay";
+
+ mdio {
+ compatible = "snps,dwmac-mdio";
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ rgmii_phy: ethernet-phy@7 {
+ compatible = "ethernet-phy-id2000.a231";
+ reg = <0x7>;
+ reset-gpios = <&tlmm 135 GPIO_ACTIVE_LOW>;
+ reset-assert-us = <10000>;
+ reset-deassert-us = <50000>;
+ vdda-2p5-supply = <&rgmii_phy_supply>;
+ };
+ };
};

&remoteproc_cdsp {
@@ -57,3 +93,13 @@ &sdhc_1 {

status = "okay";
};
+
+&tlmm {
+ rgmii_phy_pwr_default: rgmii-phy-pwr-default-state {
+ pins = "gpio149";
+ function = "gpio";
+ drive-strength = <2>;
+ bias-disable;
+ output-low;
+ };
+};

--
2.34.1