blob: 860630b425ea5324b6167caa27475e2afe490627 [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";
29 pinctrl-0 = <&user_leds_s0>;
30
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 };
AnilKumar Ch7e782c42012-11-06 19:18:33 +053046 };
47
Vaibhav Hiremath53d91032012-08-15 16:53:25 +053048 ocp {
Vaibhav Hiremath5d83cb82012-08-27 16:59:08 +053049 uart1: serial@44e09000 {
Vaibhav Hiremath53d91032012-08-15 16:53:25 +053050 status = "okay";
51 };
AnilKumar Cha06ceff2012-08-21 16:47:30 +053052
AnilKumar Chb918e2c2012-11-21 17:22:17 +053053 i2c0: i2c@44e0b000 {
Vaibhav Hiremath3f866442013-03-26 14:14:01 +053054 pinctrl-names = "default";
55 pinctrl-0 = <&i2c0_pins>;
56
AnilKumar Cha06ceff2012-08-21 16:47:30 +053057 status = "okay";
58 clock-frequency = <400000>;
59
60 tps: tps@24 {
61 reg = <0x24>;
62 };
63
64 };
65 };
AnilKumar Ch5d4e1702012-11-06 19:18:34 +053066
67 leds {
68 compatible = "gpio-leds";
69
70 led@2 {
71 label = "beaglebone:green:heartbeat";
AnilKumar Chb918e2c2012-11-21 17:22:17 +053072 gpios = <&gpio1 21 0>;
AnilKumar Ch5d4e1702012-11-06 19:18:34 +053073 linux,default-trigger = "heartbeat";
74 default-state = "off";
75 };
76
77 led@3 {
78 label = "beaglebone:green:mmc0";
AnilKumar Chb918e2c2012-11-21 17:22:17 +053079 gpios = <&gpio1 22 0>;
AnilKumar Ch5d4e1702012-11-06 19:18:34 +053080 linux,default-trigger = "mmc0";
81 default-state = "off";
82 };
83
84 led@4 {
85 label = "beaglebone:green:usr2";
AnilKumar Chb918e2c2012-11-21 17:22:17 +053086 gpios = <&gpio1 23 0>;
AnilKumar Ch5d4e1702012-11-06 19:18:34 +053087 default-state = "off";
88 };
89
90 led@5 {
91 label = "beaglebone:green:usr3";
AnilKumar Chb918e2c2012-11-21 17:22:17 +053092 gpios = <&gpio1 24 0>;
AnilKumar Ch5d4e1702012-11-06 19:18:34 +053093 default-state = "off";
94 };
95 };
AnilKumar Cha06ceff2012-08-21 16:47:30 +053096};
97
98/include/ "tps65217.dtsi"
99
100&tps {
101 regulators {
102 dcdc1_reg: regulator@0 {
103 regulator-always-on;
104 };
105
106 dcdc2_reg: regulator@1 {
107 /* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
108 regulator-name = "vdd_mpu";
109 regulator-min-microvolt = <925000>;
110 regulator-max-microvolt = <1325000>;
111 regulator-boot-on;
112 regulator-always-on;
113 };
114
115 dcdc3_reg: regulator@2 {
116 /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
117 regulator-name = "vdd_core";
118 regulator-min-microvolt = <925000>;
119 regulator-max-microvolt = <1150000>;
120 regulator-boot-on;
121 regulator-always-on;
122 };
123
124 ldo1_reg: regulator@3 {
125 regulator-always-on;
126 };
127
128 ldo2_reg: regulator@4 {
129 regulator-always-on;
130 };
131
132 ldo3_reg: regulator@5 {
133 regulator-always-on;
134 };
135
136 ldo4_reg: regulator@6 {
137 regulator-always-on;
138 };
Vaibhav Hiremath53d91032012-08-15 16:53:25 +0530139 };
AnilKumar Ch6a66a8b2012-06-22 15:10:50 +0530140};
Mugunthan V N1a39a652012-11-14 09:08:00 +0000141
142&cpsw_emac0 {
143 phy_id = <&davinci_mdio>, <0>;
144};
145
146&cpsw_emac1 {
147 phy_id = <&davinci_mdio>, <1>;
148};