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