omap3-overo.dtsi 1.2 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
/*
 * 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/;

14
/include/ "omap34xx.dtsi"
15

16
/ {
17 18 19
	pwmleds {
		compatible = "pwm-leds";

20 21
		overo {
			label = "overo:blue:COM";
22 23
			pwms = <&twl_pwmled 1 7812500>;
			max-brightness = <127>;
24 25
		};
	};
26 27 28 29 30 31 32 33

	sound {
		compatible = "ti,omap-twl4030";
		ti,model = "overo";

		ti,mcbsp = <&mcbsp2>;
		ti,codec = <&twl_audio>;
	};
34 35
};

36 37 38 39 40 41 42
&i2c1 {
	clock-frequency = <2600000>;

	twl: twl@48 {
		reg = <0x48>;
		interrupts = <7>; /* SYS_NIRQ cascaded to intc */
		interrupt-parent = <&intc>;
43 44 45 46 47 48

		twl_audio: audio {
			compatible = "ti,twl4030-audio";
			codec {
			};
		};
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
	};
};

/include/ "twl4030.dtsi"

/* 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>;
};
69 70 71 72

&twl_gpio {
	ti,use-leds;
};
73 74 75

&usb_otg_hs {
	interface-type = <0>;
76
	usb-phy = <&usb2_phy>;
77 78 79
	mode = <3>;
	power = <50>;
};