2012-08-31 16:06:11 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2012 Florian Vaussard, EPFL Mobots group
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* The Gumstix Overo must be combined with an expansion board.
|
|
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
|
2013-05-31 12:32:55 +00:00
|
|
|
#include "omap34xx.dtsi"
|
2012-08-31 16:06:11 +00:00
|
|
|
|
2012-09-10 13:16:36 +00:00
|
|
|
/ {
|
2013-01-23 17:56:51 +00:00
|
|
|
pwmleds {
|
|
|
|
compatible = "pwm-leds";
|
|
|
|
|
2012-09-10 13:16:36 +00:00
|
|
|
overo {
|
|
|
|
label = "overo:blue:COM";
|
2013-01-23 17:56:51 +00:00
|
|
|
pwms = <&twl_pwmled 1 7812500>;
|
|
|
|
max-brightness = <127>;
|
2013-06-11 14:49:49 +00:00
|
|
|
linux,default-trigger = "mmc0";
|
2012-09-10 13:16:36 +00:00
|
|
|
};
|
|
|
|
};
|
2013-01-23 17:56:52 +00:00
|
|
|
|
|
|
|
sound {
|
|
|
|
compatible = "ti,omap-twl4030";
|
|
|
|
ti,model = "overo";
|
|
|
|
|
|
|
|
ti,mcbsp = <&mcbsp2>;
|
|
|
|
ti,codec = <&twl_audio>;
|
|
|
|
};
|
2012-09-10 13:16:36 +00:00
|
|
|
};
|
|
|
|
|
2012-08-31 16:06:11 +00:00
|
|
|
&i2c1 {
|
|
|
|
clock-frequency = <2600000>;
|
|
|
|
|
|
|
|
twl: twl@48 {
|
|
|
|
reg = <0x48>;
|
|
|
|
interrupts = <7>; /* SYS_NIRQ cascaded to intc */
|
|
|
|
interrupt-parent = <&intc>;
|
2013-01-23 17:56:52 +00:00
|
|
|
|
|
|
|
twl_audio: audio {
|
|
|
|
compatible = "ti,twl4030-audio";
|
|
|
|
codec {
|
|
|
|
};
|
|
|
|
};
|
2012-08-31 16:06:11 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2013-05-31 12:32:55 +00:00
|
|
|
#include "twl4030.dtsi"
|
2013-05-31 21:09:34 +00:00
|
|
|
#include "twl4030_omap3.dtsi"
|
2012-08-31 16:06:11 +00:00
|
|
|
|
|
|
|
/* i2c2 pins are used for gpio */
|
|
|
|
&i2c2 {
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
/* on board microSD slot */
|
|
|
|
&mmc1 {
|
|
|
|
vmmc-supply = <&vmmc1>;
|
|
|
|
bus-width = <4>;
|
|
|
|
};
|
|
|
|
|
|
|
|
/* optional on board WiFi */
|
|
|
|
&mmc2 {
|
|
|
|
bus-width = <4>;
|
|
|
|
};
|
2012-09-10 13:16:36 +00:00
|
|
|
|
|
|
|
&twl_gpio {
|
|
|
|
ti,use-leds;
|
|
|
|
};
|
2013-03-07 13:35:16 +00:00
|
|
|
|
|
|
|
&usb_otg_hs {
|
|
|
|
interface-type = <0>;
|
2013-05-09 16:06:57 +00:00
|
|
|
usb-phy = <&usb2_phy>;
|
2013-09-27 06:23:29 +00:00
|
|
|
phys = <&usb2_phy>;
|
|
|
|
phy-names = "usb2-phy";
|
2013-03-07 13:35:16 +00:00
|
|
|
mode = <3>;
|
|
|
|
power = <50>;
|
|
|
|
};
|
2013-05-31 00:38:00 +00:00
|
|
|
|
|
|
|
&omap3_pmx_core {
|
|
|
|
uart3_pins: pinmux_uart3_pins {
|
|
|
|
pinctrl-single,pins = <
|
|
|
|
0x16e (PIN_INPUT | PIN_OFF_WAKEUPENABLE | MUX_MODE0) /* uart3_rx_irrx.uart3_rx_irrx */
|
|
|
|
0x170 (PIN_OUTPUT | MUX_MODE0) /* uart3_tx_irtx.uart3_tx_irtx */
|
|
|
|
>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&uart3 {
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&uart3_pins>;
|
|
|
|
};
|