Commit | Line | Data |
---|---|---|
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 | ||
1e633d71 | 10 | /include/ "omap34xx.dtsi" |
5a8095e9 JH |
11 | |
12 | / { | |
13 | model = "TI OMAP3 BeagleBoard"; | |
14 | compatible = "ti,omap3-beagle", "ti,omap3"; | |
15 | ||
16 | memory { | |
17 | device_type = "memory"; | |
18 | reg = <0x80000000 0x10000000>; /* 256 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 | ||
2e5f78ae RQ |
41 | /* HS USB Port 2 RESET */ |
42 | hsusb2_reset: hsusb2_reset_reg { | |
43 | compatible = "regulator-fixed"; | |
44 | regulator-name = "hsusb2_reset"; | |
45 | regulator-min-microvolt = <3300000>; | |
46 | regulator-max-microvolt = <3300000>; | |
47 | gpio = <&gpio5 19 0>; /* gpio_147 */ | |
48 | startup-delay-us = <70000>; | |
49 | enable-active-high; | |
50 | }; | |
51 | ||
52 | /* HS USB Port 2 Power */ | |
53 | hsusb2_power: hsusb2_power_reg { | |
54 | compatible = "regulator-fixed"; | |
55 | regulator-name = "hsusb2_vbus"; | |
56 | regulator-min-microvolt = <3300000>; | |
57 | regulator-max-microvolt = <3300000>; | |
58 | gpio = <&twl_gpio 18 0>; /* GPIO LEDA */ | |
59 | startup-delay-us = <70000>; | |
60 | }; | |
61 | ||
62 | /* HS USB Host PHY on PORT 2 */ | |
63 | hsusb2_phy: hsusb2_phy { | |
64 | compatible = "usb-nop-xceiv"; | |
65 | reset-supply = <&hsusb2_reset>; | |
66 | vcc-supply = <&hsusb2_power>; | |
67 | }; | |
68 | }; | |
69 | ||
70 | &omap3_pmx_core { | |
71 | pinctrl-names = "default"; | |
72 | pinctrl-0 = < | |
73 | &hsusbb2_pins | |
74 | >; | |
75 | ||
76 | hsusbb2_pins: pinmux_hsusbb2_pins { | |
77 | pinctrl-single,pins = < | |
78 | 0x5c0 0x3 /* USBB2_ULPITLL_CLK_MUXMODE.usbb1_ulpiphy_clk OUTPUT */ | |
79 | 0x5c2 0x3 /* USBB2_ULPITLL_CLK_MUXMODE.usbb1_ulpiphy_stp OUTPUT */ | |
80 | 0x5c4 0x10b /* USBB2_ULPITLL_CLK_MUXMODE.usbb1_ulpiphy_dir INPUT | PULLDOWN */ | |
81 | 0x5c6 0x10b /* USBB2_ULPITLL_CLK_MUXMODE.usbb1_ulpiphy_nxt INPUT | PULLDOWN */ | |
82 | 0x5c8 0x10b /* USBB2_ULPITLL_CLK_MUXMODE.usbb1_ulpiphy_dat0 INPUT | PULLDOWN */ | |
83 | 0x5cA 0x10b /* USBB2_ULPITLL_CLK_MUXMODE.usbb1_ulpiphy_dat1 INPUT | PULLDOWN */ | |
84 | 0x1a4 0x10b /* USBB2_ULPITLL_CLK_MUXMODE.usbb1_ulpiphy_dat2 INPUT | PULLDOWN */ | |
85 | 0x1a6 0x10b /* USBB2_ULPITLL_CLK_MUXMODE.usbb1_ulpiphy_dat3 INPUT | PULLDOWN */ | |
86 | 0x1a8 0x10b /* USBB2_ULPITLL_CLK_MUXMODE.usbb1_ulpiphy_dat4 INPUT | PULLDOWN */ | |
87 | 0x1aa 0x10b /* USBB2_ULPITLL_CLK_MUXMODE.usbb1_ulpiphy_dat5 INPUT | PULLDOWN */ | |
88 | 0x1ac 0x10b /* USBB2_ULPITLL_CLK_MUXMODE.usbb1_ulpiphy_dat6 INPUT | PULLDOWN */ | |
89 | 0x1ae 0x10b /* USBB2_ULPITLL_CLK_MUXMODE.usbb1_ulpiphy_dat7 INPUT | PULLDOWN */ | |
90 | >; | |
91 | }; | |
5a8095e9 JH |
92 | }; |
93 | ||
94 | &i2c1 { | |
95 | clock-frequency = <2600000>; | |
96 | ||
97 | twl: twl@48 { | |
98 | reg = <0x48>; | |
99 | interrupts = <7>; /* SYS_NIRQ cascaded to intc */ | |
100 | interrupt-parent = <&intc>; | |
101 | }; | |
102 | }; | |
103 | ||
104 | /include/ "twl4030.dtsi" | |
105 | ||
106 | &mmc1 { | |
107 | vmmc-supply = <&vmmc1>; | |
108 | vmmc_aux-supply = <&vsim>; | |
109 | bus-width = <8>; | |
110 | }; | |
111 | ||
112 | &mmc2 { | |
113 | status = "disabled"; | |
114 | }; | |
115 | ||
116 | &mmc3 { | |
117 | status = "disabled"; | |
118 | }; | |
2e5f78ae RQ |
119 | |
120 | &usbhshost { | |
121 | port2-mode = "ehci-phy"; | |
122 | }; | |
123 | ||
124 | &usbhsehci { | |
125 | phys = <0 &hsusb2_phy>; | |
126 | }; | |
127 | ||
128 | &twl_gpio { | |
129 | ti,use-leds; | |
130 | /* pullups: BIT(1) */ | |
131 | ti,pullups = <0x000002>; | |
132 | /* | |
133 | * pulldowns: | |
134 | * BIT(2), BIT(6), BIT(7), BIT(8), BIT(13) | |
135 | * BIT(15), BIT(16), BIT(17) | |
136 | */ | |
137 | ti,pulldowns = <0x03a1c4>; | |
138 | }; |