]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/blob - arch/arm/boot/dts/omap3-beagle-xm.dts
Merge tag 'davinci-for-v3.8/dt' of git://gitorious.org/linux-davinci/linux-davinci...
[can-eth-gw-linux.git] / arch / arm / boot / dts / omap3-beagle-xm.dts
1 /*
2  * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License version 2 as
6  * published by the Free Software Foundation.
7  */
8 /dts-v1/;
9
10 /include/ "omap36xx.dtsi"
11
12 / {
13         model = "TI OMAP3 BeagleBoard xM";
14         compatible = "ti,omap3-beagle-xm, ti,omap3-beagle", "ti,omap3";
15
16         memory {
17                 device_type = "memory";
18                 reg = <0x80000000 0x20000000>; /* 512 MB */
19         };
20
21         leds {
22                 compatible = "gpio-leds";
23                 pmu_stat {
24                         label = "beagleboard::pmu_stat";
25                         gpios = <&twl_gpio 19 0>; /* LEDB */
26                 };
27
28                 heartbeat {
29                         label = "beagleboard::usr0";
30                         gpios = <&gpio5 22 0>; /* 150 -> D6 LED */
31                         linux,default-trigger = "heartbeat";
32                 };
33
34                 mmc {
35                         label = "beagleboard::usr1";
36                         gpios = <&gpio5 21 0>; /* 149 -> D7 LED */
37                         linux,default-trigger = "mmc0";
38                 };
39         };
40
41         sound {
42                 compatible = "ti,omap-twl4030";
43                 ti,model = "omap3beagle";
44
45                 ti,mcbsp = <&mcbsp2>;
46                 ti,codec = <&twl_audio>;
47         };
48 };
49
50 &i2c1 {
51         clock-frequency = <2600000>;
52
53         twl: twl@48 {
54                 reg = <0x48>;
55                 interrupts = <7>; /* SYS_NIRQ cascaded to intc */
56                 interrupt-parent = <&intc>;
57
58                 twl_audio: audio {
59                         compatible = "ti,twl4030-audio";
60                         codec {
61                         };
62                 };
63         };
64 };
65
66 /include/ "twl4030.dtsi"
67
68 &i2c2 {
69         clock-frequency = <400000>;
70 };
71
72 &i2c3 {
73         clock-frequency = <100000>;
74
75         /*
76          * Display monitor features are burnt in the EEPROM
77          * as EDID data.
78          */
79         eeprom@50 {
80                 compatible = "ti,eeprom";
81                 reg = <0x50>;
82         };
83 };
84
85 &mmc1 {
86         vmmc-supply = <&vmmc1>;
87         vmmc_aux-supply = <&vsim>;
88         bus-width = <8>;
89 };
90
91 &mmc2 {
92         status = "disabled";
93 };
94
95 &mmc3 {
96         status = "disabled";
97 };
98
99 &twl_gpio {
100         ti,use-leds;
101         /* pullups: BIT(1) */
102         ti,pullups = <0x000002>;
103         /*
104          * pulldowns:
105          * BIT(2), BIT(6), BIT(7), BIT(8), BIT(13)
106          * BIT(15), BIT(16), BIT(17)
107          */
108         ti,pulldowns = <0x03a1c4>;
109 };