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