2 * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
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.
10 #include "omap34xx.dtsi"
13 model = "TI OMAP3 BeagleBoard";
14 compatible = "ti,omap3-beagle", "ti,omap3";
23 device_type = "memory";
24 reg = <0x80000000 0x10000000>; /* 256 MB */
28 compatible = "gpio-leds";
30 label = "beagleboard::pmu_stat";
31 gpios = <&twl_gpio 19 GPIO_ACTIVE_HIGH>; /* LEDB */
35 label = "beagleboard::usr0";
36 gpios = <&gpio5 22 GPIO_ACTIVE_HIGH>; /* 150 -> D6 LED */
37 linux,default-trigger = "heartbeat";
41 label = "beagleboard::usr1";
42 gpios = <&gpio5 21 GPIO_ACTIVE_HIGH>; /* 149 -> D7 LED */
43 linux,default-trigger = "mmc0";
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>;
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>;
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>;
76 compatible = "gpio-keys";
80 gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
89 gpio1_pins: pinmux_gpio1_pins {
90 pinctrl-single,pins = <
91 0x14 (PIN_INPUT | PIN_OFF_WAKEUPENABLE | MUX_MODE4) /* sys_boot5.gpio_7 */
97 pinctrl-names = "default";
102 hsusbb2_pins: pinmux_hsusbb2_pins {
103 pinctrl-single,pins = <
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 */
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 */
128 clock-frequency = <2600000>;
132 interrupts = <7>; /* SYS_NIRQ cascaded to intc */
133 interrupt-parent = <&intc>;
137 #include "twl4030.dtsi"
138 #include "twl4030_omap3.dtsi"
141 vmmc-supply = <&vmmc1>;
142 vmmc_aux-supply = <&vsim>;
155 port2-mode = "ehci-phy";
159 phys = <0 &hsusb2_phy>;
164 /* pullups: BIT(1) */
165 ti,pullups = <0x000002>;
168 * BIT(2), BIT(6), BIT(7), BIT(8), BIT(13)
169 * BIT(15), BIT(16), BIT(17)
171 ti,pulldowns = <0x03a1c4>;
175 pinctrl-names = "default";
176 pinctrl-0 = <&uart3_pins>;
180 pinctrl-names = "default";
181 pinctrl-0 = <&gpio1_pins>;