OSDN Git Service

arm64: dts: qcom: ipq8074: add MDIO bus
authorRobert Marko <robimarko@gmail.com>
Thu, 7 Oct 2021 11:58:46 +0000 (13:58 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 18 Nov 2021 01:13:39 +0000 (19:13 -0600)
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

index 6c6a0f8..e6cc261 100644 (file)
                        };
                };
 
+               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>;