Commit | Line | Data |
---|---|---|
72f5d5d5 AC |
1 | /* |
2 | * Copyright (C) 2015 Ash Charles, Gumstix, Inc. | |
3 | * | |
4 | * This program is free software; you can redistribute it and/or modify | |
5 | * it under the terms of the GNU General Public License version 2 as | |
6 | * published by the Free Software Foundation. | |
7 | */ | |
8 | ||
9 | /* | |
10 | * TobiDuo expansion board is manufactured by Gumstix Inc. | |
11 | */ | |
12 | ||
13 | #include "omap3-overo-common-peripherals.dtsi" | |
14 | ||
15 | #include "omap-gpmc-smsc9221.dtsi" | |
16 | ||
17 | &gpmc { | |
72f5d5d5 AC |
18 | smsc1: ethernet@gpmc { |
19 | reg = <5 0 0xff>; | |
20 | interrupt-parent = <&gpio6>; | |
21 | interrupts = <16 IRQ_TYPE_LEVEL_LOW>; /* GPIO 176 */ | |
22 | }; | |
23 | ||
24 | smsc2: ethernet@4,0 { | |
25 | compatible = "smsc,lan9221","smsc,lan9115"; | |
26 | bank-width = <2>; | |
27 | ||
28 | gpmc,mux-add-data; | |
29 | gpmc,cs-on-ns = <0>; | |
30 | gpmc,cs-rd-off-ns = <42>; | |
31 | gpmc,cs-wr-off-ns = <36>; | |
32 | gpmc,adv-on-ns = <6>; | |
33 | gpmc,adv-rd-off-ns = <12>; | |
34 | gpmc,adv-wr-off-ns = <12>; | |
35 | gpmc,oe-on-ns = <0>; | |
36 | gpmc,oe-off-ns = <42>; | |
37 | gpmc,we-on-ns = <0>; | |
38 | gpmc,we-off-ns = <36>; | |
39 | gpmc,rd-cycle-ns = <60>; | |
40 | gpmc,wr-cycle-ns = <54>; | |
41 | gpmc,access-ns = <36>; | |
42 | gpmc,page-burst-access-ns = <0>; | |
43 | gpmc,bus-turnaround-ns = <0>; | |
44 | gpmc,cycle2cycle-delay-ns = <0>; | |
45 | gpmc,wr-data-mux-bus-ns = <18>; | |
46 | gpmc,wr-access-ns = <42>; | |
47 | gpmc,cycle2cycle-samecsen; | |
48 | gpmc,cycle2cycle-diffcsen; | |
49 | vddvario-supply = <&vddvario>; | |
50 | vdd33a-supply = <&vdd33a>; | |
51 | reg-io-width = <4>; | |
52 | smsc,save-mac-address; | |
53 | ||
54 | reg = <4 0 0xff>; | |
55 | interrupt-parent = <&gpio3>; | |
56 | interrupts = <1 IRQ_TYPE_LEVEL_LOW>; /* GPIO 65 */ | |
57 | }; | |
58 | }; | |
59 | ||
60 | &lis33de { | |
61 | status = "disabled"; | |
62 | }; |