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