blob: 4bc7889650358e6b2d3c2622cb1fc865afccf1c2 [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 */
12/dts-v1/;
13
Florian Vaussard98ef79572013-05-31 14:32:55 +020014#include "omap34xx.dtsi"
Florian Vaussardbc7feda2012-08-31 18:06:11 +020015
Florian Vaussarda135f2f2012-09-10 15:16:36 +020016/ {
Florian Vaussardbb1dea32013-01-23 18:56:51 +010017 pwmleds {
18 compatible = "pwm-leds";
19
Florian Vaussarda135f2f2012-09-10 15:16:36 +020020 overo {
21 label = "overo:blue:COM";
Florian Vaussardbb1dea32013-01-23 18:56:51 +010022 pwms = <&twl_pwmled 1 7812500>;
23 max-brightness = <127>;
Florian Vaussarda135f2f2012-09-10 15:16:36 +020024 };
25 };
Florian Vaussard250b4e12013-01-23 18:56:52 +010026
27 sound {
28 compatible = "ti,omap-twl4030";
29 ti,model = "overo";
30
31 ti,mcbsp = <&mcbsp2>;
32 ti,codec = <&twl_audio>;
33 };
Florian Vaussarda135f2f2012-09-10 15:16:36 +020034};
35
Florian Vaussardbc7feda2012-08-31 18:06:11 +020036&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 Vaussard250b4e12013-01-23 18:56:52 +010043
44 twl_audio: audio {
45 compatible = "ti,twl4030-audio";
46 codec {
47 };
48 };
Florian Vaussardbc7feda2012-08-31 18:06:11 +020049 };
50};
51
Florian Vaussard98ef79572013-05-31 14:32:55 +020052#include "twl4030.dtsi"
Kevin Hilmanf9688452013-05-31 14:09:34 -070053#include "twl4030_omap3.dtsi"
Florian Vaussardbc7feda2012-08-31 18:06:11 +020054
55/* i2c2 pins are used for gpio */
56&i2c2 {
57 status = "disabled";
58};
59
60/* on board microSD slot */
61&mmc1 {
62 vmmc-supply = <&vmmc1>;
63 bus-width = <4>;
64};
65
66/* optional on board WiFi */
67&mmc2 {
68 bus-width = <4>;
69};
Florian Vaussarda135f2f2012-09-10 15:16:36 +020070
71&twl_gpio {
72 ti,use-leds;
73};
Kishon Vijay Abraham Iad871c12013-03-07 19:05:16 +053074
75&usb_otg_hs {
76 interface-type = <0>;
Jason Cooper914dc322013-05-09 09:06:57 -070077 usb-phy = <&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};