ARM: shmobile: bockw: enable HSPI0 on DTS
[deliverable/linux.git] / arch / arm / boot / dts / omap3-beagle-xm.dts
CommitLineData
295e98c6
BC
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
98ef7957 10#include "omap36xx.dtsi"
295e98c6
BC
11
12/ {
642f12b4 13 model = "TI OMAP3 BeagleBoard xM";
016c12d2 14 compatible = "ti,omap3-beagle-xm", "ti,omap36xx", "ti,omap3";
295e98c6 15
a134be34
NM
16 cpus {
17 cpu@0 {
18 cpu0-supply = <&vcc>;
19 };
20 };
21
295e98c6
BC
22 memory {
23 device_type = "memory";
24 reg = <0x80000000 0x20000000>; /* 512 MB */
25 };
a60be2fe
FV
26
27 leds {
28 compatible = "gpio-leds";
1c1737e5
BC
29
30 heartbeat {
31 label = "beagleboard::usr0";
6d624eab 32 gpios = <&gpio5 22 GPIO_ACTIVE_HIGH>; /* 150 -> D6 LED */
1c1737e5
BC
33 linux,default-trigger = "heartbeat";
34 };
35
36 mmc {
37 label = "beagleboard::usr1";
6d624eab 38 gpios = <&gpio5 21 GPIO_ACTIVE_HIGH>; /* 149 -> D7 LED */
1c1737e5
BC
39 linux,default-trigger = "mmc0";
40 };
a60be2fe 41 };
2c195f9c 42
2c09c60c
PU
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
2c195f9c
PU
53 sound {
54 compatible = "ti,omap-twl4030";
55 ti,model = "omap3beagle";
56
57 ti,mcbsp = <&mcbsp2>;
58 ti,codec = <&twl_audio>;
59 };
d641c3d5
KH
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 };
aaba9442
RQ
72
73 /* HS USB Port 2 Power */
74 hsusb2_power: hsusb2_power_reg {
75 compatible = "regulator-fixed";
76 regulator-name = "hsusb2_vbus";
77 regulator-min-microvolt = <3300000>;
78 regulator-max-microvolt = <3300000>;
79 gpio = <&twl_gpio 18 0>; /* GPIO LEDA */
80 startup-delay-us = <70000>;
81 };
82
83 /* HS USB Host PHY on PORT 2 */
84 hsusb2_phy: hsusb2_phy {
85 compatible = "usb-nop-xceiv";
86 reset-gpios = <&gpio5 19 GPIO_ACTIVE_LOW>; /* gpio_147 */
87 vcc-supply = <&hsusb2_power>;
88 };
d641c3d5
KH
89};
90
91&omap3_pmx_wkup {
92 gpio1_pins: pinmux_gpio1_pins {
93 pinctrl-single,pins = <
94 0x0e (PIN_INPUT | PIN_OFF_WAKEUPENABLE | MUX_MODE4) /* sys_boot2.gpio_4 */
95 >;
96 };
295e98c6 97};
5340b51d 98
aaba9442
RQ
99&omap3_pmx_core {
100 pinctrl-names = "default";
101 pinctrl-0 = <
102 &hsusbb2_pins
103 >;
104
105 uart3_pins: pinmux_uart3_pins {
106 pinctrl-single,pins = <
107 0x16e (PIN_INPUT | PIN_OFF_WAKEUPENABLE | MUX_MODE0) /* uart3_rx_irrx.uart3_rx_irrx */
108 0x170 (PIN_OUTPUT | MUX_MODE0) /* uart3_tx_irtx.uart3_tx_irtx OUTPUT | MODE0 */
109 >;
110 };
111
112 hsusbb2_pins: pinmux_hsusbb2_pins {
113 pinctrl-single,pins = <
114 0x5c0 (PIN_OUTPUT | MUX_MODE3) /* etk_d10.hsusb2_clk */
115 0x5c2 (PIN_OUTPUT | MUX_MODE3) /* etk_d11.hsusb2_stp */
116 0x5c4 (PIN_INPUT_PULLDOWN | MUX_MODE3) /* etk_d12.hsusb2_dir */
117 0x5c6 (PIN_INPUT_PULLDOWN | MUX_MODE3) /* etk_d13.hsusb2_nxt */
118 0x5c8 (PIN_INPUT_PULLDOWN | MUX_MODE3) /* etk_d14.hsusb2_data0 */
119 0x5cA (PIN_INPUT_PULLDOWN | MUX_MODE3) /* etk_d15.hsusb2_data1 */
120 0x1a4 (PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi1_cs3.hsusb2_data2 */
121 0x1a6 (PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi2_clk.hsusb2_data7 */
122 0x1a8 (PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi2_simo.hsusb2_data4 */
123 0x1aa (PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi2_somi.hsusb2_data5 */
124 0x1ac (PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi2_cs0.hsusb2_data6 */
125 0x1ae (PIN_INPUT_PULLDOWN | MUX_MODE3) /* mcspi2_cs1.hsusb2_data3 */
126 >;
127 };
128};
129
5340b51d
BC
130&i2c1 {
131 clock-frequency = <2600000>;
132
133 twl: twl@48 {
134 reg = <0x48>;
135 interrupts = <7>; /* SYS_NIRQ cascaded to intc */
136 interrupt-parent = <&intc>;
ecc7b060 137
2c195f9c
PU
138 twl_audio: audio {
139 compatible = "ti,twl4030-audio";
140 codec {
141 };
142 };
5340b51d
BC
143 };
144};
145
98ef7957 146#include "twl4030.dtsi"
f9688457 147#include "twl4030_omap3.dtsi"
5340b51d
BC
148
149&i2c2 {
150 clock-frequency = <400000>;
151};
152
153&i2c3 {
154 clock-frequency = <100000>;
155
156 /*
157 * Display monitor features are burnt in the EEPROM
158 * as EDID data.
159 */
160 eeprom@50 {
161 compatible = "ti,eeprom";
162 reg = <0x50>;
163 };
164};
b3431f5b
RN
165
166&mmc1 {
167 vmmc-supply = <&vmmc1>;
168 vmmc_aux-supply = <&vsim>;
7f217794 169 bus-width = <8>;
b3431f5b
RN
170};
171
172&mmc2 {
fd5c3fd7 173 status = "disabled";
b3431f5b
RN
174};
175
176&mmc3 {
fd5c3fd7 177 status = "disabled";
b3431f5b 178};
a60be2fe
FV
179
180&twl_gpio {
181 ti,use-leds;
182 /* pullups: BIT(1) */
183 ti,pullups = <0x000002>;
184 /*
185 * pulldowns:
186 * BIT(2), BIT(6), BIT(7), BIT(8), BIT(13)
187 * BIT(15), BIT(16), BIT(17)
188 */
189 ti,pulldowns = <0x03a1c4>;
190};
ad871c10
KVA
191
192&usb_otg_hs {
193 interface-type = <0>;
914dc329 194 usb-phy = <&usb2_phy>;
975d963e
KVA
195 phys = <&usb2_phy>;
196 phy-names = "usb2-phy";
ad871c10
KVA
197 mode = <3>;
198 power = <50>;
199};
b859c1ef 200
b859c1ef
KH
201&uart3 {
202 pinctrl-names = "default";
203 pinctrl-0 = <&uart3_pins>;
204};
d641c3d5
KH
205
206&gpio1 {
207 pinctrl-names = "default";
208 pinctrl-0 = <&gpio1_pins>;
209};
aaba9442
RQ
210
211&usbhshost {
212 port2-mode = "ehci-phy";
213};
214
215&usbhsehci {
216 phys = <0 &hsusb2_phy>;
217};
This page took 0.120829 seconds and 5 git commands to generate.