]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - arch/arm/boot/dts/omap3-overo-tobiduo-common.dtsi
Merge remote-tracking branch 'access_once/linux-next'
[karo-tx-linux.git] / arch / arm / boot / dts / omap3-overo-tobiduo-common.dtsi
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 {
18         ranges = <4 0 0x2b000000 0x1000000>,    /* CS4 */
19                  <5 0 0x2c000000 0x1000000>;    /* CS5 */
20
21         smsc1: ethernet@gpmc {
22                 reg = <5 0 0xff>;
23                 interrupt-parent = <&gpio6>;
24                 interrupts = <16 IRQ_TYPE_LEVEL_LOW>;   /* GPIO 176 */
25         };
26
27         smsc2: ethernet@4,0 {
28                 compatible = "smsc,lan9221","smsc,lan9115";
29                 bank-width = <2>;
30
31                 gpmc,mux-add-data;
32                 gpmc,cs-on-ns = <0>;
33                 gpmc,cs-rd-off-ns = <42>;
34                 gpmc,cs-wr-off-ns = <36>;
35                 gpmc,adv-on-ns = <6>;
36                 gpmc,adv-rd-off-ns = <12>;
37                 gpmc,adv-wr-off-ns = <12>;
38                 gpmc,oe-on-ns = <0>;
39                 gpmc,oe-off-ns = <42>;
40                 gpmc,we-on-ns = <0>;
41                 gpmc,we-off-ns = <36>;
42                 gpmc,rd-cycle-ns = <60>;
43                 gpmc,wr-cycle-ns = <54>;
44                 gpmc,access-ns = <36>;
45                 gpmc,page-burst-access-ns = <0>;
46                 gpmc,bus-turnaround-ns = <0>;
47                 gpmc,cycle2cycle-delay-ns = <0>;
48                 gpmc,wr-data-mux-bus-ns = <18>;
49                 gpmc,wr-access-ns = <42>;
50                 gpmc,cycle2cycle-samecsen;
51                 gpmc,cycle2cycle-diffcsen;
52                 vddvario-supply = <&vddvario>;
53                 vdd33a-supply = <&vdd33a>;
54                 reg-io-width = <4>;
55                 smsc,save-mac-address;
56
57                 reg = <4 0 0xff>;
58                 interrupt-parent = <&gpio3>;
59                 interrupts = <1 IRQ_TYPE_LEVEL_LOW>;    /* GPIO 65 */
60         };
61 };
62
63 &lis33de {
64         status = "disabled";
65 };