aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts
diff options
context:
space:
mode:
authorJamie Lentin <jm@lentin.co.uk>2016-08-06 06:10:13 -0400
committerGregory CLEMENT <gregory.clement@free-electrons.com>2016-09-14 11:00:26 -0400
commitd30363364811e956816cb586936269ecb9a30299 (patch)
treedd37c1cf6ed8f751c88783ffeed9cf4e0a9b84de /arch/arm/boot/dts
parentb6114633fb21c83af21ac26254f7951664f9697b (diff)
ARM: dts: orion5x: Configure WNR854T ethernet PHY LEDs
The default PHY configuration disables most of the LEDs. The following configures the ethernet activity LEDs as Netgear intended. [gregory.clement@free-electrons.com: fix commit title] Signed-off-by: Jamie Lentin <jm@lentin.co.uk> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts')
-rw-r--r--arch/arm/boot/dts/orion5x-netgear-wnr854t.dts51
1 files changed, 51 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/orion5x-netgear-wnr854t.dts b/arch/arm/boot/dts/orion5x-netgear-wnr854t.dts
index 86a3cb1610ee..9f6ae4e1de06 100644
--- a/arch/arm/boot/dts/orion5x-netgear-wnr854t.dts
+++ b/arch/arm/boot/dts/orion5x-netgear-wnr854t.dts
@@ -124,31 +124,82 @@
124 port@0 { 124 port@0 {
125 reg = <0>; 125 reg = <0>;
126 label = "lan3"; 126 label = "lan3";
127 phy-handle = <&lan3phy>;
127 }; 128 };
128 129
129 port@1 { 130 port@1 {
130 reg = <1>; 131 reg = <1>;
131 label = "lan4"; 132 label = "lan4";
133 phy-handle = <&lan4phy>;
132 }; 134 };
133 135
134 port@2 { 136 port@2 {
135 reg = <2>; 137 reg = <2>;
136 label = "wan"; 138 label = "wan";
139 phy-handle = <&wanphy>;
137 }; 140 };
138 141
139 port@3 { 142 port@3 {
140 reg = <3>; 143 reg = <3>;
141 label = "cpu"; 144 label = "cpu";
145 ethernet = <&ethport>;
142 }; 146 };
143 147
144 port@5 { 148 port@5 {
145 reg = <5>; 149 reg = <5>;
146 label = "lan1"; 150 label = "lan1";
151 phy-handle = <&lan1phy>;
147 }; 152 };
148 153
149 port@7 { 154 port@7 {
150 reg = <7>; 155 reg = <7>;
151 label = "lan2"; 156 label = "lan2";
157 phy-handle = <&lan2phy>;
158 };
159 };
160
161 mdio {
162 #address-cells = <1>;
163 #size-cells = <0>;
164
165 lan3phy: ethernet-phy@0 {
166 /* Marvell 88E1121R (port 1) */
167 compatible = "ethernet-phy-id0141.0cb0",
168 "ethernet-phy-ieee802.3-c22";
169 reg = <0>;
170 marvell,reg-init = <3 16 0 0x1777 3 17 0 0x15>;
171 };
172
173 lan4phy: ethernet-phy@1 {
174 /* Marvell 88E1121R (port 2) */
175 compatible = "ethernet-phy-id0141.0cb0",
176 "ethernet-phy-ieee802.3-c22";
177 reg = <1>;
178 marvell,reg-init = <3 16 0 0x1777 3 17 0 0x15>;
179 };
180
181 wanphy: ethernet-phy@2 {
182 /* Marvell 88E1121R (port 1) */
183 compatible = "ethernet-phy-id0141.0cb0",
184 "ethernet-phy-ieee802.3-c22";
185 reg = <2>;
186 marvell,reg-init = <3 16 0 0x1777 3 17 0 0x15>;
187 };
188
189 lan1phy: ethernet-phy@5 {
190 /* Marvell 88E1112 */
191 compatible = "ethernet-phy-id0141.0cb0",
192 "ethernet-phy-ieee802.3-c22";
193 reg = <5>;
194 marvell,reg-init = <3 16 0 0x1777 3 17 0 0x15>;
195 };
196
197 lan2phy: ethernet-phy@7 {
198 /* Marvell 88E1112 */
199 compatible = "ethernet-phy-id0141.0cb0",
200 "ethernet-phy-ieee802.3-c22";
201 reg = <7>;
202 marvell,reg-init = <3 16 0 0x1777 3 17 0 0x15>;
152 }; 203 };
153 }; 204 };
154 }; 205 };