diff options
-rw-r--r-- | arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts b/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts index 83178d909fc2..12d9f6525d33 100644 --- a/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts +++ b/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts | |||
@@ -80,3 +80,69 @@ | |||
80 | &usb3 { | 80 | &usb3 { |
81 | status = "okay"; | 81 | status = "okay"; |
82 | }; | 82 | }; |
83 | |||
84 | &mdio { | ||
85 | switch0: switch0@1 { | ||
86 | compatible = "marvell,mv88e6085"; | ||
87 | #address-cells = <1>; | ||
88 | #size-cells = <0>; | ||
89 | reg = <1>; | ||
90 | |||
91 | dsa,member = <0 0>; | ||
92 | |||
93 | ports { | ||
94 | #address-cells = <1>; | ||
95 | #size-cells = <0>; | ||
96 | |||
97 | port@0 { | ||
98 | reg = <0>; | ||
99 | label = "cpu"; | ||
100 | ethernet = <ð0>; | ||
101 | }; | ||
102 | |||
103 | port@1 { | ||
104 | reg = <1>; | ||
105 | label = "wan"; | ||
106 | phy-handle = <&switch0phy0>; | ||
107 | }; | ||
108 | |||
109 | port@2 { | ||
110 | reg = <2>; | ||
111 | label = "lan0"; | ||
112 | phy-handle = <&switch0phy1>; | ||
113 | }; | ||
114 | |||
115 | port@3 { | ||
116 | reg = <3>; | ||
117 | label = "lan1"; | ||
118 | phy-handle = <&switch0phy2>; | ||
119 | }; | ||
120 | |||
121 | }; | ||
122 | |||
123 | mdio { | ||
124 | #address-cells = <1>; | ||
125 | #size-cells = <0>; | ||
126 | |||
127 | switch0phy0: switch0phy0@11 { | ||
128 | reg = <0x11>; | ||
129 | }; | ||
130 | switch0phy1: switch0phy1@12 { | ||
131 | reg = <0x12>; | ||
132 | }; | ||
133 | switch0phy2: switch0phy2@13 { | ||
134 | reg = <0x13>; | ||
135 | }; | ||
136 | }; | ||
137 | }; | ||
138 | }; | ||
139 | |||
140 | ð0 { | ||
141 | phy-mode = "rgmii-id"; | ||
142 | status = "okay"; | ||
143 | |||
144 | fixed-link { | ||
145 | speed = <1000>; | ||
146 | full-duplex; | ||
147 | }; | ||
148 | }; | ||