[PATCH 5/5] arm: dts: add IPQ4019 ESS EDMA U-Boot additions

Robert Marko robert.marko at sartura.hr
Wed May 22 12:13:45 CEST 2024


IPQ4019 ESS EDMA support is not yet in upstream Linux, and even when
eventually it is merged the node will not be compatible with U-Boot driver
as the Linux driver properly models the internal switch.

So, lets add the U-Boot additions DTSI for ESS EDMA for now.

Signed-off-by: Robert Marko <robert.marko at sartura.hr>
---
 arch/arm/dts/qcom-ipq4019-u-boot.dtsi | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 arch/arm/dts/qcom-ipq4019-u-boot.dtsi

diff --git a/arch/arm/dts/qcom-ipq4019-u-boot.dtsi b/arch/arm/dts/qcom-ipq4019-u-boot.dtsi
new file mode 100644
index 0000000000..f70ef5c9a5
--- /dev/null
+++ b/arch/arm/dts/qcom-ipq4019-u-boot.dtsi
@@ -0,0 +1,27 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+/ {
+	soc {
+		edma: edma at c080000 {
+			compatible = "qcom,ess-edma";
+			reg = <0xc080000 0x8000>, <0x98000 0x800>, <0xc000000 0x80000>;
+			reg-names = "edma", "psgmii_phy", "switch";
+			#address-cells = <1>;
+			#size-cells = <1>;
+			resets = <&gcc ESS_PSGMII_ARES>, <&gcc ESS_RESET>;
+			reset-names = "psgmii", "ess";
+			clocks = <&gcc GCC_ESS_CLK>;
+			clock-names = "ess";
+			status = "disabled";
+
+			switch_ports: switch-ports {
+				phy-mode = "psgmii";
+			};
+		};
+	};
+};
+
+&mdio {
+	psgmiiphy: psgmii-phy at 5 {
+		reg = <5>;
+	};
+};
-- 
2.45.1



More information about the U-Boot mailing list