blob: 0365e56e02b57ed132d8362a22e64120fbfaaf26 [file] [log] [blame]
AnilKumar Ch6a66a8b2012-06-22 15:10:50 +05301/*
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
Florian Vaussardeb33ef62013-06-03 16:12:22 +020010#include "am33xx.dtsi"
AnilKumar Ch6a66a8b2012-06-22 15:10:50 +053011
12/ {
13 model = "TI AM335x BeagleBone";
14 compatible = "ti,am335x-bone", "ti,am33xx";
15
AnilKumar Chefeedcf2012-08-31 15:07:20 +053016 cpus {
17 cpu@0 {
18 cpu0-supply = <&dcdc2_reg>;
19 };
20 };
21
AnilKumar Ch6a66a8b2012-06-22 15:10:50 +053022 memory {
23 device_type = "memory";
24 reg = <0x80000000 0x10000000>; /* 256 MB */
25 };
Vaibhav Hiremath53d91032012-08-15 16:53:25 +053026
AnilKumar Ch7e782c42012-11-06 19:18:33 +053027 am33xx_pinmux: pinmux@44e10800 {
28 pinctrl-names = "default";
Vaibhav Hiremath4d927572013-05-20 18:58:10 +053029 pinctrl-0 = <&clkout2_pin>;
AnilKumar Ch7e782c42012-11-06 19:18:33 +053030
31 user_leds_s0: user_leds_s0 {
32 pinctrl-single,pins = <
33 0x54 0x7 /* gpmc_a5.gpio1_21, OUTPUT | MODE7 */
34 0x58 0x17 /* gpmc_a6.gpio1_22, OUTPUT_PULLUP | MODE7 */
35 0x5c 0x7 /* gpmc_a7.gpio1_23, OUTPUT | MODE7 */
36 0x60 0x17 /* gpmc_a8.gpio1_24, OUTPUT_PULLUP | MODE7 */
37 >;
38 };
Vaibhav Hiremath3f866442013-03-26 14:14:01 +053039
40 i2c0_pins: pinmux_i2c0_pins {
41 pinctrl-single,pins = <
42 0x188 0x30 /* i2c0_sda.i2c0_sda PULLUP | INPUTENABLE | MODE0 */
43 0x18c 0x30 /* i2c0_scl.i2c0_scl PULLUP | INPUTENABLE | MODE0 */
44 >;
45 };
Vaibhav Hiremath9f2fbe12013-03-27 16:31:34 +053046
47 uart0_pins: pinmux_uart0_pins {
48 pinctrl-single,pins = <
49 0x170 0x30 /* uart0_rxd.uart0_rxd PULLUP | INPUTENABLE | MODE0 */
50 0x174 0x00 /* uart0_txd.uart0_txd PULLDOWN | MODE0 */
51 >;
52 };
Vaibhav Hiremath4d927572013-05-20 18:58:10 +053053
54 clkout2_pin: pinmux_clkout2_pin {
55 pinctrl-single,pins = <
56 0x1b4 0x03 /* xdma_event_intr1.clkout2 OMAP_MUX_MODE3 | AM33XX_PIN_OUTPUT */
57 >;
58 };
AnilKumar Ch7e782c42012-11-06 19:18:33 +053059 };
60
Vaibhav Hiremath53d91032012-08-15 16:53:25 +053061 ocp {
Vaibhav Hiremathdde3b0d2013-03-28 11:36:05 +053062 uart0: serial@44e09000 {
Vaibhav Hiremath9f2fbe12013-03-27 16:31:34 +053063 pinctrl-names = "default";
64 pinctrl-0 = <&uart0_pins>;
65
Vaibhav Hiremath53d91032012-08-15 16:53:25 +053066 status = "okay";
67 };
AnilKumar Cha06ceff2012-08-21 16:47:30 +053068
AnilKumar Chb918e2c2012-11-21 17:22:17 +053069 i2c0: i2c@44e0b000 {
Vaibhav Hiremath3f866442013-03-26 14:14:01 +053070 pinctrl-names = "default";
71 pinctrl-0 = <&i2c0_pins>;
72
AnilKumar Cha06ceff2012-08-21 16:47:30 +053073 status = "okay";
74 clock-frequency = <400000>;
75
76 tps: tps@24 {
77 reg = <0x24>;
78 };
79
80 };
81 };
AnilKumar Ch5d4e1702012-11-06 19:18:34 +053082
83 leds {
Vaibhav Hiremathb8f70c32013-03-26 15:42:15 +053084 pinctrl-names = "default";
85 pinctrl-0 = <&user_leds_s0>;
86
AnilKumar Ch5d4e1702012-11-06 19:18:34 +053087 compatible = "gpio-leds";
88
89 led@2 {
90 label = "beaglebone:green:heartbeat";
AnilKumar Chb918e2c2012-11-21 17:22:17 +053091 gpios = <&gpio1 21 0>;
AnilKumar Ch5d4e1702012-11-06 19:18:34 +053092 linux,default-trigger = "heartbeat";
93 default-state = "off";
94 };
95
96 led@3 {
97 label = "beaglebone:green:mmc0";
AnilKumar Chb918e2c2012-11-21 17:22:17 +053098 gpios = <&gpio1 22 0>;
AnilKumar Ch5d4e1702012-11-06 19:18:34 +053099 linux,default-trigger = "mmc0";
100 default-state = "off";
101 };
102
103 led@4 {
104 label = "beaglebone:green:usr2";
AnilKumar Chb918e2c2012-11-21 17:22:17 +0530105 gpios = <&gpio1 23 0>;
AnilKumar Ch5d4e1702012-11-06 19:18:34 +0530106 default-state = "off";
107 };
108
109 led@5 {
110 label = "beaglebone:green:usr3";
AnilKumar Chb918e2c2012-11-21 17:22:17 +0530111 gpios = <&gpio1 24 0>;
AnilKumar Ch5d4e1702012-11-06 19:18:34 +0530112 default-state = "off";
113 };
114 };
AnilKumar Cha06ceff2012-08-21 16:47:30 +0530115};
116
117/include/ "tps65217.dtsi"
118
119&tps {
120 regulators {
121 dcdc1_reg: regulator@0 {
122 regulator-always-on;
123 };
124
125 dcdc2_reg: regulator@1 {
126 /* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
127 regulator-name = "vdd_mpu";
128 regulator-min-microvolt = <925000>;
129 regulator-max-microvolt = <1325000>;
130 regulator-boot-on;
131 regulator-always-on;
132 };
133
134 dcdc3_reg: regulator@2 {
135 /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
136 regulator-name = "vdd_core";
137 regulator-min-microvolt = <925000>;
138 regulator-max-microvolt = <1150000>;
139 regulator-boot-on;
140 regulator-always-on;
141 };
142
143 ldo1_reg: regulator@3 {
144 regulator-always-on;
145 };
146
147 ldo2_reg: regulator@4 {
148 regulator-always-on;
149 };
150
151 ldo3_reg: regulator@5 {
152 regulator-always-on;
153 };
154
155 ldo4_reg: regulator@6 {
156 regulator-always-on;
157 };
Vaibhav Hiremath53d91032012-08-15 16:53:25 +0530158 };
AnilKumar Ch6a66a8b2012-06-22 15:10:50 +0530159};
Mugunthan V N1a39a652012-11-14 09:08:00 +0000160
161&cpsw_emac0 {
162 phy_id = <&davinci_mdio>, <0>;
163};
164
165&cpsw_emac1 {
166 phy_id = <&davinci_mdio>, <1>;
167};