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