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 | |
Nishanth Menon | 1e633d7 | 2013-03-19 12:53:03 -0500 | [diff] [blame] | 14 | /include/ "omap34xx.dtsi" |
Florian Vaussard | bc7feda | 2012-08-31 18:06:11 +0200 | [diff] [blame] | 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 | }; |
Florian Vaussard | 250b4e1 | 2013-01-23 18:56:52 +0100 | [diff] [blame] | 26 | |
| 27 | sound { |
| 28 | compatible = "ti,omap-twl4030"; |
| 29 | ti,model = "overo"; |
| 30 | |
| 31 | ti,mcbsp = <&mcbsp2>; |
| 32 | ti,codec = <&twl_audio>; |
| 33 | }; |
Florian Vaussard | a135f2f | 2012-09-10 15:16:36 +0200 | [diff] [blame] | 34 | }; |
| 35 | |
Florian Vaussard | bc7feda | 2012-08-31 18:06:11 +0200 | [diff] [blame] | 36 | &i2c1 { |
| 37 | clock-frequency = <2600000>; |
| 38 | |
| 39 | twl: twl@48 { |
| 40 | reg = <0x48>; |
| 41 | interrupts = <7>; /* SYS_NIRQ cascaded to intc */ |
| 42 | interrupt-parent = <&intc>; |
Florian Vaussard | 250b4e1 | 2013-01-23 18:56:52 +0100 | [diff] [blame] | 43 | |
| 44 | twl_audio: audio { |
| 45 | compatible = "ti,twl4030-audio"; |
| 46 | codec { |
| 47 | }; |
| 48 | }; |
Florian Vaussard | bc7feda | 2012-08-31 18:06:11 +0200 | [diff] [blame] | 49 | }; |
| 50 | }; |
| 51 | |
| 52 | /include/ "twl4030.dtsi" |
| 53 | |
| 54 | /* i2c2 pins are used for gpio */ |
| 55 | &i2c2 { |
| 56 | status = "disabled"; |
| 57 | }; |
| 58 | |
| 59 | /* on board microSD slot */ |
| 60 | &mmc1 { |
| 61 | vmmc-supply = <&vmmc1>; |
| 62 | bus-width = <4>; |
| 63 | }; |
| 64 | |
| 65 | /* optional on board WiFi */ |
| 66 | &mmc2 { |
| 67 | bus-width = <4>; |
| 68 | }; |
Florian Vaussard | a135f2f | 2012-09-10 15:16:36 +0200 | [diff] [blame] | 69 | |
| 70 | &twl_gpio { |
| 71 | ti,use-leds; |
| 72 | }; |
Kishon Vijay Abraham I | ad871c1 | 2013-03-07 19:05:16 +0530 | [diff] [blame] | 73 | |
| 74 | &usb_otg_hs { |
| 75 | interface-type = <0>; |
Jason Cooper | 914dc32 | 2013-05-09 09:06:57 -0700 | [diff] [blame] | 76 | usb-phy = <&usb2_phy>; |
Kishon Vijay Abraham I | ad871c1 | 2013-03-07 19:05:16 +0530 | [diff] [blame] | 77 | mode = <3>; |
| 78 | power = <50>; |
| 79 | }; |