blob: 445fafc732543a15bc50b0a39a362b63ebc325ab [file] [log] [blame]
Tony Lindgren6b2978a2013-10-14 11:31:42 -07001/*
2 * Common file for GPMC connected smsc911x on omaps
3 *
4 * Note that the board specifc DTS file needs to specify
5 * ranges, pinctrl, reg, interrupt parent and interrupts.
6 */
7
8/ {
9 vddvario: regulator-vddvario {
10 compatible = "regulator-fixed";
11 regulator-name = "vddvario";
12 regulator-always-on;
13 };
14
15 vdd33a: regulator-vdd33a {
16 compatible = "regulator-fixed";
17 regulator-name = "vdd33a";
18 regulator-always-on;
19 };
20};
21
22&gpmc {
23 ethernet@gpmc {
24 compatible = "smsc,lan9221", "smsc,lan9115";
25 bank-width = <2>;
Tony Lindgren13aec8e2014-11-03 16:48:16 -080026 gpmc,device-width = <1>;
27 gpmc,cycle2cycle-samecsen = <1>;
28 gpmc,cycle2cycle-diffcsen = <1>;
29 gpmc,cs-on-ns = <5>;
30 gpmc,cs-rd-off-ns = <150>;
31 gpmc,cs-wr-off-ns = <150>;
32 gpmc,adv-on-ns = <0>;
33 gpmc,adv-rd-off-ns = <15>;
34 gpmc,adv-wr-off-ns = <40>;
35 gpmc,oe-on-ns = <45>;
36 gpmc,oe-off-ns = <140>;
37 gpmc,we-on-ns = <45>;
38 gpmc,we-off-ns = <140>;
39 gpmc,rd-cycle-ns = <155>;
40 gpmc,wr-cycle-ns = <155>;
41 gpmc,access-ns = <120>;
42 gpmc,page-burst-access-ns = <20>;
43 gpmc,bus-turnaround-ns = <75>;
44 gpmc,cycle2cycle-delay-ns = <75>;
45 gpmc,wait-monitoring-ns = <0>;
46 gpmc,clk-activation-ns = <0>;
47 gpmc,wr-data-mux-bus-ns = <0>;
48 gpmc,wr-access-ns = <0>;
Florian Vaussardac46bf32013-12-02 11:38:15 -080049 vddvario-supply = <&vddvario>;
50 vdd33a-supply = <&vdd33a>;
Tony Lindgren6b2978a2013-10-14 11:31:42 -070051 reg-io-width = <4>;
52 smsc,save-mac-address;
53 };
54};