Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild
[deliverable/linux.git] / arch / arm / boot / dts / omap3-beagle.dts
CommitLineData
5a8095e9
JH
1/*
2 * Copyright (C) 2012 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 "omap34xx.dtsi"
5a8095e9
JH
11
12/ {
13 model = "TI OMAP3 BeagleBoard";
14 compatible = "ti,omap3-beagle", "ti,omap3";
15
a134be34
NM
16 cpus {
17 cpu@0 {
18 cpu0-supply = <&vcc>;
19 };
20 };
21
5a8095e9
JH
22 memory {
23 device_type = "memory";
24 reg = <0x80000000 0x10000000>; /* 256 MB */
25 };
26
27 leds {
28 compatible = "gpio-leds";
29 pmu_stat {
30 label = "beagleboard::pmu_stat";
6d624eab 31 gpios = <&twl_gpio 19 GPIO_ACTIVE_HIGH>; /* LEDB */
5a8095e9
JH
32 };
33
34 heartbeat {
35 label = "beagleboard::usr0";
6d624eab 36 gpios = <&gpio5 22 GPIO_ACTIVE_HIGH>; /* 150 -> D6 LED */
5a8095e9
JH
37 linux,default-trigger = "heartbeat";
38 };
39
40 mmc {
41 label = "beagleboard::usr1";
6d624eab 42 gpios = <&gpio5 21 GPIO_ACTIVE_HIGH>; /* 149 -> D7 LED */
5a8095e9
JH
43 linux,default-trigger = "mmc0";
44 };
45 };
46
2e5f78ae
RQ
47 /* HS USB Port 2 RESET */
48 hsusb2_reset: hsusb2_reset_reg {
49 compatible = "regulator-fixed";
50 regulator-name = "hsusb2_reset";
51 regulator-min-microvolt = <3300000>;
52 regulator-max-microvolt = <3300000>;
53 gpio = <&gpio5 19 0>; /* gpio_147 */
54 startup-delay-us = <70000>;
55 enable-active-high;
56 };
57
58 /* HS USB Port 2 Power */
59 hsusb2_power: hsusb2_power_reg {
60 compatible = "regulator-fixed";
61 regulator-name = "hsusb2_vbus";
62 regulator-min-microvolt = <3300000>;
63 regulator-max-microvolt = <3300000>;
64 gpio = <&twl_gpio 18 0>; /* GPIO LEDA */
65 startup-delay-us = <70000>;
66 };
67
68 /* HS USB Host PHY on PORT 2 */
69 hsusb2_phy: hsusb2_phy {
70 compatible = "usb-nop-xceiv";
71 reset-supply = <&hsusb2_reset>;
72 vcc-supply = <&hsusb2_power>;
73 };
d641c3d5
KH
74
75 gpio_keys {
76 compatible = "gpio-keys";
77
78 user {
79 label = "user";
80 gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
81 linux,code = <0x114>;
82 gpio-key,wakeup;
83 };
84
85 };
86};
87
88&omap3_pmx_wkup {
89 gpio1_pins: pinmux_gpio1_pins {
90 pinctrl-single,pins = <
91 0x14 (PIN_INPUT | PIN_OFF_WAKEUPENABLE | MUX_MODE4) /* sys_boot5.gpio_7 */
92 >;
93 };
2e5f78ae
RQ
94};
95
96&omap3_pmx_core {
97 pinctrl-names = "default";
98 pinctrl-0 = <
99 &hsusbb2_pins
100 >;
101
102 hsusbb2_pins: pinmux_hsusbb2_pins {
103 pinctrl-single,pins = <
bcd3cca7
FV
104 0x5c0 (PIN_OUTPUT | MUX_MODE3) /* usbb2_ulpitll_clk.usbb1_ulpiphy_clk */
105 0x5c2 (PIN_OUTPUT | MUX_MODE3) /* usbb2_ulpitll_clk.usbb1_ulpiphy_stp */
106 0x5c4 (PIN_INPUT_PULLDOWN | MUX_MODE3) /* usbb2_ulpitll_clk.usbb1_ulpiphy_dir */
107 0x5c6 (PIN_INPUT_PULLDOWN | MUX_MODE3) /* usbb2_ulpitll_clk.usbb1_ulpiphy_nxt */
108 0x5c8 (PIN_INPUT_PULLDOWN | MUX_MODE3) /* usbb2_ulpitll_clk.usbb1_ulpiphy_dat0 */
109 0x5cA (PIN_INPUT_PULLDOWN | MUX_MODE3) /* usbb2_ulpitll_clk.usbb1_ulpiphy_dat1 */
110 0x1a4 (PIN_INPUT_PULLDOWN | MUX_MODE3) /* usbb2_ulpitll_clk.usbb1_ulpiphy_dat2 */
111 0x1a6 (PIN_INPUT_PULLDOWN | MUX_MODE3) /* usbb2_ulpitll_clk.usbb1_ulpiphy_dat3 */
112 0x1a8 (PIN_INPUT_PULLDOWN | MUX_MODE3) /* usbb2_ulpitll_clk.usbb1_ulpiphy_dat4 */
113 0x1aa (PIN_INPUT_PULLDOWN | MUX_MODE3) /* usbb2_ulpitll_clk.usbb1_ulpiphy_dat5 */
114 0x1ac (PIN_INPUT_PULLDOWN | MUX_MODE3) /* usbb2_ulpitll_clk.usbb1_ulpiphy_dat6 */
115 0x1ae (PIN_INPUT_PULLDOWN | MUX_MODE3) /* usbb2_ulpitll_clk.usbb1_ulpiphy_dat7 */
2e5f78ae
RQ
116 >;
117 };
b859c1ef
KH
118
119 uart3_pins: pinmux_uart3_pins {
120 pinctrl-single,pins = <
121 0x16e (PIN_INPUT | PIN_OFF_WAKEUPENABLE | MUX_MODE0) /* uart3_rx_irrx.uart3_rx_irrx */
122 0x170 (PIN_OUTPUT | MUX_MODE0) /* uart3_tx_irtx.uart3_tx_irtx */
123 >;
124 };
5a8095e9
JH
125};
126
127&i2c1 {
128 clock-frequency = <2600000>;
129
130 twl: twl@48 {
131 reg = <0x48>;
132 interrupts = <7>; /* SYS_NIRQ cascaded to intc */
133 interrupt-parent = <&intc>;
134 };
135};
136
98ef7957 137#include "twl4030.dtsi"
f9688457 138#include "twl4030_omap3.dtsi"
5a8095e9
JH
139
140&mmc1 {
141 vmmc-supply = <&vmmc1>;
142 vmmc_aux-supply = <&vsim>;
143 bus-width = <8>;
144};
145
146&mmc2 {
147 status = "disabled";
148};
149
150&mmc3 {
151 status = "disabled";
152};
2e5f78ae
RQ
153
154&usbhshost {
155 port2-mode = "ehci-phy";
156};
157
158&usbhsehci {
159 phys = <0 &hsusb2_phy>;
160};
161
162&twl_gpio {
163 ti,use-leds;
164 /* pullups: BIT(1) */
165 ti,pullups = <0x000002>;
166 /*
167 * pulldowns:
168 * BIT(2), BIT(6), BIT(7), BIT(8), BIT(13)
169 * BIT(15), BIT(16), BIT(17)
170 */
171 ti,pulldowns = <0x03a1c4>;
172};
b859c1ef
KH
173
174&uart3 {
175 pinctrl-names = "default";
176 pinctrl-0 = <&uart3_pins>;
177};
d641c3d5
KH
178
179&gpio1 {
180 pinctrl-names = "default";
181 pinctrl-0 = <&gpio1_pins>;
182};
This page took 0.066007 seconds and 5 git commands to generate.