blob: c742afaa2c267c1bf46c680da79db24b2629e51e [file] [log] [blame]
Florian Vaussardbc7feda2012-08-31 18:06:11 +02001/*
2 * Copyright (C) 2012 Florian Vaussard, EPFL Mobots group
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 * Tobi expansion board is manufactured by Gumstix Inc.
11 */
12
Florian Vaussarddf1a29f2014-02-13 11:25:13 +010013/dts-v1/;
14
15#include "omap36xx.dtsi"
Florian Vaussard98ef79572013-05-31 14:32:55 +020016#include "omap3-overo.dtsi"
Florian Vaussardbc7feda2012-08-31 18:06:11 +020017
18/ {
19 model = "TI OMAP3 Gumstix Overo on Tobi";
Florian Vaussard1ce64822014-02-13 11:25:14 +010020 compatible = "gumstix,omap3-tobi", "gumstix,omap3-overo", "ti,omap36xx", "ti,omap3";
Florian Vaussardbc7feda2012-08-31 18:06:11 +020021
22 leds {
23 compatible = "gpio-leds";
24 heartbeat {
25 label = "overo:red:gpio21";
Florian Vaussard212ae082013-06-11 16:49:48 +020026 gpios = <&gpio1 21 GPIO_ACTIVE_LOW>;
Florian Vaussardbc7feda2012-08-31 18:06:11 +020027 linux,default-trigger = "heartbeat";
28 };
29 };
Florian Vaussardc6ef0132013-06-11 16:49:47 +020030
31 vddvario: regulator-vddvario {
32 compatible = "regulator-fixed";
33 regulator-name = "vddvario";
34 regulator-always-on;
35 };
36
37 vdd33a: regulator-vdd33a {
38 compatible = "regulator-fixed";
39 regulator-name = "vdd33a";
40 regulator-always-on;
41 };
42};
43
44&gpmc {
45 ranges = <5 0 0x2c000000 0x1000000>; /* CS5 */
46
47 ethernet@5,0 {
48 compatible = "smsc,lan9221", "smsc,lan9115";
49 reg = <5 0 0xff>;
50 bank-width = <2>;
51
52 gpmc,mux-add-data;
53 gpmc,cs-on-ns = <0>;
54 gpmc,cs-rd-off-ns = <42>;
55 gpmc,cs-wr-off-ns = <36>;
56 gpmc,adv-on-ns = <6>;
57 gpmc,adv-rd-off-ns = <12>;
58 gpmc,adv-wr-off-ns = <12>;
59 gpmc,oe-on-ns = <0>;
60 gpmc,oe-off-ns = <42>;
61 gpmc,we-on-ns = <0>;
62 gpmc,we-off-ns = <36>;
63 gpmc,rd-cycle-ns = <60>;
64 gpmc,wr-cycle-ns = <54>;
65 gpmc,access-ns = <36>;
66 gpmc,page-burst-access-ns = <0>;
67 gpmc,bus-turnaround-ns = <0>;
68 gpmc,cycle2cycle-delay-ns = <0>;
69 gpmc,wr-data-mux-bus-ns = <18>;
70 gpmc,wr-access-ns = <42>;
71 gpmc,cycle2cycle-samecsen;
72 gpmc,cycle2cycle-diffcsen;
73
74 interrupt-parent = <&gpio6>;
75 interrupts = <16 IRQ_TYPE_LEVEL_LOW>; /* GPIO 176 */
76 reg-io-width = <4>;
77 };
Florian Vaussardbc7feda2012-08-31 18:06:11 +020078};
79
80&i2c3 {
81 clock-frequency = <100000>;
82};
83
84&mmc3 {
85 status = "disabled";
86};