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 | * The Gumstix Overo must be combined with an expansion board. |
| 11 | */ |
| 12 | /dts-v1/; |
| 13 | |
| 14 | /include/ "omap3.dtsi" |
| 15 | |
Florian Vaussard | a135f2f | 2012-09-10 15:16:36 +0200 | [diff] [blame] | 16 | / { |
| 17 | leds { |
| 18 | compatible = "gpio-leds"; |
| 19 | overo { |
| 20 | label = "overo:blue:COM"; |
| 21 | gpios = <&twl_gpio 19 0>; |
| 22 | linux,default-trigger = "mmc0"; |
| 23 | }; |
| 24 | }; |
| 25 | }; |
| 26 | |
Florian Vaussard | bc7feda | 2012-08-31 18:06:11 +0200 | [diff] [blame] | 27 | &i2c1 { |
| 28 | clock-frequency = <2600000>; |
| 29 | |
| 30 | twl: twl@48 { |
| 31 | reg = <0x48>; |
| 32 | interrupts = <7>; /* SYS_NIRQ cascaded to intc */ |
| 33 | interrupt-parent = <&intc>; |
| 34 | }; |
| 35 | }; |
| 36 | |
| 37 | /include/ "twl4030.dtsi" |
| 38 | |
| 39 | /* i2c2 pins are used for gpio */ |
| 40 | &i2c2 { |
| 41 | status = "disabled"; |
| 42 | }; |
| 43 | |
| 44 | /* on board microSD slot */ |
| 45 | &mmc1 { |
| 46 | vmmc-supply = <&vmmc1>; |
| 47 | bus-width = <4>; |
| 48 | }; |
| 49 | |
| 50 | /* optional on board WiFi */ |
| 51 | &mmc2 { |
| 52 | bus-width = <4>; |
| 53 | }; |
Florian Vaussard | a135f2f | 2012-09-10 15:16:36 +0200 | [diff] [blame] | 54 | |
| 55 | &twl_gpio { |
| 56 | ti,use-leds; |
| 57 | }; |