blob: 7375cda0f5c961c13343bc773c7710751d856bab [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 Vaussardbc7feda2012-08-31 18:06:11 +020013/ {
Florian Vaussardbc7feda2012-08-31 18:06:11 +020014 leds {
15 compatible = "gpio-leds";
16 heartbeat {
17 label = "overo:red:gpio21";
Florian Vaussard212ae082013-06-11 16:49:48 +020018 gpios = <&gpio1 21 GPIO_ACTIVE_LOW>;
Florian Vaussardbc7feda2012-08-31 18:06:11 +020019 linux,default-trigger = "heartbeat";
20 };
21 };
Florian Vaussardc6ef0132013-06-11 16:49:47 +020022
23 vddvario: regulator-vddvario {
24 compatible = "regulator-fixed";
25 regulator-name = "vddvario";
26 regulator-always-on;
27 };
28
29 vdd33a: regulator-vdd33a {
30 compatible = "regulator-fixed";
31 regulator-name = "vdd33a";
32 regulator-always-on;
33 };
34};
35
Florian Vaussardbbde8f22014-03-07 20:22:12 +010036&omap3_pmx_core {
37 i2c3_pins: pinmux_i2c3_pins {
38 pinctrl-single,pins = <
39 OMAP3_CORE1_IOPAD(0x21c2, PIN_INPUT | MUX_MODE0) /* i2c3_scl.i2c3_scl */
40 OMAP3_CORE1_IOPAD(0x21c4, PIN_INPUT | MUX_MODE0) /* i2c3_sda.i2c3_sda */
41 >;
42 };
43};
44
Florian Vaussardc6ef0132013-06-11 16:49:47 +020045&gpmc {
46 ranges = <5 0 0x2c000000 0x1000000>; /* CS5 */
47
48 ethernet@5,0 {
49 compatible = "smsc,lan9221", "smsc,lan9115";
50 reg = <5 0 0xff>;
51 bank-width = <2>;
52
53 gpmc,mux-add-data;
54 gpmc,cs-on-ns = <0>;
55 gpmc,cs-rd-off-ns = <42>;
56 gpmc,cs-wr-off-ns = <36>;
57 gpmc,adv-on-ns = <6>;
58 gpmc,adv-rd-off-ns = <12>;
59 gpmc,adv-wr-off-ns = <12>;
60 gpmc,oe-on-ns = <0>;
61 gpmc,oe-off-ns = <42>;
62 gpmc,we-on-ns = <0>;
63 gpmc,we-off-ns = <36>;
64 gpmc,rd-cycle-ns = <60>;
65 gpmc,wr-cycle-ns = <54>;
66 gpmc,access-ns = <36>;
67 gpmc,page-burst-access-ns = <0>;
68 gpmc,bus-turnaround-ns = <0>;
69 gpmc,cycle2cycle-delay-ns = <0>;
70 gpmc,wr-data-mux-bus-ns = <18>;
71 gpmc,wr-access-ns = <42>;
72 gpmc,cycle2cycle-samecsen;
73 gpmc,cycle2cycle-diffcsen;
74
75 interrupt-parent = <&gpio6>;
76 interrupts = <16 IRQ_TYPE_LEVEL_LOW>; /* GPIO 176 */
77 reg-io-width = <4>;
78 };
Florian Vaussardbc7feda2012-08-31 18:06:11 +020079};
80
81&i2c3 {
Florian Vaussardbbde8f22014-03-07 20:22:12 +010082 pinctrl-names = "default";
83 pinctrl-0 = <&i2c3_pins>;
Florian Vaussardbc7feda2012-08-31 18:06:11 +020084 clock-frequency = <100000>;
85};
86
87&mmc3 {
88 status = "disabled";
89};