Commit | Line | Data |
---|---|---|
571ccb28 AC |
1 | /* |
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 | ||
9 | /* | |
10 | * AM335x Starter Kit | |
11 | * http://www.ti.com/tool/tmdssk3358 | |
12 | */ | |
13 | ||
14 | /dts-v1/; | |
15 | ||
16 | /include/ "am33xx.dtsi" | |
17 | ||
18 | / { | |
19 | model = "TI AM335x EVM-SK"; | |
20 | compatible = "ti,am335x-evmsk", "ti,am33xx"; | |
21 | ||
22 | cpus { | |
23 | cpu@0 { | |
24 | cpu0-supply = <&vdd1_reg>; | |
25 | }; | |
26 | }; | |
27 | ||
28 | memory { | |
29 | device_type = "memory"; | |
30 | reg = <0x80000000 0x10000000>; /* 256 MB */ | |
31 | }; | |
32 | ||
33 | ocp { | |
34 | uart1: serial@44e09000 { | |
35 | status = "okay"; | |
36 | }; | |
37 | ||
38 | i2c1: i2c@44e0b000 { | |
39 | status = "okay"; | |
40 | clock-frequency = <400000>; | |
41 | ||
42 | tps: tps@2d { | |
43 | reg = <0x2d>; | |
44 | }; | |
45 | ||
46 | lis331dlh: lis331dlh@18 { | |
47 | compatible = "st,lis331dlh", "st,lis3lv02d"; | |
48 | reg = <0x18>; | |
49 | Vdd-supply = <&lis3_reg>; | |
50 | Vdd_IO-supply = <&lis3_reg>; | |
51 | ||
52 | st,click-single-x; | |
53 | st,click-single-y; | |
54 | st,click-single-z; | |
55 | st,click-thresh-x = <10>; | |
56 | st,click-thresh-y = <10>; | |
57 | st,click-thresh-z = <10>; | |
58 | st,irq1-click; | |
59 | st,irq2-click; | |
60 | st,wakeup-x-lo; | |
61 | st,wakeup-x-hi; | |
62 | st,wakeup-y-lo; | |
63 | st,wakeup-y-hi; | |
64 | st,wakeup-z-lo; | |
65 | st,wakeup-z-hi; | |
66 | st,min-limit-x = <120>; | |
67 | st,min-limit-y = <120>; | |
68 | st,min-limit-z = <140>; | |
69 | st,max-limit-x = <550>; | |
70 | st,max-limit-y = <550>; | |
71 | st,max-limit-z = <750>; | |
72 | }; | |
73 | }; | |
74 | }; | |
75 | ||
76 | vbat: fixedregulator@0 { | |
77 | compatible = "regulator-fixed"; | |
78 | regulator-name = "vbat"; | |
79 | regulator-min-microvolt = <5000000>; | |
80 | regulator-max-microvolt = <5000000>; | |
81 | regulator-boot-on; | |
82 | }; | |
83 | ||
84 | lis3_reg: fixedregulator@1 { | |
85 | compatible = "regulator-fixed"; | |
86 | regulator-name = "lis3_reg"; | |
87 | regulator-boot-on; | |
88 | }; | |
89 | }; | |
90 | ||
91 | /include/ "tps65910.dtsi" | |
92 | ||
93 | &tps { | |
94 | vcc1-supply = <&vbat>; | |
95 | vcc2-supply = <&vbat>; | |
96 | vcc3-supply = <&vbat>; | |
97 | vcc4-supply = <&vbat>; | |
98 | vcc5-supply = <&vbat>; | |
99 | vcc6-supply = <&vbat>; | |
100 | vcc7-supply = <&vbat>; | |
101 | vccio-supply = <&vbat>; | |
102 | ||
103 | regulators { | |
104 | vrtc_reg: regulator@0 { | |
105 | regulator-always-on; | |
106 | }; | |
107 | ||
108 | vio_reg: regulator@1 { | |
109 | regulator-always-on; | |
110 | }; | |
111 | ||
112 | vdd1_reg: regulator@2 { | |
113 | /* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */ | |
114 | regulator-name = "vdd_mpu"; | |
115 | regulator-min-microvolt = <912500>; | |
116 | regulator-max-microvolt = <1312500>; | |
117 | regulator-boot-on; | |
118 | regulator-always-on; | |
119 | }; | |
120 | ||
121 | vdd2_reg: regulator@3 { | |
122 | /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */ | |
123 | regulator-name = "vdd_core"; | |
124 | regulator-min-microvolt = <912500>; | |
125 | regulator-max-microvolt = <1150000>; | |
126 | regulator-boot-on; | |
127 | regulator-always-on; | |
128 | }; | |
129 | ||
130 | vdd3_reg: regulator@4 { | |
131 | regulator-always-on; | |
132 | }; | |
133 | ||
134 | vdig1_reg: regulator@5 { | |
135 | regulator-always-on; | |
136 | }; | |
137 | ||
138 | vdig2_reg: regulator@6 { | |
139 | regulator-always-on; | |
140 | }; | |
141 | ||
142 | vpll_reg: regulator@7 { | |
143 | regulator-always-on; | |
144 | }; | |
145 | ||
146 | vdac_reg: regulator@8 { | |
147 | regulator-always-on; | |
148 | }; | |
149 | ||
150 | vaux1_reg: regulator@9 { | |
151 | regulator-always-on; | |
152 | }; | |
153 | ||
154 | vaux2_reg: regulator@10 { | |
155 | regulator-always-on; | |
156 | }; | |
157 | ||
158 | vaux33_reg: regulator@11 { | |
159 | regulator-always-on; | |
160 | }; | |
161 | ||
162 | vmmc_reg: regulator@12 { | |
163 | regulator-always-on; | |
164 | }; | |
165 | }; | |
166 | }; |