Merge tag 'regmap-v3.11' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie...
[deliverable/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 cpus {
17 cpu@0 {
18 cpu0-supply = <&vcc>;
19 };
20 };
21
22 memory {
23 device_type = "memory";
24 reg = <0x80000000 0x20000000>; /* 512 MB */
25 };
26
27 leds {
28 compatible = "gpio-leds";
29
30 heartbeat {
31 label = "beagleboard::usr0";
32 gpios = <&gpio5 22 GPIO_ACTIVE_HIGH>; /* 150 -> D6 LED */
33 linux,default-trigger = "heartbeat";
34 };
35
36 mmc {
37 label = "beagleboard::usr1";
38 gpios = <&gpio5 21 GPIO_ACTIVE_HIGH>; /* 149 -> D7 LED */
39 linux,default-trigger = "mmc0";
40 };
41 };
42
43 pwmleds {
44 compatible = "pwm-leds";
45
46 pmu_stat {
47 label = "beagleboard::pmu_stat";
48 pwms = <&twl_pwmled 1 7812500>;
49 max-brightness = <127>;
50 };
51 };
52
53 sound {
54 compatible = "ti,omap-twl4030";
55 ti,model = "omap3beagle";
56
57 ti,mcbsp = <&mcbsp2>;
58 ti,codec = <&twl_audio>;
59 };
60
61 gpio_keys {
62 compatible = "gpio-keys";
63
64 user {
65 label = "user";
66 gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
67 linux,code = <0x114>;
68 gpio-key,wakeup;
69 };
70
71 };
72 };
73
74 &omap3_pmx_wkup {
75 gpio1_pins: pinmux_gpio1_pins {
76 pinctrl-single,pins = <
77 0x0e (PIN_INPUT | PIN_OFF_WAKEUPENABLE | MUX_MODE4) /* sys_boot2.gpio_4 */
78 >;
79 };
80 };
81
82 &i2c1 {
83 clock-frequency = <2600000>;
84
85 twl: twl@48 {
86 reg = <0x48>;
87 interrupts = <7>; /* SYS_NIRQ cascaded to intc */
88 interrupt-parent = <&intc>;
89
90 twl_audio: audio {
91 compatible = "ti,twl4030-audio";
92 codec {
93 };
94 };
95 };
96 };
97
98 #include "twl4030.dtsi"
99 #include "twl4030_omap3.dtsi"
100
101 &i2c2 {
102 clock-frequency = <400000>;
103 };
104
105 &i2c3 {
106 clock-frequency = <100000>;
107
108 /*
109 * Display monitor features are burnt in the EEPROM
110 * as EDID data.
111 */
112 eeprom@50 {
113 compatible = "ti,eeprom";
114 reg = <0x50>;
115 };
116 };
117
118 &mmc1 {
119 vmmc-supply = <&vmmc1>;
120 vmmc_aux-supply = <&vsim>;
121 bus-width = <8>;
122 };
123
124 &mmc2 {
125 status = "disabled";
126 };
127
128 &mmc3 {
129 status = "disabled";
130 };
131
132 &twl_gpio {
133 ti,use-leds;
134 /* pullups: BIT(1) */
135 ti,pullups = <0x000002>;
136 /*
137 * pulldowns:
138 * BIT(2), BIT(6), BIT(7), BIT(8), BIT(13)
139 * BIT(15), BIT(16), BIT(17)
140 */
141 ti,pulldowns = <0x03a1c4>;
142 };
143
144 &usb_otg_hs {
145 interface-type = <0>;
146 usb-phy = <&usb2_phy>;
147 mode = <3>;
148 power = <50>;
149 };
150
151 &omap3_pmx_core {
152 uart3_pins: pinmux_uart3_pins {
153 pinctrl-single,pins = <
154 0x16e (PIN_INPUT | PIN_OFF_WAKEUPENABLE | MUX_MODE0) /* uart3_rx_irrx.uart3_rx_irrx */
155 0x170 (PIN_OUTPUT | MUX_MODE0) /* uart3_tx_irtx.uart3_tx_irtx OUTPUT | MODE0 */
156 >;
157 };
158 };
159
160 &uart3 {
161 pinctrl-names = "default";
162 pinctrl-0 = <&uart3_pins>;
163 };
164
165 &gpio1 {
166 pinctrl-names = "default";
167 pinctrl-0 = <&gpio1_pins>;
168 };
This page took 0.068957 seconds and 5 git commands to generate.