blob: 0b6dbfa62c9539a507e4cf89df7d98825807a9b3 [file] [log] [blame]
Jon Hunter5a8095e2012-09-11 11:01:59 -05001/*
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
Florian Vaussard98ef79572013-05-31 14:32:55 +020010#include "omap34xx.dtsi"
Jon Hunter5a8095e2012-09-11 11:01:59 -050011
12/ {
13 model = "TI OMAP3 BeagleBoard";
14 compatible = "ti,omap3-beagle", "ti,omap3";
15
Nishanth Menona134be32013-03-19 12:53:05 -050016 cpus {
17 cpu@0 {
18 cpu0-supply = <&vcc>;
19 };
20 };
21
Jon Hunter5a8095e2012-09-11 11:01:59 -050022 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";
Florian Vaussard6d624ea2013-05-31 14:32:56 +020031 gpios = <&twl_gpio 19 GPIO_ACTIVE_HIGH>; /* LEDB */
Jon Hunter5a8095e2012-09-11 11:01:59 -050032 };
33
34 heartbeat {
35 label = "beagleboard::usr0";
Florian Vaussard6d624ea2013-05-31 14:32:56 +020036 gpios = <&gpio5 22 GPIO_ACTIVE_HIGH>; /* 150 -> D6 LED */
Jon Hunter5a8095e2012-09-11 11:01:59 -050037 linux,default-trigger = "heartbeat";
38 };
39
40 mmc {
41 label = "beagleboard::usr1";
Florian Vaussard6d624ea2013-05-31 14:32:56 +020042 gpios = <&gpio5 21 GPIO_ACTIVE_HIGH>; /* 149 -> D7 LED */
Jon Hunter5a8095e2012-09-11 11:01:59 -050043 linux,default-trigger = "mmc0";
44 };
45 };
46
Roger Quadros2e5f78a2013-03-20 17:45:00 +020047 /* 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 };
74};
75
76&omap3_pmx_core {
77 pinctrl-names = "default";
78 pinctrl-0 = <
79 &hsusbb2_pins
80 >;
81
82 hsusbb2_pins: pinmux_hsusbb2_pins {
83 pinctrl-single,pins = <
Florian Vaussardbcd3cca2013-05-31 14:32:59 +020084 0x5c0 (PIN_OUTPUT | MUX_MODE3) /* usbb2_ulpitll_clk.usbb1_ulpiphy_clk */
85 0x5c2 (PIN_OUTPUT | MUX_MODE3) /* usbb2_ulpitll_clk.usbb1_ulpiphy_stp */
86 0x5c4 (PIN_INPUT_PULLDOWN | MUX_MODE3) /* usbb2_ulpitll_clk.usbb1_ulpiphy_dir */
87 0x5c6 (PIN_INPUT_PULLDOWN | MUX_MODE3) /* usbb2_ulpitll_clk.usbb1_ulpiphy_nxt */
88 0x5c8 (PIN_INPUT_PULLDOWN | MUX_MODE3) /* usbb2_ulpitll_clk.usbb1_ulpiphy_dat0 */
89 0x5cA (PIN_INPUT_PULLDOWN | MUX_MODE3) /* usbb2_ulpitll_clk.usbb1_ulpiphy_dat1 */
90 0x1a4 (PIN_INPUT_PULLDOWN | MUX_MODE3) /* usbb2_ulpitll_clk.usbb1_ulpiphy_dat2 */
91 0x1a6 (PIN_INPUT_PULLDOWN | MUX_MODE3) /* usbb2_ulpitll_clk.usbb1_ulpiphy_dat3 */
92 0x1a8 (PIN_INPUT_PULLDOWN | MUX_MODE3) /* usbb2_ulpitll_clk.usbb1_ulpiphy_dat4 */
93 0x1aa (PIN_INPUT_PULLDOWN | MUX_MODE3) /* usbb2_ulpitll_clk.usbb1_ulpiphy_dat5 */
94 0x1ac (PIN_INPUT_PULLDOWN | MUX_MODE3) /* usbb2_ulpitll_clk.usbb1_ulpiphy_dat6 */
95 0x1ae (PIN_INPUT_PULLDOWN | MUX_MODE3) /* usbb2_ulpitll_clk.usbb1_ulpiphy_dat7 */
Roger Quadros2e5f78a2013-03-20 17:45:00 +020096 >;
97 };
Kevin Hilmanb859c1e2013-05-30 17:38:00 -070098
99 uart3_pins: pinmux_uart3_pins {
100 pinctrl-single,pins = <
101 0x16e (PIN_INPUT | PIN_OFF_WAKEUPENABLE | MUX_MODE0) /* uart3_rx_irrx.uart3_rx_irrx */
102 0x170 (PIN_OUTPUT | MUX_MODE0) /* uart3_tx_irtx.uart3_tx_irtx */
103 >;
104 };
Jon Hunter5a8095e2012-09-11 11:01:59 -0500105};
106
107&i2c1 {
108 clock-frequency = <2600000>;
109
110 twl: twl@48 {
111 reg = <0x48>;
112 interrupts = <7>; /* SYS_NIRQ cascaded to intc */
113 interrupt-parent = <&intc>;
114 };
115};
116
Florian Vaussard98ef79572013-05-31 14:32:55 +0200117#include "twl4030.dtsi"
Jon Hunter5a8095e2012-09-11 11:01:59 -0500118
119&mmc1 {
120 vmmc-supply = <&vmmc1>;
121 vmmc_aux-supply = <&vsim>;
122 bus-width = <8>;
123};
124
125&mmc2 {
126 status = "disabled";
127};
128
129&mmc3 {
130 status = "disabled";
131};
Roger Quadros2e5f78a2013-03-20 17:45:00 +0200132
133&usbhshost {
134 port2-mode = "ehci-phy";
135};
136
137&usbhsehci {
138 phys = <0 &hsusb2_phy>;
139};
140
141&twl_gpio {
142 ti,use-leds;
143 /* pullups: BIT(1) */
144 ti,pullups = <0x000002>;
145 /*
146 * pulldowns:
147 * BIT(2), BIT(6), BIT(7), BIT(8), BIT(13)
148 * BIT(15), BIT(16), BIT(17)
149 */
150 ti,pulldowns = <0x03a1c4>;
151};
Kevin Hilmanb859c1e2013-05-30 17:38:00 -0700152
153&uart3 {
154 pinctrl-names = "default";
155 pinctrl-0 = <&uart3_pins>;
156};