]> git.ipfire.org Git - people/arne_f/kernel.git/blob - arch/arm/boot/dts/omap3-overo.dtsi
sun7i: dts: add bananapro.
[people/arne_f/kernel.git] / arch / arm / boot / dts / omap3-overo.dtsi
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
13 / {
14 pwmleds {
15 compatible = "pwm-leds";
16
17 overo {
18 label = "overo:blue:COM";
19 pwms = <&twl_pwmled 1 7812500>;
20 max-brightness = <127>;
21 linux,default-trigger = "mmc0";
22 };
23 };
24
25 sound {
26 compatible = "ti,omap-twl4030";
27 ti,model = "overo";
28
29 ti,mcbsp = <&mcbsp2>;
30 ti,codec = <&twl_audio>;
31 };
32 };
33
34 &i2c1 {
35 clock-frequency = <2600000>;
36
37 twl: twl@48 {
38 reg = <0x48>;
39 interrupts = <7>; /* SYS_NIRQ cascaded to intc */
40 interrupt-parent = <&intc>;
41
42 twl_audio: audio {
43 compatible = "ti,twl4030-audio";
44 codec {
45 };
46 };
47 };
48 };
49
50 #include "twl4030.dtsi"
51 #include "twl4030_omap3.dtsi"
52
53 /* i2c2 pins are used for gpio */
54 &i2c2 {
55 status = "disabled";
56 };
57
58 /* on board microSD slot */
59 &mmc1 {
60 vmmc-supply = <&vmmc1>;
61 bus-width = <4>;
62 };
63
64 /* optional on board WiFi */
65 &mmc2 {
66 bus-width = <4>;
67 };
68
69 &twl_gpio {
70 ti,use-leds;
71 };
72
73 &usb_otg_hs {
74 interface-type = <0>;
75 usb-phy = <&usb2_phy>;
76 phys = <&usb2_phy>;
77 phy-names = "usb2-phy";
78 mode = <3>;
79 power = <50>;
80 };
81
82 &omap3_pmx_core {
83 uart3_pins: pinmux_uart3_pins {
84 pinctrl-single,pins = <
85 0x16e (PIN_INPUT | PIN_OFF_WAKEUPENABLE | MUX_MODE0) /* uart3_rx_irrx.uart3_rx_irrx */
86 0x170 (PIN_OUTPUT | MUX_MODE0) /* uart3_tx_irtx.uart3_tx_irtx */
87 >;
88 };
89 };
90
91 &uart3 {
92 pinctrl-names = "default";
93 pinctrl-0 = <&uart3_pins>;
94 };