Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wirel...
[pandora-kernel.git] / arch / arm / boot / dts / kirkwood.dtsi
1 /include/ "skeleton.dtsi"
2
3 / {
4         compatible = "marvell,kirkwood";
5         interrupt-parent = <&intc>;
6
7         aliases {
8                gpio0 = &gpio0;
9                gpio1 = &gpio1;
10         };
11         intc: interrupt-controller {
12                 compatible = "marvell,orion-intc", "marvell,intc";
13                 interrupt-controller;
14                 #interrupt-cells = <1>;
15                 reg = <0xf1020204 0x04>,
16                       <0xf1020214 0x04>;
17         };
18
19         ocp@f1000000 {
20                 compatible = "simple-bus";
21                 ranges = <0x00000000 0xf1000000 0x4000000
22                           0xf5000000 0xf5000000 0x0000400>;
23                 #address-cells = <1>;
24                 #size-cells = <1>;
25
26                 core_clk: core-clocks@10030 {
27                         compatible = "marvell,kirkwood-core-clock";
28                         reg = <0x10030 0x4>;
29                         #clock-cells = <1>;
30                 };
31
32                 gpio0: gpio@10100 {
33                         compatible = "marvell,orion-gpio";
34                         #gpio-cells = <2>;
35                         gpio-controller;
36                         reg = <0x10100 0x40>;
37                         ngpios = <32>;
38                         interrupt-controller;
39                         #interrupt-cells = <2>;
40                         interrupts = <35>, <36>, <37>, <38>;
41                 };
42
43                 gpio1: gpio@10140 {
44                         compatible = "marvell,orion-gpio";
45                         #gpio-cells = <2>;
46                         gpio-controller;
47                         reg = <0x10140 0x40>;
48                         ngpios = <18>;
49                         interrupt-controller;
50                         #interrupt-cells = <2>;
51                         interrupts = <39>, <40>, <41>;
52                 };
53
54                 serial@12000 {
55                         compatible = "ns16550a";
56                         reg = <0x12000 0x100>;
57                         reg-shift = <2>;
58                         interrupts = <33>;
59                         clocks = <&gate_clk 7>;
60                         /* set clock-frequency in board dts */
61                         status = "disabled";
62                 };
63
64                 serial@12100 {
65                         compatible = "ns16550a";
66                         reg = <0x12100 0x100>;
67                         reg-shift = <2>;
68                         interrupts = <34>;
69                         clocks = <&gate_clk 7>;
70                         /* set clock-frequency in board dts */
71                         status = "disabled";
72                 };
73
74                 rtc@10300 {
75                         compatible = "marvell,kirkwood-rtc", "marvell,orion-rtc";
76                         reg = <0x10300 0x20>;
77                         interrupts = <53>;
78                 };
79
80                 spi@10600 {
81                         compatible = "marvell,orion-spi";
82                         #address-cells = <1>;
83                         #size-cells = <0>;
84                         cell-index = <0>;
85                         interrupts = <23>;
86                         reg = <0x10600 0x28>;
87                         clocks = <&gate_clk 7>;
88                         status = "disabled";
89                 };
90
91                 gate_clk: clock-gating-control@2011c {
92                         compatible = "marvell,kirkwood-gating-clock";
93                         reg = <0x2011c 0x4>;
94                         clocks = <&core_clk 0>;
95                         #clock-cells = <1>;
96                 };
97
98                 wdt@20300 {
99                         compatible = "marvell,orion-wdt";
100                         reg = <0x20300 0x28>;
101                         clocks = <&gate_clk 7>;
102                         status = "okay";
103                 };
104
105                 xor@60800 {
106                         compatible = "marvell,orion-xor";
107                         reg = <0x60800 0x100
108                                0x60A00 0x100>;
109                         status = "okay";
110                         clocks = <&gate_clk 8>;
111
112                         xor00 {
113                               interrupts = <5>;
114                               dmacap,memcpy;
115                               dmacap,xor;
116                         };
117                         xor01 {
118                               interrupts = <6>;
119                               dmacap,memcpy;
120                               dmacap,xor;
121                               dmacap,memset;
122                         };
123                 };
124
125                 xor@60900 {
126                         compatible = "marvell,orion-xor";
127                         reg = <0x60900 0x100
128                                0xd0B00 0x100>;
129                         status = "okay";
130                         clocks = <&gate_clk 16>;
131
132                         xor00 {
133                               interrupts = <7>;
134                               dmacap,memcpy;
135                               dmacap,xor;
136                         };
137                         xor01 {
138                               interrupts = <8>;
139                               dmacap,memcpy;
140                               dmacap,xor;
141                               dmacap,memset;
142                         };
143                 };
144
145                 ehci@50000 {
146                         compatible = "marvell,orion-ehci";
147                         reg = <0x50000 0x1000>;
148                         interrupts = <19>;
149                         clocks = <&gate_clk 3>;
150                         status = "okay";
151                 };
152
153                 sata@80000 {
154                         compatible = "marvell,orion-sata";
155                         reg = <0x80000 0x5000>;
156                         interrupts = <21>;
157                         clocks = <&gate_clk 14>, <&gate_clk 15>;
158                         clock-names = "0", "1";
159                         status = "disabled";
160                 };
161
162                 nand@3000000 {
163                         #address-cells = <1>;
164                         #size-cells = <1>;
165                         cle = <0>;
166                         ale = <1>;
167                         bank-width = <1>;
168                         compatible = "marvell,orion-nand";
169                         reg = <0x3000000 0x400>;
170                         chip-delay = <25>;
171                         /* set partition map and/or chip-delay in board dts */
172                         clocks = <&gate_clk 7>;
173                         status = "disabled";
174                 };
175
176                 i2c@11000 {
177                         compatible = "marvell,mv64xxx-i2c";
178                         reg = <0x11000 0x20>;
179                         #address-cells = <1>;
180                         #size-cells = <0>;
181                         interrupts = <29>;
182                         clock-frequency = <100000>;
183                         clocks = <&gate_clk 7>;
184                         status = "disabled";
185                 };
186
187                 crypto@30000 {
188                         compatible = "marvell,orion-crypto";
189                         reg = <0x30000 0x10000>,
190                               <0xf5000000 0x800>;
191                         reg-names = "regs", "sram";
192                         interrupts = <22>;
193                         clocks = <&gate_clk 17>;
194                         status = "okay";
195                 };
196         };
197 };