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
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
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>
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(+)
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
26 + cpm_comphy: phy@120000 {
27 + compatible = "marvell,comphy-cp110";
28 + reg = <0x120000 0x6000>;
29 + marvell,system-controller = <&cpm_syscon0>;
30 + #address-cells = <1>;
33 + cpm_comphy0: phy@0 {
38 + cpm_comphy1: phy@1 {
43 + cpm_comphy2: phy@2 {
48 + cpm_comphy3: phy@3 {
53 + cpm_comphy4: phy@4 {
58 + cpm_comphy5: phy@5 {
64 cpm_mdio: mdio@12a200 {
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
75 + cps_comphy: phy@120000 {
76 + compatible = "marvell,comphy-cp110";
77 + reg = <0x120000 0x6000>;
78 + marvell,system-controller = <&cps_syscon0>;
79 + #address-cells = <1>;
82 + cps_comphy0: phy@0 {
87 + cps_comphy1: phy@1 {
92 + cps_comphy2: phy@2 {
97 + cps_comphy3: phy@3 {
102 + cps_comphy4: phy@4 {
107 + cps_comphy5: phy@5 {
113 cps_mdio: mdio@12a200 {
114 #address-cells = <1>;