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