layerscape: add patches-5.4
[openwrt/openwrt.git] / target / linux / layerscape / patches-5.4 / 302-dts-0029-arm64-dts-lx2160-Add-all-pcs-mdio-definitions-accord.patch
1 From 39c8c9b6e4db9694935fe4a856ea66ff36ace7d0 Mon Sep 17 00:00:00 2001
2 From: Florinel Iordache <florinel.iordache@nxp.com>
3 Date: Tue, 30 Oct 2018 09:42:39 +0200
4 Subject: [PATCH] arm64: dts: lx2160: Add all pcs mdio definitions according to
5 RM
6
7 This change is required in preparation for adding 40GBase-KR support in DTS for LX2160
8
9 Signed-off-by: Florinel Iordache <florinel.iordache@nxp.com>
10 ---
11 arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 85 ++++++++++++++++++++++++++
12 1 file changed, 85 insertions(+)
13
14 --- a/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
15 +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a.dtsi
16 @@ -500,6 +500,91 @@
17 #size-cells = <0>;
18 };
19
20 + pcs_mdio1: mdio@0x8c07000 {
21 + compatible = "fsl,fman-memac-mdio";
22 + reg = <0x0 0x8c07000 0x0 0x1000>;
23 + device_type = "mdio";
24 + little-endian;
25 +
26 + #address-cells = <1>;
27 + #size-cells = <0>;
28 + };
29 +
30 + pcs_mdio2: mdio@0x8c0b000 {
31 + compatible = "fsl,fman-memac-mdio";
32 + reg = <0x0 0x8c0b000 0x0 0x1000>;
33 + device_type = "mdio";
34 + little-endian;
35 +
36 + #address-cells = <1>;
37 + #size-cells = <0>;
38 + };
39 +
40 + pcs_mdio3: mdio@0x8c0f000 {
41 + compatible = "fsl,fman-memac-mdio";
42 + reg = <0x0 0x8c0f000 0x0 0x1000>;
43 + device_type = "mdio";
44 + little-endian;
45 +
46 + #address-cells = <1>;
47 + #size-cells = <0>;
48 + };
49 +
50 + pcs_mdio4: mdio@0x8c13000 {
51 + compatible = "fsl,fman-memac-mdio";
52 + reg = <0x0 0x8c13000 0x0 0x1000>;
53 + device_type = "mdio";
54 + little-endian;
55 +
56 + #address-cells = <1>;
57 + #size-cells = <0>;
58 + };
59 +
60 + pcs_mdio5: mdio@0x8c17000 {
61 + compatible = "fsl,fman-memac-mdio";
62 + reg = <0x0 0x8c17000 0x0 0x1000>;
63 + device_type = "mdio";
64 + little-endian;
65 +
66 + #address-cells = <1>;
67 + #size-cells = <0>;
68 + };
69 +
70 + pcs_mdio6: mdio@0x8c1b000 {
71 + compatible = "fsl,fman-memac-mdio";
72 + reg = <0x0 0x8c1b000 0x0 0x1000>;
73 + device_type = "mdio";
74 + little-endian;
75 +
76 + #address-cells = <1>;
77 + #size-cells = <0>;
78 + };
79 +
80 + pcs_mdio7: mdio@0x8c1f000 {
81 + compatible = "fsl,fman-memac-mdio";
82 + reg = <0x0 0x8c1f000 0x0 0x1000>;
83 + device_type = "mdio";
84 + little-endian;
85 +
86 + #address-cells = <1>;
87 + #size-cells = <0>;
88 + };
89 +
90 + pcs_mdio8: mdio@0x8c23000 {
91 + compatible = "fsl,fman-memac-mdio";
92 + reg = <0x0 0x8c23000 0x0 0x1000>;
93 + device_type = "mdio";
94 + little-endian;
95 +
96 + #address-cells = <1>;
97 + #size-cells = <0>;
98 + };
99 +
100 + serdes1: serdes@1ea0000 {
101 + reg = <0x0 0x1ea0000 0 0x00002000>;
102 + compatible = "fsl,serdes-28g";
103 + };
104 +
105 i2c0: i2c@2000000 {
106 compatible = "fsl,vf610-i2c";
107 #address-cells = <1>;