blob: 384e87d7f3bb219cf03b24f49c2835f21182715a [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 };
Florian Vaussard1afb8972014-03-07 20:22:19 +010031
32 uart3_pins: pinmux_uart3_pins {
33 pinctrl-single,pins = <
34 OMAP3_CORE1_IOPAD(0x219e, PIN_INPUT | PIN_OFF_WAKEUPENABLE | MUX_MODE0) /* uart3_rx_irrx.uart3_rx_irrx */
35 OMAP3_CORE1_IOPAD(0x21a0, PIN_OUTPUT | MUX_MODE0) /* uart3_tx_irtx.uart3_tx_irtx */
36 >;
37 };
Florian Vaussardbbde8f22014-03-07 20:22:12 +010038};
39
Florian Vaussardc3fba2d2014-03-07 20:22:17 +010040#include "omap-gpmc-smsc9221.dtsi"
41
Florian Vaussardc6ef0132013-06-11 16:49:47 +020042&gpmc {
43 ranges = <5 0 0x2c000000 0x1000000>; /* CS5 */
44
Florian Vaussardc3fba2d2014-03-07 20:22:17 +010045 ethernet@gpmc {
Florian Vaussardc6ef0132013-06-11 16:49:47 +020046 reg = <5 0 0xff>;
Florian Vaussardc6ef0132013-06-11 16:49:47 +020047 interrupt-parent = <&gpio6>;
48 interrupts = <16 IRQ_TYPE_LEVEL_LOW>; /* GPIO 176 */
Florian Vaussardc6ef0132013-06-11 16:49:47 +020049 };
Florian Vaussardbc7feda2012-08-31 18:06:11 +020050};
51
52&i2c3 {
Florian Vaussardbbde8f22014-03-07 20:22:12 +010053 pinctrl-names = "default";
54 pinctrl-0 = <&i2c3_pins>;
Florian Vaussardbc7feda2012-08-31 18:06:11 +020055 clock-frequency = <100000>;
Florian Vaussard7a5cfb22014-03-07 20:22:18 +010056
57 /* optional 1K EEPROM with revision information */
58 eeprom@51 {
59 compatible = "atmel,24c01";
60 reg = <0x51>;
61 pagesize = <8>;
62 };
Florian Vaussardbc7feda2012-08-31 18:06:11 +020063};
64
65&mmc3 {
66 status = "disabled";
67};
Florian Vaussard1afb8972014-03-07 20:22:19 +010068
69&uart3 {
70 pinctrl-names = "default";
71 pinctrl-0 = <&uart3_pins>;
72};
73