Florian Vaussard | bc7feda | 2012-08-31 18:06:11 +0200 | [diff] [blame] | 1 | /* |
| 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 Vaussard | bc7feda | 2012-08-31 18:06:11 +0200 | [diff] [blame] | 13 | / { |
Florian Vaussard | bc7feda | 2012-08-31 18:06:11 +0200 | [diff] [blame] | 14 | leds { |
| 15 | compatible = "gpio-leds"; |
| 16 | heartbeat { |
| 17 | label = "overo:red:gpio21"; |
Florian Vaussard | 212ae08 | 2013-06-11 16:49:48 +0200 | [diff] [blame] | 18 | gpios = <&gpio1 21 GPIO_ACTIVE_LOW>; |
Florian Vaussard | bc7feda | 2012-08-31 18:06:11 +0200 | [diff] [blame] | 19 | linux,default-trigger = "heartbeat"; |
| 20 | }; |
| 21 | }; |
Florian Vaussard | c6ef013 | 2013-06-11 16:49:47 +0200 | [diff] [blame] | 22 | }; |
| 23 | |
Florian Vaussard | bbde8f2 | 2014-03-07 20:22:12 +0100 | [diff] [blame] | 24 | &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 Vaussard | 1afb897 | 2014-03-07 20:22:19 +0100 | [diff] [blame^] | 31 | |
| 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 Vaussard | bbde8f2 | 2014-03-07 20:22:12 +0100 | [diff] [blame] | 38 | }; |
| 39 | |
Florian Vaussard | c3fba2d | 2014-03-07 20:22:17 +0100 | [diff] [blame] | 40 | #include "omap-gpmc-smsc9221.dtsi" |
| 41 | |
Florian Vaussard | c6ef013 | 2013-06-11 16:49:47 +0200 | [diff] [blame] | 42 | &gpmc { |
| 43 | ranges = <5 0 0x2c000000 0x1000000>; /* CS5 */ |
| 44 | |
Florian Vaussard | c3fba2d | 2014-03-07 20:22:17 +0100 | [diff] [blame] | 45 | ethernet@gpmc { |
Florian Vaussard | c6ef013 | 2013-06-11 16:49:47 +0200 | [diff] [blame] | 46 | reg = <5 0 0xff>; |
Florian Vaussard | c6ef013 | 2013-06-11 16:49:47 +0200 | [diff] [blame] | 47 | interrupt-parent = <&gpio6>; |
| 48 | interrupts = <16 IRQ_TYPE_LEVEL_LOW>; /* GPIO 176 */ |
Florian Vaussard | c6ef013 | 2013-06-11 16:49:47 +0200 | [diff] [blame] | 49 | }; |
Florian Vaussard | bc7feda | 2012-08-31 18:06:11 +0200 | [diff] [blame] | 50 | }; |
| 51 | |
| 52 | &i2c3 { |
Florian Vaussard | bbde8f2 | 2014-03-07 20:22:12 +0100 | [diff] [blame] | 53 | pinctrl-names = "default"; |
| 54 | pinctrl-0 = <&i2c3_pins>; |
Florian Vaussard | bc7feda | 2012-08-31 18:06:11 +0200 | [diff] [blame] | 55 | clock-frequency = <100000>; |
Florian Vaussard | 7a5cfb2 | 2014-03-07 20:22:18 +0100 | [diff] [blame] | 56 | |
| 57 | /* optional 1K EEPROM with revision information */ |
| 58 | eeprom@51 { |
| 59 | compatible = "atmel,24c01"; |
| 60 | reg = <0x51>; |
| 61 | pagesize = <8>; |
| 62 | }; |
Florian Vaussard | bc7feda | 2012-08-31 18:06:11 +0200 | [diff] [blame] | 63 | }; |
| 64 | |
| 65 | &mmc3 { |
| 66 | status = "disabled"; |
| 67 | }; |
Florian Vaussard | 1afb897 | 2014-03-07 20:22:19 +0100 | [diff] [blame^] | 68 | |
| 69 | &uart3 { |
| 70 | pinctrl-names = "default"; |
| 71 | pinctrl-0 = <&uart3_pins>; |
| 72 | }; |
| 73 | |