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 | |
Florian Vaussard | 98ef7957 | 2013-05-31 14:32:55 +0200 | [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 | c08f6e7 | 2013-06-11 16:49:49 +0200 | [diff] [blame] | 24 | linux,default-trigger = "mmc0"; |
Florian Vaussard | a135f2f | 2012-09-10 15:16:36 +0200 | [diff] [blame] | 25 | }; |
| 26 | }; |
Florian Vaussard | 250b4e1 | 2013-01-23 18:56:52 +0100 | [diff] [blame] | 27 | |
| 28 | sound { |
| 29 | compatible = "ti,omap-twl4030"; |
| 30 | ti,model = "overo"; |
| 31 | |
| 32 | ti,mcbsp = <&mcbsp2>; |
| 33 | ti,codec = <&twl_audio>; |
| 34 | }; |
Florian Vaussard | a135f2f | 2012-09-10 15:16:36 +0200 | [diff] [blame] | 35 | }; |
| 36 | |
Florian Vaussard | bc7feda | 2012-08-31 18:06:11 +0200 | [diff] [blame] | 37 | &i2c1 { |
| 38 | clock-frequency = <2600000>; |
| 39 | |
| 40 | twl: twl@48 { |
| 41 | reg = <0x48>; |
| 42 | interrupts = <7>; /* SYS_NIRQ cascaded to intc */ |
| 43 | interrupt-parent = <&intc>; |
Florian Vaussard | 250b4e1 | 2013-01-23 18:56:52 +0100 | [diff] [blame] | 44 | |
| 45 | twl_audio: audio { |
| 46 | compatible = "ti,twl4030-audio"; |
| 47 | codec { |
| 48 | }; |
| 49 | }; |
Florian Vaussard | bc7feda | 2012-08-31 18:06:11 +0200 | [diff] [blame] | 50 | }; |
| 51 | }; |
| 52 | |
Florian Vaussard | 98ef7957 | 2013-05-31 14:32:55 +0200 | [diff] [blame] | 53 | #include "twl4030.dtsi" |
Kevin Hilman | f968845 | 2013-05-31 14:09:34 -0700 | [diff] [blame] | 54 | #include "twl4030_omap3.dtsi" |
Florian Vaussard | bc7feda | 2012-08-31 18:06:11 +0200 | [diff] [blame] | 55 | |
| 56 | /* i2c2 pins are used for gpio */ |
| 57 | &i2c2 { |
| 58 | status = "disabled"; |
| 59 | }; |
| 60 | |
| 61 | /* on board microSD slot */ |
| 62 | &mmc1 { |
| 63 | vmmc-supply = <&vmmc1>; |
| 64 | bus-width = <4>; |
| 65 | }; |
| 66 | |
| 67 | /* optional on board WiFi */ |
| 68 | &mmc2 { |
| 69 | bus-width = <4>; |
| 70 | }; |
Florian Vaussard | a135f2f | 2012-09-10 15:16:36 +0200 | [diff] [blame] | 71 | |
| 72 | &twl_gpio { |
| 73 | ti,use-leds; |
| 74 | }; |
Kishon Vijay Abraham I | ad871c1 | 2013-03-07 19:05:16 +0530 | [diff] [blame] | 75 | |
| 76 | &usb_otg_hs { |
| 77 | interface-type = <0>; |
Jason Cooper | 914dc32 | 2013-05-09 09:06:57 -0700 | [diff] [blame] | 78 | usb-phy = <&usb2_phy>; |
Kishon Vijay Abraham I | ad871c1 | 2013-03-07 19:05:16 +0530 | [diff] [blame] | 79 | mode = <3>; |
| 80 | power = <50>; |
| 81 | }; |
Kevin Hilman | b859c1e | 2013-05-30 17:38:00 -0700 | [diff] [blame] | 82 | |
| 83 | &omap3_pmx_core { |
| 84 | uart3_pins: pinmux_uart3_pins { |
| 85 | pinctrl-single,pins = < |
| 86 | 0x16e (PIN_INPUT | PIN_OFF_WAKEUPENABLE | MUX_MODE0) /* uart3_rx_irrx.uart3_rx_irrx */ |
| 87 | 0x170 (PIN_OUTPUT | MUX_MODE0) /* uart3_tx_irtx.uart3_tx_irtx */ |
| 88 | >; |
| 89 | }; |
| 90 | }; |
| 91 | |
| 92 | &uart3 { |
| 93 | pinctrl-names = "default"; |
| 94 | pinctrl-0 = <&uart3_pins>; |
| 95 | }; |