1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0 2*f126890aSEmmanuel Vadot/* 3*f126890aSEmmanuel Vadot * Common file for GPMC connected smsc9221 on omaps 4*f126890aSEmmanuel Vadot * 5*f126890aSEmmanuel Vadot * Compared to smsc911x, smsc9221 (and others like smsc9217 6*f126890aSEmmanuel Vadot * or smsc 9218) has faster timings, leading to higher 7*f126890aSEmmanuel Vadot * bandwidth. 8*f126890aSEmmanuel Vadot * 9*f126890aSEmmanuel Vadot * Note that the board specifc DTS file needs to specify 10*f126890aSEmmanuel Vadot * ranges, pinctrl, reg, interrupt parent and interrupts. 11*f126890aSEmmanuel Vadot */ 12*f126890aSEmmanuel Vadot 13*f126890aSEmmanuel Vadot/ { 14*f126890aSEmmanuel Vadot vddvario: regulator-vddvario { 15*f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 16*f126890aSEmmanuel Vadot regulator-name = "vddvario"; 17*f126890aSEmmanuel Vadot regulator-always-on; 18*f126890aSEmmanuel Vadot }; 19*f126890aSEmmanuel Vadot 20*f126890aSEmmanuel Vadot vdd33a: regulator-vdd33a { 21*f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 22*f126890aSEmmanuel Vadot regulator-name = "vdd33a"; 23*f126890aSEmmanuel Vadot regulator-always-on; 24*f126890aSEmmanuel Vadot }; 25*f126890aSEmmanuel Vadot}; 26*f126890aSEmmanuel Vadot 27*f126890aSEmmanuel Vadot&gpmc { 28*f126890aSEmmanuel Vadot ethernet@gpmc { 29*f126890aSEmmanuel Vadot compatible = "smsc,lan9221","smsc,lan9115"; 30*f126890aSEmmanuel Vadot bank-width = <2>; 31*f126890aSEmmanuel Vadot 32*f126890aSEmmanuel Vadot gpmc,mux-add-data = <0>; 33*f126890aSEmmanuel Vadot gpmc,cs-on-ns = <0>; 34*f126890aSEmmanuel Vadot gpmc,cs-rd-off-ns = <42>; 35*f126890aSEmmanuel Vadot gpmc,cs-wr-off-ns = <36>; 36*f126890aSEmmanuel Vadot gpmc,adv-on-ns = <6>; 37*f126890aSEmmanuel Vadot gpmc,adv-rd-off-ns = <12>; 38*f126890aSEmmanuel Vadot gpmc,adv-wr-off-ns = <12>; 39*f126890aSEmmanuel Vadot gpmc,oe-on-ns = <0>; 40*f126890aSEmmanuel Vadot gpmc,oe-off-ns = <42>; 41*f126890aSEmmanuel Vadot gpmc,we-on-ns = <0>; 42*f126890aSEmmanuel Vadot gpmc,we-off-ns = <36>; 43*f126890aSEmmanuel Vadot gpmc,rd-cycle-ns = <60>; 44*f126890aSEmmanuel Vadot gpmc,wr-cycle-ns = <54>; 45*f126890aSEmmanuel Vadot gpmc,access-ns = <36>; 46*f126890aSEmmanuel Vadot gpmc,page-burst-access-ns = <0>; 47*f126890aSEmmanuel Vadot gpmc,bus-turnaround-ns = <0>; 48*f126890aSEmmanuel Vadot gpmc,cycle2cycle-delay-ns = <0>; 49*f126890aSEmmanuel Vadot gpmc,wr-data-mux-bus-ns = <18>; 50*f126890aSEmmanuel Vadot gpmc,wr-access-ns = <42>; 51*f126890aSEmmanuel Vadot gpmc,cycle2cycle-samecsen; 52*f126890aSEmmanuel Vadot gpmc,cycle2cycle-diffcsen; 53*f126890aSEmmanuel Vadot 54*f126890aSEmmanuel Vadot vddvario-supply = <&vddvario>; 55*f126890aSEmmanuel Vadot vdd33a-supply = <&vdd33a>; 56*f126890aSEmmanuel Vadot reg-io-width = <4>; 57*f126890aSEmmanuel Vadot smsc,save-mac-address; 58*f126890aSEmmanuel Vadot }; 59*f126890aSEmmanuel Vadot}; 60