Merge branch 'master' of git://git.denx.de/u-boot-usb
[oweals/u-boot.git] / arch / arm / dts / am335x-bonegreen.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/;
9
10 #include "am33xx.dtsi"
11 #include "am335x-bone-common.dtsi"
12
13 / {
14         model = "TI AM335x BeagleBone Green";
15         compatible = "ti,am335x-bone-green", "ti,am335x-bone-black", "ti,am335x-bone", "ti,am33xx";
16         chosen {
17                 stdout-path = &uart0;
18                 tick-timer = &timer2;
19         };
20 };
21
22 &ldo3_reg {
23         regulator-min-microvolt = <1800000>;
24         regulator-max-microvolt = <1800000>;
25         regulator-always-on;
26 };
27
28 &mmc1 {
29         vmmc-supply = <&vmmcsd_fixed>;
30 };
31
32 &mmc2 {
33         vmmc-supply = <&vmmcsd_fixed>;
34         pinctrl-names = "default";
35         pinctrl-0 = <&emmc_pins>;
36         bus-width = <8>;
37         status = "okay";
38 };
39
40 &am33xx_pinmux {
41         uart2_pins: uart2_pins {
42                 pinctrl-single,pins = <
43                         AM33XX_IOPAD(0x950, PIN_INPUT | MUX_MODE1)      /* spi0_sclk.uart2_rxd */
44                         AM33XX_IOPAD(0x954, PIN_OUTPUT | MUX_MODE1)     /* spi0_d0.uart2_txd */
45                 >;
46         };
47 };
48
49 &uart2 {
50         pinctrl-names = "default";
51         pinctrl-0 = <&uart2_pins>;
52         status = "okay";
53 };
54
55 &rtc {
56         system-power-controller;
57 };