]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/kernel-video.git/blob - arch/arm/boot/dts/omap3-beagle.dts
Merge branch 'pm-linux-3.8.y' of git://git.ti.com/~kristo/ti-linux-kernel/pm-linux...
[android-sdk/kernel-video.git] / arch / arm / boot / dts / omap3-beagle.dts
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/;
10 /include/ "omap34xx.dtsi"
12 / {
13         model = "TI OMAP3 BeagleBoard";
14         compatible = "ti,omap3-beagle", "ti,omap3";
16         cpus {
17                 cpu@0 {
18                         cpu0-supply = <&vcc>;
19                 };
20         };
22         memory {
23                 device_type = "memory";
24                 reg = <0x80000000 0x10000000>; /* 256 MB */
25         };
27         leds {
28                 compatible = "gpio-leds";
29                 pmu_stat {
30                         label = "beagleboard::pmu_stat";
31                         gpios = <&twl_gpio 19 0>; /* LEDB */
32                 };
34                 heartbeat {
35                         label = "beagleboard::usr0";
36                         gpios = <&gpio5 22 0>; /* 150 -> D6 LED */
37                         linux,default-trigger = "heartbeat";
38                 };
40                 mmc {
41                         label = "beagleboard::usr1";
42                         gpios = <&gpio5 21 0>; /* 149 -> D7 LED */
43                         linux,default-trigger = "mmc0";
44                 };
45         };
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         };
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         };
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 };
76 &omap3_pmx_core {
77         pinctrl-names = "default";
78         pinctrl-0 = <
79                         &hsusbb2_pins
80         >;
82         hsusbb2_pins: pinmux_hsusbb2_pins {
83                 pinctrl-single,pins = <
84                         0x5c0 0x3  /* USBB2_ULPITLL_CLK_MUXMODE.usbb1_ulpiphy_clk OUTPUT */
85                         0x5c2 0x3  /* USBB2_ULPITLL_CLK_MUXMODE.usbb1_ulpiphy_stp OUTPUT */
86                         0x5c4 0x10b  /* USBB2_ULPITLL_CLK_MUXMODE.usbb1_ulpiphy_dir INPUT | PULLDOWN */
87                         0x5c6 0x10b  /* USBB2_ULPITLL_CLK_MUXMODE.usbb1_ulpiphy_nxt INPUT | PULLDOWN */
88                         0x5c8 0x10b  /* USBB2_ULPITLL_CLK_MUXMODE.usbb1_ulpiphy_dat0 INPUT | PULLDOWN */
89                         0x5cA 0x10b  /* USBB2_ULPITLL_CLK_MUXMODE.usbb1_ulpiphy_dat1 INPUT | PULLDOWN */
90                         0x1a4 0x10b  /* USBB2_ULPITLL_CLK_MUXMODE.usbb1_ulpiphy_dat2 INPUT | PULLDOWN */
91                         0x1a6 0x10b  /* USBB2_ULPITLL_CLK_MUXMODE.usbb1_ulpiphy_dat3 INPUT | PULLDOWN */
92                         0x1a8 0x10b  /* USBB2_ULPITLL_CLK_MUXMODE.usbb1_ulpiphy_dat4 INPUT | PULLDOWN */
93                         0x1aa 0x10b  /* USBB2_ULPITLL_CLK_MUXMODE.usbb1_ulpiphy_dat5 INPUT | PULLDOWN */
94                         0x1ac 0x10b  /* USBB2_ULPITLL_CLK_MUXMODE.usbb1_ulpiphy_dat6 INPUT | PULLDOWN */
95                         0x1ae 0x10b  /* USBB2_ULPITLL_CLK_MUXMODE.usbb1_ulpiphy_dat7 INPUT | PULLDOWN */
96                 >;
97         };
98 };
100 &i2c1 {
101         clock-frequency = <2600000>;
103         twl: twl@48 {
104                 reg = <0x48>;
105                 interrupts = <7>; /* SYS_NIRQ cascaded to intc */
106                 interrupt-parent = <&intc>;
107         };
108 };
110 /include/ "twl4030.dtsi"
112 &mmc1 {
113         vmmc-supply = <&vmmc1>;
114         vmmc_aux-supply = <&vsim>;
115         bus-width = <8>;
116 };
118 &mmc2 {
119         status = "disabled";
120 };
122 &mmc3 {
123         status = "disabled";
124 };
126 &usbhshost {
127         port2-mode = "ehci-phy";
128 };
130 &usbhsehci {
131         phys = <0 &hsusb2_phy>;
132 };
134 &twl_gpio {
135         ti,use-leds;
136         /* pullups: BIT(1) */
137         ti,pullups = <0x000002>;
138         /*
139          * pulldowns:
140          * BIT(2), BIT(6), BIT(7), BIT(8), BIT(13)
141          * BIT(15), BIT(16), BIT(17)
142          */
143         ti,pulldowns = <0x03a1c4>;
144 };