2 * Copyright 2011 ST-Ericsson AB
4 * The code contained herein is licensed under the GNU General Public
5 * License. You may obtain a copy of the GNU General Public License
6 * Version 2 or later at the following locations:
8 * http://www.opensource.org/licenses/gpl-license.html
9 * http://www.gnu.org/copyleft/gpl.html
13 #include "ste-dbx5x0.dtsi"
14 #include "ste-href-family-pinctrl.dtsi"
17 model = "Calao Systems Snowball platform with device tree";
18 compatible = "calaosystems,snowball-a9500", "st-ericsson,u9500";
21 reg = <0x00000000 0x20000000>;
25 compatible = "regulator-fixed";
26 regulator-name = "en-3v3-fixed-supply";
27 regulator-min-microvolt = <3300000>;
28 regulator-max-microvolt = <3300000>;
29 /* AB8500 GPIOs start from 1 - offset 25 is GPIO26. */
30 gpio = <&ab8500_gpio 25 0x4>;
31 startup-delay-us = <5000>;
36 compatible = "gpio-keys";
41 debounce_interval = <50>;
45 gpios = <&gpio1 0 0x4>;
48 debounce_interval = <50>;
52 gpios = <&gpio4 23 0x4>;
55 debounce_interval = <50>;
59 gpios = <&gpio4 24 0x4>;
62 debounce_interval = <50>;
66 gpios = <&gpio5 1 0x4>;
69 debounce_interval = <50>;
73 gpios = <&gpio5 2 0x4>;
78 compatible = "gpio-leds";
81 gpios = <&gpio4 14 0x4>;
83 linux,default-trigger = "heartbeat";
89 pinctrl-names = "default", "sleep";
90 pinctrl-0 = <&musb_default_mode>;
91 pinctrl-1 = <&musb_sleep_mode>;
95 compatible = "stericsson,snd-soc-mop500";
97 stericsson,cpu-dai = <&msp1 &msp3>;
98 stericsson,audio-codec = <&codec>;
102 pinctrl-names = "default";
103 pinctrl-0 = <&msp0_default_mode>;
108 pinctrl-names = "default";
109 pinctrl-0 = <&msp1_default_mode>;
114 pinctrl-names = "default";
115 pinctrl-0 = <&msp2_default_mode>;
123 external-bus@50000000 {
127 compatible = "smsc,lan9115";
129 interrupts = <12 IRQ_TYPE_EDGE_RISING>;
130 interrupt-parent = <&gpio4>;
131 vdd33a-supply = <&en_3v3_reg>;
132 vddvario-supply = <&db8500_vape_reg>;
136 smsc,force-internal-phy;
137 smsc,irq-active-high;
140 clocks = <&prcc_pclk 3 0>;
144 vmmci: regulator-gpio {
145 gpios = <&gpio6 25 0x4>;
146 enable-gpio = <&gpio7 4 0x4>;
151 // External Micro SD slot
153 arm,primecell-periphid = <0x10480180>;
154 max-frequency = <100000000>;
156 mmc-cap-mmc-highspeed;
157 vmmc-supply = <&ab8500_ldo_aux3_reg>;
158 vqmmc-supply = <&vmmci>;
159 pinctrl-names = "default", "sleep";
160 pinctrl-0 = <&sdi0_default_mode>;
161 pinctrl-1 = <&sdi0_sleep_mode>;
163 cd-gpios = <&gpio6 26 0x4>; // 218
171 arm,primecell-periphid = <0x10480180>;
172 max-frequency = <100000000>;
174 pinctrl-names = "default", "sleep";
175 pinctrl-0 = <&sdi1_default_mode>;
176 pinctrl-1 = <&sdi1_sleep_mode>;
181 // Unused PoP eMMC - register and put it to sleep by default */
183 arm,primecell-periphid = <0x10480180>;
184 pinctrl-names = "default";
185 pinctrl-0 = <&sdi2_sleep_mode>;
192 arm,primecell-periphid = <0x10480180>;
193 max-frequency = <100000000>;
195 mmc-cap-mmc-highspeed;
196 vmmc-supply = <&ab8500_ldo_aux2_reg>;
197 pinctrl-names = "default", "sleep";
198 pinctrl-0 = <&sdi4_default_mode>;
199 pinctrl-1 = <&sdi4_sleep_mode>;
205 pinctrl-names = "default", "sleep";
206 pinctrl-0 = <&uart0_default_mode>;
207 pinctrl-1 = <&uart0_sleep_mode>;
212 pinctrl-names = "default", "sleep";
213 pinctrl-0 = <&uart1_default_mode>;
214 pinctrl-1 = <&uart1_sleep_mode>;
219 pinctrl-names = "default", "sleep";
220 pinctrl-0 = <&uart2_default_mode>;
221 pinctrl-1 = <&uart2_sleep_mode>;
226 pinctrl-names = "default","sleep";
227 pinctrl-0 = <&i2c0_default_mode>;
228 pinctrl-1 = <&i2c0_sleep_mode>;
232 pinctrl-names = "default","sleep";
233 pinctrl-0 = <&i2c1_default_mode>;
234 pinctrl-1 = <&i2c1_sleep_mode>;
238 pinctrl-names = "default","sleep";
239 pinctrl-0 = <&i2c2_default_mode>;
240 pinctrl-1 = <&i2c2_sleep_mode>;
244 pinctrl-names = "default","sleep";
245 pinctrl-0 = <&i2c3_default_mode>;
246 pinctrl-1 = <&i2c3_sleep_mode>;
261 trip0-temp = <70000>;
262 trip0-type = "active";
263 trip0-cdev-num = <1>;
264 trip0-cdev-name0 = "thermal-cpufreq-0";
266 trip1-temp = <75000>;
267 trip1-type = "active";
268 trip1-cdev-num = <1>;
269 trip1-cdev-name0 = "thermal-cpufreq-0";
271 trip2-temp = <80000>;
272 trip2-type = "active";
273 trip2-cdev-num = <1>;
274 trip2-cdev-name0 = "thermal-cpufreq-0";
276 trip3-temp = <85000>;
277 trip3-type = "critical";
278 trip3-cdev-num = <0>;
285 compatible = "stericsson,ab8500-gpio";
288 ext_regulators: ab8500-ext-regulators {
289 ab8500_ext1_reg: ab8500_ext1 {
290 regulator-name = "ab8500-ext-supply1";
293 ab8500_ext2_reg_reg: ab8500_ext2 {
294 regulator-name = "ab8500-ext-supply2";
297 ab8500_ext3_reg_reg: ab8500_ext3 {
298 regulator-name = "ab8500-ext-supply3";
303 ab8500_ldo_aux1_reg: ab8500_ldo_aux1 {
304 regulator-name = "V-DISPLAY";
307 ab8500_ldo_aux2_reg: ab8500_ldo_aux2 {
308 regulator-name = "V-eMMC1";
311 ab8500_ldo_aux3_reg: ab8500_ldo_aux3 {
312 regulator-name = "V-MMC-SD";
315 ab8500_ldo_intcore_reg: ab8500_ldo_intcore {
316 regulator-name = "V-INTCORE";
319 ab8500_ldo_tvout_reg: ab8500_ldo_tvout {
320 regulator-name = "V-TVOUT";
323 ab8500_ldo_usb_reg: ab8500_ldo_usb {
324 regulator-name = "dummy";
327 ab8500_ldo_audio_reg: ab8500_ldo_audio {
328 regulator-name = "V-AUD";
331 ab8500_ldo_anamic1_reg: ab8500_ldo_anamic1 {
332 regulator-name = "V-AMIC1";
335 ab8500_ldo_anamic2_reg: ab8500_ldo_anamic2 {
336 regulator-name = "V-AMIC2";
339 ab8500_ldo_dmic_reg: ab8500_ldo_dmic {
340 regulator-name = "V-DMIC";
343 ab8500_ldo_ana_reg: ab8500_ldo_ana {
344 regulator-name = "V-CSI/DSI";
352 sdi0_default_mode: sdi0_default {
354 ste,function = "mc0";
355 ste,pins = "mc0dat31dir_a_1";
358 ste,pins = "GPIO21_AB3"; /* DAT31DIR */
359 ste,config = <&out_hi>;