blob: 597099907f8ef77423210bcf6cb2be26f8799eb5 [file] [log] [blame]
Florian Vaussardbc7feda2012-08-31 18:06:11 +02001/*
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 */
Florian Vaussardbc7feda2012-08-31 18:06:11 +020012
Florian Vaussarda135f2f2012-09-10 15:16:36 +020013/ {
Florian Vaussardbb1dea32013-01-23 18:56:51 +010014 pwmleds {
15 compatible = "pwm-leds";
16
Florian Vaussarda135f2f2012-09-10 15:16:36 +020017 overo {
18 label = "overo:blue:COM";
Florian Vaussardbb1dea32013-01-23 18:56:51 +010019 pwms = <&twl_pwmled 1 7812500>;
20 max-brightness = <127>;
Florian Vaussardc08f6e72013-06-11 16:49:49 +020021 linux,default-trigger = "mmc0";
Florian Vaussarda135f2f2012-09-10 15:16:36 +020022 };
23 };
Florian Vaussard250b4e12013-01-23 18:56:52 +010024
25 sound {
26 compatible = "ti,omap-twl4030";
27 ti,model = "overo";
28
29 ti,mcbsp = <&mcbsp2>;
30 ti,codec = <&twl_audio>;
31 };
Florian Vaussarda135f2f2012-09-10 15:16:36 +020032};
33
Florian Vaussardbc7feda2012-08-31 18:06:11 +020034&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>;
Florian Vaussard250b4e12013-01-23 18:56:52 +010041
42 twl_audio: audio {
43 compatible = "ti,twl4030-audio";
44 codec {
45 };
46 };
Florian Vaussardbc7feda2012-08-31 18:06:11 +020047 };
48};
49
Florian Vaussard98ef79572013-05-31 14:32:55 +020050#include "twl4030.dtsi"
Kevin Hilmanf9688452013-05-31 14:09:34 -070051#include "twl4030_omap3.dtsi"
Florian Vaussardbc7feda2012-08-31 18:06:11 +020052
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};
Florian Vaussarda135f2f2012-09-10 15:16:36 +020068
69&twl_gpio {
70 ti,use-leds;
71};
Kishon Vijay Abraham Iad871c12013-03-07 19:05:16 +053072
73&usb_otg_hs {
74 interface-type = <0>;
Jason Cooper914dc322013-05-09 09:06:57 -070075 usb-phy = <&usb2_phy>;
Kishon Vijay Abraham I975d9632013-09-27 11:53:29 +053076 phys = <&usb2_phy>;
77 phy-names = "usb2-phy";
Kishon Vijay Abraham Iad871c12013-03-07 19:05:16 +053078 mode = <3>;
79 power = <50>;
80};
Kevin Hilmanb859c1e2013-05-30 17:38:00 -070081
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};