2012-08-31 20:06:11 +04: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 16:32:55 +04:00
|
|
|
#include "omap34xx.dtsi"
|
2012-08-31 20:06:11 +04:00
|
|
|
|
2012-09-10 17:16:36 +04:00
|
|
|
/ {
|
2013-01-23 21:56:51 +04:00
|
|
|
pwmleds {
|
|
|
|
compatible = "pwm-leds";
|
|
|
|
|
2012-09-10 17:16:36 +04:00
|
|
|
overo {
|
|
|
|
label = "overo:blue:COM";
|
2013-01-23 21:56:51 +04:00
|
|
|
pwms = <&twl_pwmled 1 7812500>;
|
|
|
|
max-brightness = <127>;
|
2013-06-11 18:49:49 +04:00
|
|
|
linux,default-trigger = "mmc0";
|
2012-09-10 17:16:36 +04:00
|
|
|
};
|
|
|
|
};
|
2013-01-23 21:56:52 +04:00
|
|
|
|
|
|
|
sound {
|
|
|
|
compatible = "ti,omap-twl4030";
|
|
|
|
ti,model = "overo";
|
|
|
|
|
|
|
|
ti,mcbsp = <&mcbsp2>;
|
|
|
|
ti,codec = <&twl_audio>;
|
|
|
|
};
|
2012-09-10 17:16:36 +04:00
|
|
|
};
|
|
|
|
|
2012-08-31 20:06:11 +04:00
|
|
|
&i2c1 {
|
|
|
|
clock-frequency = <2600000>;
|
|
|
|
|
|
|
|
twl: twl@48 {
|
|
|
|
reg = <0x48>;
|
|
|
|
interrupts = <7>; /* SYS_NIRQ cascaded to intc */
|
|
|
|
interrupt-parent = <&intc>;
|
2013-01-23 21:56:52 +04:00
|
|
|
|
|
|
|
twl_audio: audio {
|
|
|
|
compatible = "ti,twl4030-audio";
|
|
|
|
codec {
|
|
|
|
};
|
|
|
|
};
|
2012-08-31 20:06:11 +04:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2013-05-31 16:32:55 +04:00
|
|
|
#include "twl4030.dtsi"
|
2013-06-01 01:09:34 +04:00
|
|
|
#include "twl4030_omap3.dtsi"
|
2012-08-31 20:06:11 +04: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 17:16:36 +04:00
|
|
|
|
|
|
|
&twl_gpio {
|
|
|
|
ti,use-leds;
|
|
|
|
};
|
2013-03-07 17:35:16 +04:00
|
|
|
|
|
|
|
&usb_otg_hs {
|
|
|
|
interface-type = <0>;
|
2013-05-09 20:06:57 +04:00
|
|
|
usb-phy = <&usb2_phy>;
|
2013-09-27 10:23:29 +04:00
|
|
|
phys = <&usb2_phy>;
|
|
|
|
phy-names = "usb2-phy";
|
2013-03-07 17:35:16 +04:00
|
|
|
mode = <3>;
|
|
|
|
power = <50>;
|
|
|
|
};
|
2013-05-31 04:38:00 +04: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>;
|
|
|
|
};
|