linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: qcom: ipq8074: add MDIO bus
@ 2021-10-07 11:58 Robert Marko
  2021-11-20 23:55 ` (subset) " Bjorn Andersson
  0 siblings, 1 reply; 2+ messages in thread
From: Robert Marko @ 2021-10-07 11:58 UTC (permalink / raw)
  To: agross, bjorn.andersson, robh+dt, linux-arm-msm, devicetree,
	linux-kernel
  Cc: Robert Marko

IPQ8074 uses an IPQ4019 compatible MDIO controller that is already
supported in the kernel, so add the DT node in order to use it.

Signed-off-by: Robert Marko <robimarko@gmail.com>
---
 arch/arm64/boot/dts/qcom/ipq8074.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/ipq8074.dtsi b/arch/arm64/boot/dts/qcom/ipq8074.dtsi
index 3a56e38158a4..5f562444c838 100644
--- a/arch/arm64/boot/dts/qcom/ipq8074.dtsi
+++ b/arch/arm64/boot/dts/qcom/ipq8074.dtsi
@@ -267,6 +267,18 @@ pcie_phy1: phy@8e000 {
 			status = "disabled";
 		};
 
+		mdio: mdio@90000 {
+			compatible = "qcom,ipq4019-mdio";
+			reg = <0x00090000 0x64>;
+			#address-cells = <1>;
+			#size-cells = <0>;
+
+			clocks = <&gcc GCC_MDIO_AHB_CLK>;
+			clock-names = "gcc_mdio_ahb_clk";
+
+			status = "disabled";
+		};
+
 		prng: rng@e3000 {
 			compatible = "qcom,prng-ee";
 			reg = <0x000e3000 0x1000>;
-- 
2.32.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: (subset) [PATCH] arm64: dts: qcom: ipq8074: add MDIO bus
  2021-10-07 11:58 [PATCH] arm64: dts: qcom: ipq8074: add MDIO bus Robert Marko
@ 2021-11-20 23:55 ` Bjorn Andersson
  0 siblings, 0 replies; 2+ messages in thread
From: Bjorn Andersson @ 2021-11-20 23:55 UTC (permalink / raw)
  To: linux-arm-msm, linux-kernel, devicetree, Robert Marko, robh+dt, agross

On Thu, 7 Oct 2021 13:58:46 +0200, Robert Marko wrote:
> IPQ8074 uses an IPQ4019 compatible MDIO controller that is already
> supported in the kernel, so add the DT node in order to use it.
> 
> 

Applied, thanks!

[1/1] arm64: dts: qcom: ipq8074: add MDIO bus
      commit: d201f67714a302b12ad3d78b982963342939629c

Best regards,
-- 
Bjorn Andersson <bjorn.andersson@linaro.org>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-11-20 23:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-07 11:58 [PATCH] arm64: dts: qcom: ipq8074: add MDIO bus Robert Marko
2021-11-20 23:55 ` (subset) " Bjorn Andersson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).