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