1*724ba675SRob Herring/*
2*724ba675SRob Herring * Copyright 2016 Linaro Ltd
3*724ba675SRob Herring *
4*724ba675SRob Herring * Permission is hereby granted, free of charge, to any person obtaining a copy
5*724ba675SRob Herring * of this software and associated documentation files (the "Software"), to deal
6*724ba675SRob Herring * in the Software without restriction, including without limitation the rights
7*724ba675SRob Herring * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8*724ba675SRob Herring * copies of the Software, and to permit persons to whom the Software is
9*724ba675SRob Herring * furnished to do so, subject to the following conditions:
10*724ba675SRob Herring *
11*724ba675SRob Herring * The above copyright notice and this permission notice shall be included in
12*724ba675SRob Herring * all copies or substantial portions of the Software.
13*724ba675SRob Herring *
14*724ba675SRob Herring * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15*724ba675SRob Herring * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16*724ba675SRob Herring * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
17*724ba675SRob Herring * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18*724ba675SRob Herring * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19*724ba675SRob Herring * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20*724ba675SRob Herring * THE SOFTWARE.
21*724ba675SRob Herring */
22*724ba675SRob Herring
23*724ba675SRob Herring/ {
24*724ba675SRob Herring	/* Introduce a fixed regulator for the new ethernet controller */
25*724ba675SRob Herring	veth: fixedregulator@0 {
26*724ba675SRob Herring		compatible = "regulator-fixed";
27*724ba675SRob Herring		regulator-name = "veth";
28*724ba675SRob Herring		regulator-min-microvolt = <3300000>;
29*724ba675SRob Herring		regulator-max-microvolt = <3300000>;
30*724ba675SRob Herring		regulator-boot-on;
31*724ba675SRob Herring	};
32*724ba675SRob Herring};
33*724ba675SRob Herring
34*724ba675SRob Herring/*
35*724ba675SRob Herring * The revision D has a different ethernet controller that the elder boards:
36*724ba675SRob Herring * the older board uses LAN91C111 but the new one uses LAN9118.
37*724ba675SRob Herring */
38*724ba675SRob Herring&ethernet {
39*724ba675SRob Herring	compatible = "smsc,lan9118", "smsc,lan9115";
40*724ba675SRob Herring	phy-mode = "mii";
41*724ba675SRob Herring	smsc,irq-active-high;
42*724ba675SRob Herring	smsc,irq-push-pull;
43*724ba675SRob Herring	vdd33a-supply = <&veth>;
44*724ba675SRob Herring	vddvario-supply = <&veth>;
45*724ba675SRob Herring};
46