blob: f577b7df9a29e4f5f4e74ca86aef4b4ba61ceb87 [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>;
26 gpmc,mux-add-data;
27 gpmc,cs-on-ns = <0>;
28 gpmc,cs-rd-off-ns = <186>;
29 gpmc,cs-wr-off-ns = <186>;
30 gpmc,adv-on-ns = <12>;
31 gpmc,adv-rd-off-ns = <48>;
32 gpmc,adv-wr-off-ns = <48>;
33 gpmc,oe-on-ns = <54>;
34 gpmc,oe-off-ns = <168>;
35 gpmc,we-on-ns = <54>;
36 gpmc,we-off-ns = <168>;
37 gpmc,rd-cycle-ns = <186>;
38 gpmc,wr-cycle-ns = <186>;
39 gpmc,access-ns = <114>;
40 gpmc,page-burst-access-ns = <6>;
41 gpmc,bus-turnaround-ns = <12>;
42 gpmc,cycle2cycle-delay-ns = <18>;
43 gpmc,wr-data-mux-bus-ns = <90>;
44 gpmc,wr-access-ns = <186>;
45 gpmc,cycle2cycle-samecsen;
46 gpmc,cycle2cycle-diffcsen;
Florian Vaussardac46bf32013-12-02 11:38:15 -080047 vddvario-supply = <&vddvario>;
48 vdd33a-supply = <&vdd33a>;
Tony Lindgren6b2978a2013-10-14 11:31:42 -070049 reg-io-width = <4>;
50 smsc,save-mac-address;
51 };
52};