blob: 9199456cfac4f1de23149e4b59f6ebd484f3c1ef [file] [log] [blame]
AnilKumar Ch32bb00e2012-06-22 15:10:49 +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 EVM";
14 compatible = "ti,am335x-evm", "ti,am33xx";
15
AnilKumar Chefeedcf2012-08-31 15:07:20 +053016 cpus {
17 cpu@0 {
18 cpu0-supply = <&vdd1_reg>;
19 };
20 };
21
AnilKumar Ch32bb00e2012-06-22 15:10:49 +053022 memory {
23 device_type = "memory";
24 reg = <0x80000000 0x10000000>; /* 256 MB */
25 };
Vaibhav Hiremath53d91032012-08-15 16:53:25 +053026
AnilKumar Ch5d9b66f2012-11-06 19:18:29 +053027 am33xx_pinmux: pinmux@44e10800 {
28 pinctrl-names = "default";
29 pinctrl-0 = <&matrix_keypad_s0>;
30
31 matrix_keypad_s0: matrix_keypad_s0 {
32 pinctrl-single,pins = <
33 0x54 0x7 /* gpmc_a5.gpio1_21, OUTPUT | MODE7 */
34 0x58 0x7 /* gpmc_a6.gpio1_22, OUTPUT | MODE7 */
35 0x64 0x27 /* gpmc_a9.gpio1_25, INPUT | MODE7 */
36 0x68 0x27 /* gpmc_a10.gpio1_26, INPUT | MODE7 */
37 0x6c 0x27 /* gpmc_a11.gpio1_27, INPUT | MODE7 */
38 >;
39 };
40 };
41
Vaibhav Hiremath53d91032012-08-15 16:53:25 +053042 ocp {
Vaibhav Hiremath5d83cb82012-08-27 16:59:08 +053043 uart1: serial@44e09000 {
Vaibhav Hiremath53d91032012-08-15 16:53:25 +053044 status = "okay";
45 };
AnilKumar Ch1b2a9702012-08-21 16:47:29 +053046
Vaibhav Hiremath5d83cb82012-08-27 16:59:08 +053047 i2c1: i2c@44e0b000 {
AnilKumar Ch1b2a9702012-08-21 16:47:29 +053048 status = "okay";
49 clock-frequency = <400000>;
50
Vaibhav Hiremath5d83cb82012-08-27 16:59:08 +053051 tps: tps@2d {
52 reg = <0x2d>;
AnilKumar Ch1b2a9702012-08-21 16:47:29 +053053 };
54 };
AnilKumar Ch492dd022012-09-20 02:49:29 +053055
56 i2c2: i2c@4802a000 {
57 status = "okay";
AnilKumar Chcd5cfac2012-09-21 21:19:11 +053058 clock-frequency = <100000>;
AnilKumar Ch492dd022012-09-20 02:49:29 +053059
60 lis331dlh: lis331dlh@18 {
61 compatible = "st,lis331dlh", "st,lis3lv02d";
62 reg = <0x18>;
63 Vdd-supply = <&lis3_reg>;
64 Vdd_IO-supply = <&lis3_reg>;
65
66 st,click-single-x;
67 st,click-single-y;
68 st,click-single-z;
69 st,click-thresh-x = <10>;
70 st,click-thresh-y = <10>;
71 st,click-thresh-z = <10>;
72 st,irq1-click;
73 st,irq2-click;
74 st,wakeup-x-lo;
75 st,wakeup-x-hi;
76 st,wakeup-y-lo;
77 st,wakeup-y-hi;
78 st,wakeup-z-lo;
79 st,wakeup-z-hi;
80 st,min-limit-x = <120>;
81 st,min-limit-y = <120>;
82 st,min-limit-z = <140>;
83 st,max-limit-x = <550>;
84 st,max-limit-y = <550>;
85 st,max-limit-z = <750>;
86 };
AnilKumar Chbf078552012-09-20 02:49:30 +053087
AnilKumar Chcd5cfac2012-09-21 21:19:11 +053088 tsl2550: tsl2550@39 {
89 compatible = "taos,tsl2550";
90 reg = <0x39>;
91 };
92
AnilKumar Chbf078552012-09-20 02:49:30 +053093 tmp275: tmp275@48 {
94 compatible = "ti,tmp275";
95 reg = <0x48>;
96 };
AnilKumar Ch492dd022012-09-20 02:49:29 +053097 };
AnilKumar Ch1b2a9702012-08-21 16:47:29 +053098 };
99
100 vbat: fixedregulator@0 {
101 compatible = "regulator-fixed";
102 regulator-name = "vbat";
103 regulator-min-microvolt = <5000000>;
104 regulator-max-microvolt = <5000000>;
105 regulator-boot-on;
106 };
AnilKumar Ch492dd022012-09-20 02:49:29 +0530107
108 lis3_reg: fixedregulator@1 {
109 compatible = "regulator-fixed";
110 regulator-name = "lis3_reg";
111 regulator-boot-on;
112 };
AnilKumar Ch1b2a9702012-08-21 16:47:29 +0530113};
114
115/include/ "tps65910.dtsi"
116
117&tps {
118 vcc1-supply = <&vbat>;
119 vcc2-supply = <&vbat>;
120 vcc3-supply = <&vbat>;
121 vcc4-supply = <&vbat>;
122 vcc5-supply = <&vbat>;
123 vcc6-supply = <&vbat>;
124 vcc7-supply = <&vbat>;
125 vccio-supply = <&vbat>;
126
127 regulators {
128 vrtc_reg: regulator@0 {
129 regulator-always-on;
130 };
131
132 vio_reg: regulator@1 {
133 regulator-always-on;
134 };
135
136 vdd1_reg: regulator@2 {
137 /* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
138 regulator-name = "vdd_mpu";
139 regulator-min-microvolt = <912500>;
140 regulator-max-microvolt = <1312500>;
141 regulator-boot-on;
142 regulator-always-on;
143 };
144
145 vdd2_reg: regulator@3 {
146 /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */
147 regulator-name = "vdd_core";
148 regulator-min-microvolt = <912500>;
149 regulator-max-microvolt = <1150000>;
150 regulator-boot-on;
151 regulator-always-on;
152 };
153
154 vdd3_reg: regulator@4 {
155 regulator-always-on;
156 };
157
158 vdig1_reg: regulator@5 {
159 regulator-always-on;
160 };
161
162 vdig2_reg: regulator@6 {
163 regulator-always-on;
164 };
165
166 vpll_reg: regulator@7 {
167 regulator-always-on;
168 };
169
170 vdac_reg: regulator@8 {
171 regulator-always-on;
172 };
173
174 vaux1_reg: regulator@9 {
175 regulator-always-on;
176 };
177
178 vaux2_reg: regulator@10 {
179 regulator-always-on;
180 };
181
182 vaux33_reg: regulator@11 {
183 regulator-always-on;
184 };
185
186 vmmc_reg: regulator@12 {
187 regulator-always-on;
188 };
Vaibhav Hiremath53d91032012-08-15 16:53:25 +0530189 };
AnilKumar Ch32bb00e2012-06-22 15:10:49 +0530190};