]> git.karo-electronics.de Git - karo-tx-linux.git/blob - arch/arm/boot/dts/wm8850.dtsi
Merge branch 'for-next-merge' of git://git.kernel.org/pub/scm/linux/kernel/git/nab...
[karo-tx-linux.git] / arch / arm / boot / dts / wm8850.dtsi
1 /*
2  * wm8850.dtsi - Device tree file for Wondermedia WM8850 SoC
3  *
4  * Copyright (C) 2012 Tony Prisk <linux@prisktech.co.nz>
5  *
6  * Licensed under GPLv2 or later
7  */
8
9 /include/ "skeleton.dtsi"
10
11 / {
12         compatible = "wm,wm8850";
13
14         aliases {
15                 serial0 = &uart0;
16                 serial1 = &uart1;
17                 serial2 = &uart2;
18                 serial3 = &uart3;
19         };
20
21         soc {
22                 #address-cells = <1>;
23                 #size-cells = <1>;
24                 compatible = "simple-bus";
25                 ranges;
26                 interrupt-parent = <&intc0>;
27
28                 intc0: interrupt-controller@d8140000 {
29                         compatible = "via,vt8500-intc";
30                         interrupt-controller;
31                         reg = <0xd8140000 0x10000>;
32                         #interrupt-cells = <1>;
33                 };
34
35                 /* Secondary IC cascaded to intc0 */
36                 intc1: interrupt-controller@d8150000 {
37                         compatible = "via,vt8500-intc";
38                         interrupt-controller;
39                         #interrupt-cells = <1>;
40                         reg = <0xD8150000 0x10000>;
41                         interrupts = <56 57 58 59 60 61 62 63>;
42                 };
43
44                 gpio: gpio-controller@d8110000 {
45                         compatible = "wm,wm8650-gpio";
46                         gpio-controller;
47                         reg = <0xd8110000 0x10000>;
48                         #gpio-cells = <3>;
49                 };
50
51                 pmc@d8130000 {
52                         compatible = "via,vt8500-pmc";
53                         reg = <0xd8130000 0x1000>;
54
55                         clocks {
56                                 #address-cells = <1>;
57                                 #size-cells = <0>;
58
59                                 ref25: ref25M {
60                                         #clock-cells = <0>;
61                                         compatible = "fixed-clock";
62                                         clock-frequency = <25000000>;
63                                 };
64
65                                 ref24: ref24M {
66                                         #clock-cells = <0>;
67                                         compatible = "fixed-clock";
68                                         clock-frequency = <24000000>;
69                                 };
70
71                                 plla: plla {
72                                         #clock-cells = <0>;
73                                         compatible = "wm,wm8750-pll-clock";
74                                         clocks = <&ref25>;
75                                         reg = <0x200>;
76                                 };
77
78                                 pllb: pllb {
79                                         #clock-cells = <0>;
80                                         compatible = "wm,wm8750-pll-clock";
81                                         clocks = <&ref25>;
82                                         reg = <0x204>;
83                                 };
84
85                                 clkuart0: uart0 {
86                                         #clock-cells = <0>;
87                                         compatible = "via,vt8500-device-clock";
88                                         clocks = <&ref24>;
89                                         enable-reg = <0x254>;
90                                         enable-bit = <24>;
91                                 };
92
93                                 clkuart1: uart1 {
94                                         #clock-cells = <0>;
95                                         compatible = "via,vt8500-device-clock";
96                                         clocks = <&ref24>;
97                                         enable-reg = <0x254>;
98                                         enable-bit = <25>;
99                                 };
100
101                                 clkuart2: uart2 {
102                                         #clock-cells = <0>;
103                                         compatible = "via,vt8500-device-clock";
104                                         clocks = <&ref24>;
105                                         enable-reg = <0x254>;
106                                         enable-bit = <26>;
107                                 };
108
109                                 clkuart3: uart3 {
110                                         #clock-cells = <0>;
111                                         compatible = "via,vt8500-device-clock";
112                                         clocks = <&ref24>;
113                                         enable-reg = <0x254>;
114                                         enable-bit = <27>;
115                                 };
116
117                                 clkpwm: pwm {
118                                         #clock-cells = <0>;
119                                         compatible = "via,vt8500-device-clock";
120                                         clocks = <&pllb>;
121                                         divisor-reg = <0x350>;
122                                         enable-reg = <0x250>;
123                                         enable-bit = <17>;
124                                 };
125
126                                 clksdhc: sdhc {
127                                         #clock-cells = <0>;
128                                         compatible = "via,vt8500-device-clock";
129                                         clocks = <&pllb>;
130                                         divisor-reg = <0x330>;
131                                         divisor-mask = <0x3f>;
132                                         enable-reg = <0x250>;
133                                         enable-bit = <0>;
134                                 };
135                         };
136                 };
137
138                 fb: fb@d8051700 {
139                         compatible = "wm,wm8505-fb";
140                         reg = <0xd8051700 0x200>;
141                 };
142
143                 ge_rops@d8050400 {
144                         compatible = "wm,prizm-ge-rops";
145                         reg = <0xd8050400 0x100>;
146                 };
147
148                 pwm: pwm@d8220000 {
149                         #pwm-cells = <3>;
150                         compatible = "via,vt8500-pwm";
151                         reg = <0xd8220000 0x100>;
152                         clocks = <&clkpwm>;
153                 };
154
155                 timer@d8130100 {
156                         compatible = "via,vt8500-timer";
157                         reg = <0xd8130100 0x28>;
158                         interrupts = <36>;
159                 };
160
161                 ehci@d8007900 {
162                         compatible = "via,vt8500-ehci";
163                         reg = <0xd8007900 0x200>;
164                         interrupts = <26>;
165                 };
166
167                 uhci@d8007b00 {
168                         compatible = "platform-uhci";
169                         reg = <0xd8007b00 0x200>;
170                         interrupts = <26>;
171                 };
172
173                 uhci@d8008d00 {
174                         compatible = "platform-uhci";
175                         reg = <0xd8008d00 0x200>;
176                         interrupts = <26>;
177                 };
178
179                 uart0: uart@d8200000 {
180                         compatible = "via,vt8500-uart";
181                         reg = <0xd8200000 0x1040>;
182                         interrupts = <32>;
183                         clocks = <&clkuart0>;
184                 };
185
186                 uart1: uart@d82b0000 {
187                         compatible = "via,vt8500-uart";
188                         reg = <0xd82b0000 0x1040>;
189                         interrupts = <33>;
190                         clocks = <&clkuart1>;
191                 };
192
193                 uart2: uart@d8210000 {
194                         compatible = "via,vt8500-uart";
195                         reg = <0xd8210000 0x1040>;
196                         interrupts = <47>;
197                         clocks = <&clkuart2>;
198                 };
199
200                 uart3: uart@d82c0000 {
201                         compatible = "via,vt8500-uart";
202                         reg = <0xd82c0000 0x1040>;
203                         interrupts = <50>;
204                         clocks = <&clkuart3>;
205                 };
206
207                 rtc@d8100000 {
208                         compatible = "via,vt8500-rtc";
209                         reg = <0xd8100000 0x10000>;
210                         interrupts = <48>;
211                 };
212
213                 sdhc@d800a000 {
214                         compatible = "wm,wm8505-sdhc";
215                         reg = <0xd800a000 0x1000>;
216                         interrupts = <20 21>;
217                         clocks = <&clksdhc>;
218                         bus-width = <4>;
219                         sdon-inverted;
220                 };
221         };
222 };