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 | / { |
Florian Vaussard | bb1dea3 | 2013-01-23 18:56:51 +0100 | [diff] [blame^] | 17 | pwmleds { |
| 18 | compatible = "pwm-leds"; |
| 19 | |
Florian Vaussard | a135f2f | 2012-09-10 15:16:36 +0200 | [diff] [blame] | 20 | overo { |
| 21 | label = "overo:blue:COM"; |
Florian Vaussard | bb1dea3 | 2013-01-23 18:56:51 +0100 | [diff] [blame^] | 22 | pwms = <&twl_pwmled 1 7812500>; |
| 23 | max-brightness = <127>; |
Florian Vaussard | a135f2f | 2012-09-10 15:16:36 +0200 | [diff] [blame] | 24 | }; |
| 25 | }; |
| 26 | }; |
| 27 | |
Florian Vaussard | bc7feda | 2012-08-31 18:06:11 +0200 | [diff] [blame] | 28 | &i2c1 { |
| 29 | clock-frequency = <2600000>; |
| 30 | |
| 31 | twl: twl@48 { |
| 32 | reg = <0x48>; |
| 33 | interrupts = <7>; /* SYS_NIRQ cascaded to intc */ |
| 34 | interrupt-parent = <&intc>; |
| 35 | }; |
| 36 | }; |
| 37 | |
| 38 | /include/ "twl4030.dtsi" |
| 39 | |
| 40 | /* i2c2 pins are used for gpio */ |
| 41 | &i2c2 { |
| 42 | status = "disabled"; |
| 43 | }; |
| 44 | |
| 45 | /* on board microSD slot */ |
| 46 | &mmc1 { |
| 47 | vmmc-supply = <&vmmc1>; |
| 48 | bus-width = <4>; |
| 49 | }; |
| 50 | |
| 51 | /* optional on board WiFi */ |
| 52 | &mmc2 { |
| 53 | bus-width = <4>; |
| 54 | }; |
Florian Vaussard | a135f2f | 2012-09-10 15:16:36 +0200 | [diff] [blame] | 55 | |
| 56 | &twl_gpio { |
| 57 | ti,use-leds; |
| 58 | }; |