blob: bfba6fc9e8687c7a5c83da274af1060ad4f5ab27 [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
10/include/ "am33xx.dtsi"
11
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 Hiremathb8f70c32013-03-26 15:42:15 +053029 pinctrl-0 = <>;
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 };
AnilKumar Ch7e782c42012-11-06 19:18:33 +053053 };
54
Vaibhav Hiremath53d91032012-08-15 16:53:25 +053055 ocp {
Vaibhav Hiremathdde3b0d2013-03-28 11:36:05 +053056 uart0: serial@44e09000 {
Vaibhav Hiremath9f2fbe12013-03-27 16:31:34 +053057 pinctrl-names = "default";
58 pinctrl-0 = <&uart0_pins>;
59
Vaibhav Hiremath53d91032012-08-15 16:53:25 +053060 status = "okay";
61 };
AnilKumar Cha06ceff2012-08-21 16:47:30 +053062
AnilKumar Chb918e2c2012-11-21 17:22:17 +053063 i2c0: i2c@44e0b000 {
Vaibhav Hiremath3f866442013-03-26 14:14:01 +053064 pinctrl-names = "default";
65 pinctrl-0 = <&i2c0_pins>;
66
AnilKumar Cha06ceff2012-08-21 16:47:30 +053067 status = "okay";
68 clock-frequency = <400000>;
69
70 tps: tps@24 {
71 reg = <0x24>;
72 };
73
74 };
75 };
AnilKumar Ch5d4e1702012-11-06 19:18:34 +053076
77 leds {
Vaibhav Hiremathb8f70c32013-03-26 15:42:15 +053078 pinctrl-names = "default";
79 pinctrl-0 = <&user_leds_s0>;
80
AnilKumar Ch5d4e1702012-11-06 19:18:34 +053081 compatible = "gpio-leds";
82
83 led@2 {
84 label = "beaglebone:green:heartbeat";
AnilKumar Chb918e2c2012-11-21 17:22:17 +053085 gpios = <&gpio1 21 0>;
AnilKumar Ch5d4e1702012-11-06 19:18:34 +053086 linux,default-trigger = "heartbeat";
87 default-state = "off";
88 };
89
90 led@3 {
91 label = "beaglebone:green:mmc0";
AnilKumar Chb918e2c2012-11-21 17:22:17 +053092 gpios = <&gpio1 22 0>;
AnilKumar Ch5d4e1702012-11-06 19:18:34 +053093 linux,default-trigger = "mmc0";
94 default-state = "off";
95 };
96
97 led@4 {
98 label = "beaglebone:green:usr2";
AnilKumar Chb918e2c2012-11-21 17:22:17 +053099 gpios = <&gpio1 23 0>;
AnilKumar Ch5d4e1702012-11-06 19:18:34 +0530100 default-state = "off";
101 };
102
103 led@5 {
104 label = "beaglebone:green:usr3";
AnilKumar Chb918e2c2012-11-21 17:22:17 +0530105 gpios = <&gpio1 24 0>;
AnilKumar Ch5d4e1702012-11-06 19:18:34 +0530106 default-state = "off";
107 };
108 };
AnilKumar Cha06ceff2012-08-21 16:47:30 +0530109};
110
111/include/ "tps65217.dtsi"
112
113&tps {
114 regulators {
115 dcdc1_reg: regulator@0 {
116 regulator-always-on;
117 };
118
119 dcdc2_reg: regulator@1 {
120 /* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
121 regulator-name = "vdd_mpu";
122 regulator-min-microvolt = <925000>;
123 regulator-max-microvolt = <1325000>;
124 regulator-boot-on;
125 regulator-always-on;
126 };
127
128 dcdc3_reg: regulator@2 {
129 /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
130 regulator-name = "vdd_core";
131 regulator-min-microvolt = <925000>;
132 regulator-max-microvolt = <1150000>;
133 regulator-boot-on;
134 regulator-always-on;
135 };
136
137 ldo1_reg: regulator@3 {
138 regulator-always-on;
139 };
140
141 ldo2_reg: regulator@4 {
142 regulator-always-on;
143 };
144
145 ldo3_reg: regulator@5 {
146 regulator-always-on;
147 };
148
149 ldo4_reg: regulator@6 {
150 regulator-always-on;
151 };
Vaibhav Hiremath53d91032012-08-15 16:53:25 +0530152 };
AnilKumar Ch6a66a8b2012-06-22 15:10:50 +0530153};
Mugunthan V N1a39a652012-11-14 09:08:00 +0000154
155&cpsw_emac0 {
156 phy_id = <&davinci_mdio>, <0>;
157};
158
159&cpsw_emac1 {
160 phy_id = <&davinci_mdio>, <1>;
161};