blob: e7f2ac76c22679d157e44f039f335f3b386b6371 [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
Florian Vaussardbbde8f22014-03-07 20:22:12 +010024&omap3_pmx_core {
25 i2c3_pins: pinmux_i2c3_pins {
26 pinctrl-single,pins = <
27 OMAP3_CORE1_IOPAD(0x21c2, PIN_INPUT | MUX_MODE0) /* i2c3_scl.i2c3_scl */
28 OMAP3_CORE1_IOPAD(0x21c4, PIN_INPUT | MUX_MODE0) /* i2c3_sda.i2c3_sda */
29 >;
30 };
31};
32
Florian Vaussardc3fba2d2014-03-07 20:22:17 +010033#include "omap-gpmc-smsc9221.dtsi"
34
Florian Vaussardc6ef0132013-06-11 16:49:47 +020035&gpmc {
36 ranges = <5 0 0x2c000000 0x1000000>; /* CS5 */
37
Florian Vaussardc3fba2d2014-03-07 20:22:17 +010038 ethernet@gpmc {
Florian Vaussardc6ef0132013-06-11 16:49:47 +020039 reg = <5 0 0xff>;
Florian Vaussardc6ef0132013-06-11 16:49:47 +020040 interrupt-parent = <&gpio6>;
41 interrupts = <16 IRQ_TYPE_LEVEL_LOW>; /* GPIO 176 */
Florian Vaussardc6ef0132013-06-11 16:49:47 +020042 };
Florian Vaussardbc7feda2012-08-31 18:06:11 +020043};
44
45&i2c3 {
Florian Vaussardbbde8f22014-03-07 20:22:12 +010046 pinctrl-names = "default";
47 pinctrl-0 = <&i2c3_pins>;
Florian Vaussardbc7feda2012-08-31 18:06:11 +020048 clock-frequency = <100000>;
49};
50
51&mmc3 {
52 status = "disabled";
53};