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 | ||
2647dd10 AC |
33 | am33xx_pinmux: pinmux@44e10800 { |
34 | pinctrl-names = "default"; | |
35 | pinctrl-0 = <&user_leds_s0>; | |
36 | ||
37 | user_leds_s0: user_leds_s0 { | |
38 | pinctrl-single,pins = < | |
39 | 0x10 0x7 /* gpmc_ad4.gpio1_4, OUTPUT | MODE7 */ | |
40 | 0x14 0x7 /* gpmc_ad5.gpio1_5, OUTPUT | MODE7 */ | |
41 | 0x18 0x7 /* gpmc_ad6.gpio1_6, OUTPUT | MODE7 */ | |
42 | 0x1c 0x7 /* gpmc_ad7.gpio1_7, OUTPUT | MODE7 */ | |
43 | >; | |
44 | }; | |
45 | }; | |
46 | ||
571ccb28 AC |
47 | ocp { |
48 | uart1: serial@44e09000 { | |
49 | status = "okay"; | |
50 | }; | |
51 | ||
52 | i2c1: i2c@44e0b000 { | |
53 | status = "okay"; | |
54 | clock-frequency = <400000>; | |
55 | ||
56 | tps: tps@2d { | |
57 | reg = <0x2d>; | |
58 | }; | |
59 | ||
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 | }; | |
87 | }; | |
88 | }; | |
89 | ||
90 | vbat: fixedregulator@0 { | |
91 | compatible = "regulator-fixed"; | |
92 | regulator-name = "vbat"; | |
93 | regulator-min-microvolt = <5000000>; | |
94 | regulator-max-microvolt = <5000000>; | |
95 | regulator-boot-on; | |
96 | }; | |
97 | ||
98 | lis3_reg: fixedregulator@1 { | |
99 | compatible = "regulator-fixed"; | |
100 | regulator-name = "lis3_reg"; | |
101 | regulator-boot-on; | |
102 | }; | |
103 | }; | |
104 | ||
105 | /include/ "tps65910.dtsi" | |
106 | ||
107 | &tps { | |
108 | vcc1-supply = <&vbat>; | |
109 | vcc2-supply = <&vbat>; | |
110 | vcc3-supply = <&vbat>; | |
111 | vcc4-supply = <&vbat>; | |
112 | vcc5-supply = <&vbat>; | |
113 | vcc6-supply = <&vbat>; | |
114 | vcc7-supply = <&vbat>; | |
115 | vccio-supply = <&vbat>; | |
116 | ||
117 | regulators { | |
118 | vrtc_reg: regulator@0 { | |
119 | regulator-always-on; | |
120 | }; | |
121 | ||
122 | vio_reg: regulator@1 { | |
123 | regulator-always-on; | |
124 | }; | |
125 | ||
126 | vdd1_reg: regulator@2 { | |
127 | /* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */ | |
128 | regulator-name = "vdd_mpu"; | |
129 | regulator-min-microvolt = <912500>; | |
130 | regulator-max-microvolt = <1312500>; | |
131 | regulator-boot-on; | |
132 | regulator-always-on; | |
133 | }; | |
134 | ||
135 | vdd2_reg: regulator@3 { | |
136 | /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */ | |
137 | regulator-name = "vdd_core"; | |
138 | regulator-min-microvolt = <912500>; | |
139 | regulator-max-microvolt = <1150000>; | |
140 | regulator-boot-on; | |
141 | regulator-always-on; | |
142 | }; | |
143 | ||
144 | vdd3_reg: regulator@4 { | |
145 | regulator-always-on; | |
146 | }; | |
147 | ||
148 | vdig1_reg: regulator@5 { | |
149 | regulator-always-on; | |
150 | }; | |
151 | ||
152 | vdig2_reg: regulator@6 { | |
153 | regulator-always-on; | |
154 | }; | |
155 | ||
156 | vpll_reg: regulator@7 { | |
157 | regulator-always-on; | |
158 | }; | |
159 | ||
160 | vdac_reg: regulator@8 { | |
161 | regulator-always-on; | |
162 | }; | |
163 | ||
164 | vaux1_reg: regulator@9 { | |
165 | regulator-always-on; | |
166 | }; | |
167 | ||
168 | vaux2_reg: regulator@10 { | |
169 | regulator-always-on; | |
170 | }; | |
171 | ||
172 | vaux33_reg: regulator@11 { | |
173 | regulator-always-on; | |
174 | }; | |
175 | ||
176 | vmmc_reg: regulator@12 { | |
177 | regulator-always-on; | |
178 | }; | |
179 | }; | |
180 | }; |