b2989667ebe9c0c8a1bac92762203294f468bf71
[buildroot.git] /
1 From f05fc07443118bb3017c2b6938c63f48845329ca Mon Sep 17 00:00:00 2001
2 From: Sergey Matyukevich <geomatsi@gmail.com>
3 Date: Fri, 8 Dec 2017 23:10:36 +0300
4 Subject: [PATCH] arm64: dts: marvell: add comphy nodes on cp110 master and slave
5
6 This patch describes the comphy available in the cp110 master and slave.
7 This comphy provides serdes lanes used by various controllers such as
8 the network one.
9
10 Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
11 Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
12 Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
13 ---
14 .../boot/dts/marvell/armada-cp110-master.dtsi | 38 ++++++++++++++++++++++
15 .../arm64/boot/dts/marvell/armada-cp110-slave.dtsi | 38 ++++++++++++++++++++++
16 2 files changed, 76 insertions(+)
17
18 diff --git a/arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi b/arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi
19 index 4dd8c7d53764..b91c27ccee33 100644
20 --- a/arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi
21 +++ b/arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi
22 @@ -109,6 +109,44 @@
23 };
24 };
25
26 + cpm_comphy: phy@120000 {
27 + compatible = "marvell,comphy-cp110";
28 + reg = <0x120000 0x6000>;
29 + marvell,system-controller = <&cpm_syscon0>;
30 + #address-cells = <1>;
31 + #size-cells = <0>;
32 +
33 + cpm_comphy0: phy@0 {
34 + reg = <0>;
35 + #phy-cells = <1>;
36 + };
37 +
38 + cpm_comphy1: phy@1 {
39 + reg = <1>;
40 + #phy-cells = <1>;
41 + };
42 +
43 + cpm_comphy2: phy@2 {
44 + reg = <2>;
45 + #phy-cells = <1>;
46 + };
47 +
48 + cpm_comphy3: phy@3 {
49 + reg = <3>;
50 + #phy-cells = <1>;
51 + };
52 +
53 + cpm_comphy4: phy@4 {
54 + reg = <4>;
55 + #phy-cells = <1>;
56 + };
57 +
58 + cpm_comphy5: phy@5 {
59 + reg = <5>;
60 + #phy-cells = <1>;
61 + };
62 + };
63 +
64 cpm_mdio: mdio@12a200 {
65 #address-cells = <1>;
66 #size-cells = <0>;
67 diff --git a/arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi b/arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi
68 index 43fa491da6ce..6849348ae214 100644
69 --- a/arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi
70 +++ b/arch/arm64/boot/dts/marvell/armada-cp110-slave.dtsi
71 @@ -109,6 +109,44 @@
72 };
73 };
74
75 + cps_comphy: phy@120000 {
76 + compatible = "marvell,comphy-cp110";
77 + reg = <0x120000 0x6000>;
78 + marvell,system-controller = <&cps_syscon0>;
79 + #address-cells = <1>;
80 + #size-cells = <0>;
81 +
82 + cps_comphy0: phy@0 {
83 + reg = <0>;
84 + #phy-cells = <1>;
85 + };
86 +
87 + cps_comphy1: phy@1 {
88 + reg = <1>;
89 + #phy-cells = <1>;
90 + };
91 +
92 + cps_comphy2: phy@2 {
93 + reg = <2>;
94 + #phy-cells = <1>;
95 + };
96 +
97 + cps_comphy3: phy@3 {
98 + reg = <3>;
99 + #phy-cells = <1>;
100 + };
101 +
102 + cps_comphy4: phy@4 {
103 + reg = <4>;
104 + #phy-cells = <1>;
105 + };
106 +
107 + cps_comphy5: phy@5 {
108 + reg = <5>;
109 + #phy-cells = <1>;
110 + };
111 + };
112 +
113 cps_mdio: mdio@12a200 {
114 #address-cells = <1>;
115 #size-cells = <0>;
116 --
117 2.11.0
118