mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 23:12:32 +00:00
37 lines
1.1 KiB
Diff
37 lines
1.1 KiB
Diff
|
From 036e332e29ee24396ad877cc6a1275d86a1c4b3d Mon Sep 17 00:00:00 2001
|
||
|
From: Robert Marko <robimarko@gmail.com>
|
||
|
Date: Thu, 7 Oct 2021 13:58:46 +0200
|
||
|
Subject: [PATCH] arm64: dts: qcom: ipq8074: add MDIO bus
|
||
|
|
||
|
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>
|
||
|
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
|
||
|
Link: https://lore.kernel.org/r/20211007115846.26255-1-robimarko@gmail.com
|
||
|
---
|
||
|
arch/arm64/boot/dts/qcom/ipq8074.dtsi | 12 ++++++++++++
|
||
|
1 file changed, 12 insertions(+)
|
||
|
|
||
|
--- a/arch/arm64/boot/dts/qcom/ipq8074.dtsi
|
||
|
+++ b/arch/arm64/boot/dts/qcom/ipq8074.dtsi
|
||
|
@@ -230,6 +230,18 @@
|
||
|
};
|
||
|
};
|
||
|
|
||
|
+ 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>;
|