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

From: Mohd Ayaan Anwar

Date: Tue Sep 08 2026 - 02:26:31 EST


Enable ethernet0 for the Shikra CQS 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-cqs-evk.dts | 46 +++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/shikra-cqs-evk.dts b/arch/arm64/boot/dts/qcom/shikra-cqs-evk.dts
index e62ba5aef71ff5b15e55810ae3d80a81e15e44e8..7b30c67c68e8c7161bfdd25168fe882b394b5558 100644
--- a/arch/arm64/boot/dts/qcom/shikra-cqs-evk.dts
+++ b/arch/arm64/boot/dts/qcom/shikra-cqs-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