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 | }; |
| 31 | }; |
| 32 | |
Florian Vaussard | c3fba2d | 2014-03-07 20:22:17 +0100 | [diff] [blame] | 33 | #include "omap-gpmc-smsc9221.dtsi" |
| 34 | |
Florian Vaussard | c6ef013 | 2013-06-11 16:49:47 +0200 | [diff] [blame] | 35 | &gpmc { |
| 36 | ranges = <5 0 0x2c000000 0x1000000>; /* CS5 */ |
| 37 | |
Florian Vaussard | c3fba2d | 2014-03-07 20:22:17 +0100 | [diff] [blame] | 38 | ethernet@gpmc { |
Florian Vaussard | c6ef013 | 2013-06-11 16:49:47 +0200 | [diff] [blame] | 39 | reg = <5 0 0xff>; |
Florian Vaussard | c6ef013 | 2013-06-11 16:49:47 +0200 | [diff] [blame] | 40 | interrupt-parent = <&gpio6>; |
| 41 | interrupts = <16 IRQ_TYPE_LEVEL_LOW>; /* GPIO 176 */ |
Florian Vaussard | c6ef013 | 2013-06-11 16:49:47 +0200 | [diff] [blame] | 42 | }; |
Florian Vaussard | bc7feda | 2012-08-31 18:06:11 +0200 | [diff] [blame] | 43 | }; |
| 44 | |
| 45 | &i2c3 { |
Florian Vaussard | bbde8f2 | 2014-03-07 20:22:12 +0100 | [diff] [blame] | 46 | pinctrl-names = "default"; |
| 47 | pinctrl-0 = <&i2c3_pins>; |
Florian Vaussard | bc7feda | 2012-08-31 18:06:11 +0200 | [diff] [blame] | 48 | clock-frequency = <100000>; |
Florian Vaussard | 7a5cfb2 | 2014-03-07 20:22:18 +0100 | [diff] [blame^] | 49 | |
| 50 | /* optional 1K EEPROM with revision information */ |
| 51 | eeprom@51 { |
| 52 | compatible = "atmel,24c01"; |
| 53 | reg = <0x51>; |
| 54 | pagesize = <8>; |
| 55 | }; |
Florian Vaussard | bc7feda | 2012-08-31 18:06:11 +0200 | [diff] [blame] | 56 | }; |
| 57 | |
| 58 | &mmc3 { |
| 59 | status = "disabled"; |
| 60 | }; |