kernel: bump 4.14 to 4.14.59
[oweals/openwrt.git] / target / linux / ipq40xx / patches-4.14 / 701-dts-ipq4019-add-mdio-node.patch
1 From 09ed737593f71bcca08a537a6c15264a1a6add08 Mon Sep 17 00:00:00 2001
2 From: Christian Lamparter <chunkeey@gmail.com>
3 Date: Sun, 20 Nov 2016 01:10:33 +0100
4 Subject: [PATCH] dts: ipq4019: add mdio node for ethernet
5
6 This patch adds the mdio device-tree node.
7 This is where the switch is connected to, so it's needed
8 for the ethernet interfaces.
9
10 Note: The driver isn't anywhere close to be upstream,
11 so the info might change.
12 ---
13  arch/arm/boot/dts/qcom-ipq4019.dtsi | 28 ++++++++++++++++++++++++++++
14  1 file changed, 28 insertions(+)
15
16 --- a/arch/arm/boot/dts/qcom-ipq4019.dtsi
17 +++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi
18 @@ -562,6 +562,34 @@
19                         status = "disabled";
20                 };
21  
22 +               mdio@90000 {
23 +                       #address-cells = <1>;
24 +                       #size-cells = <0>;
25 +                       compatible = "qcom,ipq4019-mdio";
26 +                       reg = <0x90000 0x64>;
27 +                       status = "disabled";
28 +
29 +                       ethernet-phy@0 {
30 +                               reg = <0>;
31 +                       };
32 +
33 +                       ethernet-phy@1 {
34 +                               reg = <1>;
35 +                       };
36 +
37 +                       ethernet-phy@2 {
38 +                               reg = <2>;
39 +                       };
40 +
41 +                       ethernet-phy@3 {
42 +                               reg = <3>;
43 +                       };
44 +
45 +                       ethernet-phy@4 {
46 +                               reg = <4>;
47 +                       };
48 +               };
49 +
50                 usb3_ss_phy: ssphy@9a000 {
51                         compatible = "qcom,usb-ss-ipq4019-phy";
52                         #phy-cells = <0>;