blob: 11b240c5d3238e7a76699be74f0f1085de4f5c4b [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 };
39 };
40
Vaibhav Hiremath53d91032012-08-15 16:53:25 +053041 ocp {
Vaibhav Hiremath5d83cb82012-08-27 16:59:08 +053042 uart1: serial@44e09000 {
Vaibhav Hiremath53d91032012-08-15 16:53:25 +053043 status = "okay";
44 };
AnilKumar Cha06ceff2012-08-21 16:47:30 +053045
Vaibhav Hiremath5d83cb82012-08-27 16:59:08 +053046 i2c1: i2c@44e0b000 {
AnilKumar Cha06ceff2012-08-21 16:47:30 +053047 status = "okay";
48 clock-frequency = <400000>;
49
50 tps: tps@24 {
51 reg = <0x24>;
52 };
53
54 };
55 };
AnilKumar Ch5d4e1702012-11-06 19:18:34 +053056
57 leds {
58 compatible = "gpio-leds";
59
60 led@2 {
61 label = "beaglebone:green:heartbeat";
62 gpios = <&gpio2 21 0>;
63 linux,default-trigger = "heartbeat";
64 default-state = "off";
65 };
66
67 led@3 {
68 label = "beaglebone:green:mmc0";
69 gpios = <&gpio2 22 0>;
70 linux,default-trigger = "mmc0";
71 default-state = "off";
72 };
73
74 led@4 {
75 label = "beaglebone:green:usr2";
76 gpios = <&gpio2 23 0>;
77 default-state = "off";
78 };
79
80 led@5 {
81 label = "beaglebone:green:usr3";
82 gpios = <&gpio2 24 0>;
83 default-state = "off";
84 };
85 };
AnilKumar Cha06ceff2012-08-21 16:47:30 +053086};
87
88/include/ "tps65217.dtsi"
89
90&tps {
91 regulators {
92 dcdc1_reg: regulator@0 {
93 regulator-always-on;
94 };
95
96 dcdc2_reg: regulator@1 {
97 /* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
98 regulator-name = "vdd_mpu";
99 regulator-min-microvolt = <925000>;
100 regulator-max-microvolt = <1325000>;
101 regulator-boot-on;
102 regulator-always-on;
103 };
104
105 dcdc3_reg: regulator@2 {
106 /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
107 regulator-name = "vdd_core";
108 regulator-min-microvolt = <925000>;
109 regulator-max-microvolt = <1150000>;
110 regulator-boot-on;
111 regulator-always-on;
112 };
113
114 ldo1_reg: regulator@3 {
115 regulator-always-on;
116 };
117
118 ldo2_reg: regulator@4 {
119 regulator-always-on;
120 };
121
122 ldo3_reg: regulator@5 {
123 regulator-always-on;
124 };
125
126 ldo4_reg: regulator@6 {
127 regulator-always-on;
128 };
Vaibhav Hiremath53d91032012-08-15 16:53:25 +0530129 };
AnilKumar Ch6a66a8b2012-06-22 15:10:50 +0530130};
Mugunthan V N1a39a652012-11-14 09:08:00 +0000131
132&cpsw_emac0 {
133 phy_id = <&davinci_mdio>, <0>;
134};
135
136&cpsw_emac1 {
137 phy_id = <&davinci_mdio>, <1>;
138};