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};
17
18&ldo3_reg {
19	regulator-min-microvolt = <1800000>;
20	regulator-max-microvolt = <1800000>;
21	regulator-always-on;
22};
23
24&mmc1 {
25	vmmc-supply = <&vmmcsd_fixed>;
26};
27
28&mmc2 {
29	vmmc-supply = <&vmmcsd_fixed>;
30	pinctrl-names = "default";
31	pinctrl-0 = <&emmc_pins>;
32	bus-width = <8>;
33	status = "okay";
34};
35
36&am33xx_pinmux {
37	uart2_pins: uart2_pins {
38		pinctrl-single,pins = <
39			AM33XX_IOPAD(0x950, PIN_INPUT | MUX_MODE1)	/* spi0_sclk.uart2_rxd */
40			AM33XX_IOPAD(0x954, PIN_OUTPUT | MUX_MODE1)	/* spi0_d0.uart2_txd */
41		>;
42	};
43};
44
45&uart2 {
46	pinctrl-names = "default";
47	pinctrl-0 = <&uart2_pins>;
48	status = "okay";
49};
50
51&rtc {
52	system-power-controller;
53};
54