ipq40xx: refresh kernel config
[openwrt/staging/thess.git] / target / linux / ipq40xx / patches-5.4 / 0005-v5.8-02-ARM-dts-qcom-ipq4019-add-MDIO-node.patch
1 From 9c8c0f70ec6fdac2398632c723c48277be09b7c0 Mon Sep 17 00:00:00 2001
2 From: Robert Marko <robert.marko@sartura.hr>
3 Date: Thu, 30 Apr 2020 11:07:07 +0200
4 Subject: [PATCH] ARM: dts: qcom: ipq4019: add MDIO node
5
6 This patch adds the necessary MDIO interface node
7 to the Qualcomm IPQ4019 DTSI.
8
9 Built-in QCA8337N switch is managed using it,
10 and since we have a driver for it lets add it.
11
12 Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
13 Signed-off-by: Robert Marko <robert.marko@sartura.hr>
14 Reviewed-by: Andrew Lunn <andrew@lunn.ch>
15 Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
16 Cc: Luka Perkov <luka.perkov@sartura.hr>
17 Signed-off-by: David S. Miller <davem@davemloft.net>
18 ---
19 arch/arm/boot/dts/qcom-ipq4019.dtsi | 28 ++++++++++++++++++++++++++++
20 1 file changed, 28 insertions(+)
21
22 --- a/arch/arm/boot/dts/qcom-ipq4019.dtsi
23 +++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi
24 @@ -577,5 +577,33 @@
25 "legacy";
26 status = "disabled";
27 };
28 +
29 + mdio: mdio@90000 {
30 + #address-cells = <1>;
31 + #size-cells = <0>;
32 + compatible = "qcom,ipq4019-mdio";
33 + reg = <0x90000 0x64>;
34 + status = "disabled";
35 +
36 + ethphy0: ethernet-phy@0 {
37 + reg = <0>;
38 + };
39 +
40 + ethphy1: ethernet-phy@1 {
41 + reg = <1>;
42 + };
43 +
44 + ethphy2: ethernet-phy@2 {
45 + reg = <2>;
46 + };
47 +
48 + ethphy3: ethernet-phy@3 {
49 + reg = <3>;
50 + };
51 +
52 + ethphy4: ethernet-phy@4 {
53 + reg = <4>;
54 + };
55 + };
56 };
57 };