Commit | Line | Data |
---|---|---|
bc7fedad FV |
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 | ||
98ef7957 | 14 | #include "omap34xx.dtsi" |
bc7fedad | 15 | |
a135f2f8 | 16 | / { |
bb1dea3b FV |
17 | pwmleds { |
18 | compatible = "pwm-leds"; | |
19 | ||
a135f2f8 FV |
20 | overo { |
21 | label = "overo:blue:COM"; | |
bb1dea3b FV |
22 | pwms = <&twl_pwmled 1 7812500>; |
23 | max-brightness = <127>; | |
c08f6e74 | 24 | linux,default-trigger = "mmc0"; |
a135f2f8 FV |
25 | }; |
26 | }; | |
250b4e11 FV |
27 | |
28 | sound { | |
29 | compatible = "ti,omap-twl4030"; | |
30 | ti,model = "overo"; | |
31 | ||
32 | ti,mcbsp = <&mcbsp2>; | |
33 | ti,codec = <&twl_audio>; | |
34 | }; | |
a135f2f8 FV |
35 | }; |
36 | ||
bc7fedad FV |
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>; | |
250b4e11 FV |
44 | |
45 | twl_audio: audio { | |
46 | compatible = "ti,twl4030-audio"; | |
47 | codec { | |
48 | }; | |
49 | }; | |
bc7fedad FV |
50 | }; |
51 | }; | |
52 | ||
98ef7957 | 53 | #include "twl4030.dtsi" |
f9688457 | 54 | #include "twl4030_omap3.dtsi" |
bc7fedad FV |
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 | }; | |
a135f2f8 FV |
71 | |
72 | &twl_gpio { | |
73 | ti,use-leds; | |
74 | }; | |
ad871c10 KVA |
75 | |
76 | &usb_otg_hs { | |
77 | interface-type = <0>; | |
914dc329 | 78 | usb-phy = <&usb2_phy>; |
975d963e KVA |
79 | phys = <&usb2_phy>; |
80 | phy-names = "usb2-phy"; | |
ad871c10 KVA |
81 | mode = <3>; |
82 | power = <50>; | |
83 | }; | |
b859c1ef KH |
84 | |
85 | &omap3_pmx_core { | |
86 | uart3_pins: pinmux_uart3_pins { | |
87 | pinctrl-single,pins = < | |
88 | 0x16e (PIN_INPUT | PIN_OFF_WAKEUPENABLE | MUX_MODE0) /* uart3_rx_irrx.uart3_rx_irrx */ | |
89 | 0x170 (PIN_OUTPUT | MUX_MODE0) /* uart3_tx_irtx.uart3_tx_irtx */ | |
90 | >; | |
91 | }; | |
92 | }; | |
93 | ||
94 | &uart3 { | |
95 | pinctrl-names = "default"; | |
96 | pinctrl-0 = <&uart3_pins>; | |
97 | }; |