]> rtime.felk.cvut.cz Git - can-eth-gw-linux.git/blob - arch/arm/boot/dts/snowball.dts
ARM: OMAP: Remove omap_init_consistent_dma_size()
[can-eth-gw-linux.git] / arch / arm / boot / dts / snowball.dts
1 /*
2  * Copyright 2011 ST-Ericsson AB
3  *
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:
7  *
8  * http://www.opensource.org/licenses/gpl-license.html
9  * http://www.gnu.org/copyleft/gpl.html
10  */
11
12 /dts-v1/;
13 /include/ "dbx5x0.dtsi"
14
15 / {
16         model = "Calao Systems Snowball platform with device tree";
17         compatible = "calaosystems,snowball-a9500";
18
19         memory {
20                 reg = <0x00000000 0x20000000>;
21         };
22
23         en_3v3_reg: en_3v3 {
24                 compatible = "regulator-fixed";
25                 regulator-name = "en-3v3-fixed-supply";
26                 regulator-min-microvolt = <3300000>;
27                 regulator-max-microvolt = <3300000>;
28                 gpios = <&gpio0 26  0x4>; // 26
29                 startup-delay-us = <5000>;
30                 enable-active-high;
31         };
32
33         gpio_keys {
34                 compatible = "gpio-keys";
35                 #address-cells = <1>;
36                 #size-cells = <0>;
37
38                 button@1 {
39                         debounce_interval = <50>;
40                         wakeup = <1>;
41                         linux,code = <2>;
42                         label = "userpb";
43                         gpios = <&gpio1 0 0x4>;
44                 };
45                 button@2 {
46                         debounce_interval = <50>;
47                         wakeup = <1>;
48                         linux,code = <3>;
49                         label = "extkb1";
50                         gpios = <&gpio4 23 0x4>;
51                 };
52                 button@3 {
53                         debounce_interval = <50>;
54                         wakeup = <1>;
55                         linux,code = <4>;
56                         label = "extkb2";
57                         gpios = <&gpio4 24 0x4>;
58                 };
59                 button@4 {
60                         debounce_interval = <50>;
61                         wakeup = <1>;
62                         linux,code = <5>;
63                         label = "extkb3";
64                         gpios = <&gpio5 1 0x4>;
65                 };
66                 button@5 {
67                         debounce_interval = <50>;
68                         wakeup = <1>;
69                         linux,code = <6>;
70                         label = "extkb4";
71                         gpios = <&gpio5 2 0x4>;
72                 };
73         };
74
75         leds {
76                 compatible = "gpio-leds";
77                 used-led {
78                         label = "user_led";
79                         gpios = <&gpio4 14 0x4>;
80                         default-state = "on";
81                         linux,default-trigger = "heartbeat";
82                 };
83         };
84
85         soc-u9500 {
86
87                 sound {
88                         compatible = "stericsson,snd-soc-mop500";
89
90                         stericsson,cpu-dai = <&msp1 &msp3>;
91                         stericsson,audio-codec = <&codec>;
92                 };
93
94                 msp1: msp@80124000 {
95                         status = "okay";
96                 };
97
98                 msp3: msp@80125000 {
99                         status = "okay";
100                 };
101
102                 external-bus@50000000 {
103                         status = "okay";
104
105                         ethernet@0 {
106                                 compatible = "smsc,lan9115";
107                                 reg = <0 0x10000>;
108                                 interrupts = <12 0x1>;
109                                 interrupt-parent = <&gpio4>;
110                                 vdd33a-supply = <&en_3v3_reg>;
111                                 vddvario-supply = <&db8500_vape_reg>;
112
113
114                                 reg-shift = <1>;
115                                 reg-io-width = <2>;
116                                 smsc,force-internal-phy;
117                                 smsc,irq-active-high;
118                                 smsc,irq-push-pull;
119                         };
120                 };
121
122                 // External Micro SD slot
123                 sdi@80126000 {
124                         arm,primecell-periphid = <0x10480180>;
125                         max-frequency = <50000000>;
126                         bus-width = <8>;
127                         mmc-cap-mmc-highspeed;
128                         vmmc-supply = <&ab8500_ldo_aux3_reg>;
129
130                         cd-gpios  = <&gpio6 26 0x4>; // 218
131                         cd-inverted;
132
133                         status = "okay";
134                 };
135
136                 // On-board eMMC
137                 sdi@80114000 {
138                         arm,primecell-periphid = <0x10480180>;
139                         max-frequency = <50000000>;
140                         bus-width = <8>;
141                         mmc-cap-mmc-highspeed;
142                         vmmc-supply = <&ab8500_ldo_aux2_reg>;
143
144                         status = "okay";
145                 };
146
147                 uart@80120000 {
148                         status = "okay";
149                 };
150
151                 uart@80121000 {
152                         status = "okay";
153                 };
154
155                 uart@80007000 {
156                         status = "okay";
157                 };
158
159                 i2c@80004000 {
160                         tc3589x@42 {
161                                 //compatible = "tc3589x";
162                                 reg = <0x42>;
163                                 gpios = <&gpio6 25 0x4>;
164                                 interrupt-parent = <&gpio6>;
165                         };
166                         tps61052@33 {
167                                 //compatible = "tps61052";
168                                 reg = <0x33>;
169                         };
170                 };
171
172                 i2c@80128000 {
173                         lp5521@0x33 {
174                                 // compatible = "lp5521";
175                                 reg = <0x33>;
176                         };
177                         lp5521@0x34 {
178                                 // compatible = "lp5521";
179                                 reg = <0x34>;
180                         };
181                         bh1780@0x29 {
182                                 // compatible = "rohm,bh1780gli";
183                                 reg = <0x33>;
184                         };
185                 };
186         };
187 };