blob: fada7e6d24d8543fd956ef18d7981aa12b9b9ee6 [file] [log] [blame]
Jason Cooper3d468b62012-02-27 16:07:13 +00001/include/ "skeleton.dtsi"
2
3/ {
Andrew Lunn77843502012-07-18 19:22:54 +02004 compatible = "marvell,kirkwood";
Andrew Lunn278b45b2012-06-27 13:40:04 +02005 interrupt-parent = <&intc>;
6
Andrew Lunnf9e75922012-11-17 17:00:44 +01007 aliases {
8 gpio0 = &gpio0;
9 gpio1 = &gpio1;
10 };
Andrew Lunn278b45b2012-06-27 13:40:04 +020011 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 };
Jason Cooper3d468b62012-02-27 16:07:13 +000018
Jason Cooper163f2ce2012-03-15 01:00:27 +000019 ocp@f1000000 {
20 compatible = "simple-bus";
Andrew Lunnf37fbd32012-09-03 20:29:34 +020021 ranges = <0x00000000 0xf1000000 0x4000000
22 0xf5000000 0xf5000000 0x0000400>;
Jason Cooper163f2ce2012-03-15 01:00:27 +000023 #address-cells = <1>;
24 #size-cells = <1>;
25
Andrew Lunn1611f872012-11-17 15:22:28 +010026 core_clk: core-clocks@10030 {
27 compatible = "marvell,kirkwood-core-clock";
28 reg = <0x10030 0x4>;
29 #clock-cells = <1>;
30 };
31
Andrew Lunn278b45b2012-06-27 13:40:04 +020032 gpio0: gpio@10100 {
33 compatible = "marvell,orion-gpio";
34 #gpio-cells = <2>;
35 gpio-controller;
36 reg = <0x10100 0x40>;
Andrew Lunnf9e75922012-11-17 17:00:44 +010037 ngpios = <32>;
38 interrupt-controller;
Sebastian Hesselbarth09d75bc2013-01-22 20:46:33 +010039 #interrupt-cells = <2>;
Andrew Lunn278b45b2012-06-27 13:40:04 +020040 interrupts = <35>, <36>, <37>, <38>;
Andrew Lunnde887472013-02-03 11:34:26 +010041 clocks = <&gate_clk 7>;
Andrew Lunn278b45b2012-06-27 13:40:04 +020042 };
43
44 gpio1: gpio@10140 {
45 compatible = "marvell,orion-gpio";
46 #gpio-cells = <2>;
47 gpio-controller;
48 reg = <0x10140 0x40>;
Andrew Lunnf9e75922012-11-17 17:00:44 +010049 ngpios = <18>;
50 interrupt-controller;
Sebastian Hesselbarth09d75bc2013-01-22 20:46:33 +010051 #interrupt-cells = <2>;
Andrew Lunn278b45b2012-06-27 13:40:04 +020052 interrupts = <39>, <40>, <41>;
Andrew Lunnde887472013-02-03 11:34:26 +010053 clocks = <&gate_clk 7>;
Andrew Lunn278b45b2012-06-27 13:40:04 +020054 };
55
Jason Cooper163f2ce2012-03-15 01:00:27 +000056 serial@12000 {
57 compatible = "ns16550a";
58 reg = <0x12000 0x100>;
59 reg-shift = <2>;
60 interrupts = <33>;
Andrew Lunn1611f872012-11-17 15:22:28 +010061 clocks = <&gate_clk 7>;
Jason Cooper163f2ce2012-03-15 01:00:27 +000062 status = "disabled";
63 };
64
65 serial@12100 {
66 compatible = "ns16550a";
67 reg = <0x12100 0x100>;
68 reg-shift = <2>;
69 interrupts = <34>;
Andrew Lunn1611f872012-11-17 15:22:28 +010070 clocks = <&gate_clk 7>;
Jason Cooper163f2ce2012-03-15 01:00:27 +000071 status = "disabled";
72 };
Jason Coopere871b872012-03-06 23:55:04 +000073
74 rtc@10300 {
Andrew Lunn77843502012-07-18 19:22:54 +020075 compatible = "marvell,kirkwood-rtc", "marvell,orion-rtc";
Jason Coopere871b872012-03-06 23:55:04 +000076 reg = <0x10300 0x20>;
77 interrupts = <53>;
Andrew Lunn89c58c12013-02-03 12:32:06 +010078 clocks = <&gate_clk 7>;
Jason Coopere871b872012-03-06 23:55:04 +000079 };
Jamie Lentin858156b2012-04-18 11:06:42 +010080
Michael Walle76372122012-06-06 20:30:57 +020081 spi@10600 {
82 compatible = "marvell,orion-spi";
83 #address-cells = <1>;
84 #size-cells = <0>;
85 cell-index = <0>;
86 interrupts = <23>;
87 reg = <0x10600 0x28>;
Andrew Lunn1611f872012-11-17 15:22:28 +010088 clocks = <&gate_clk 7>;
Michael Walle76372122012-06-06 20:30:57 +020089 status = "disabled";
90 };
91
Andrew Lunn1611f872012-11-17 15:22:28 +010092 gate_clk: clock-gating-control@2011c {
93 compatible = "marvell,kirkwood-gating-clock";
94 reg = <0x2011c 0x4>;
95 clocks = <&core_clk 0>;
96 #clock-cells = <1>;
97 };
98
Andrew Lunn1e7bad02012-06-10 15:20:06 +020099 wdt@20300 {
100 compatible = "marvell,orion-wdt";
101 reg = <0x20300 0x28>;
Andrew Lunn1611f872012-11-17 15:22:28 +0100102 clocks = <&gate_clk 7>;
Andrew Lunn1e7bad02012-06-10 15:20:06 +0200103 status = "okay";
104 };
105
Andrew Lunnc896ed02012-11-18 11:44:57 +0100106 xor@60800 {
107 compatible = "marvell,orion-xor";
108 reg = <0x60800 0x100
109 0x60A00 0x100>;
110 status = "okay";
111 clocks = <&gate_clk 8>;
112
113 xor00 {
114 interrupts = <5>;
115 dmacap,memcpy;
116 dmacap,xor;
117 };
118 xor01 {
119 interrupts = <6>;
120 dmacap,memcpy;
121 dmacap,xor;
122 dmacap,memset;
123 };
124 };
125
126 xor@60900 {
127 compatible = "marvell,orion-xor";
128 reg = <0x60900 0x100
129 0xd0B00 0x100>;
130 status = "okay";
131 clocks = <&gate_clk 16>;
132
133 xor00 {
134 interrupts = <7>;
135 dmacap,memcpy;
136 dmacap,xor;
137 };
138 xor01 {
139 interrupts = <8>;
140 dmacap,memcpy;
141 dmacap,xor;
142 dmacap,memset;
143 };
144 };
145
Andrew Lunnb6cf8072012-10-20 13:10:01 +0200146 ehci@50000 {
147 compatible = "marvell,orion-ehci";
148 reg = <0x50000 0x1000>;
149 interrupts = <19>;
Andrew Lunn53dfa8e2013-01-06 11:10:34 +0100150 clocks = <&gate_clk 3>;
Andrew Lunnb6cf8072012-10-20 13:10:01 +0200151 status = "okay";
152 };
153
Andrew Lunn97b414e2012-06-10 16:45:37 +0200154 sata@80000 {
155 compatible = "marvell,orion-sata";
156 reg = <0x80000 0x5000>;
157 interrupts = <21>;
Andrew Lunn1611f872012-11-17 15:22:28 +0100158 clocks = <&gate_clk 14>, <&gate_clk 15>;
159 clock-names = "0", "1";
Andrew Lunn97b414e2012-06-10 16:45:37 +0200160 status = "disabled";
161 };
162
Jamie Lentin858156b2012-04-18 11:06:42 +0100163 nand@3000000 {
164 #address-cells = <1>;
165 #size-cells = <1>;
166 cle = <0>;
167 ale = <1>;
168 bank-width = <1>;
Andrew Lunn77843502012-07-18 19:22:54 +0200169 compatible = "marvell,orion-nand";
Jamie Lentin858156b2012-04-18 11:06:42 +0100170 reg = <0x3000000 0x400>;
171 chip-delay = <25>;
172 /* set partition map and/or chip-delay in board dts */
Andrew Lunn1611f872012-11-17 15:22:28 +0100173 clocks = <&gate_clk 7>;
Jamie Lentin858156b2012-04-18 11:06:42 +0100174 status = "disabled";
175 };
Andrew Lunne91cac02012-07-20 13:51:55 +0200176
177 i2c@11000 {
178 compatible = "marvell,mv64xxx-i2c";
179 reg = <0x11000 0x20>;
180 #address-cells = <1>;
181 #size-cells = <0>;
182 interrupts = <29>;
183 clock-frequency = <100000>;
Andrew Lunn1611f872012-11-17 15:22:28 +0100184 clocks = <&gate_clk 7>;
Andrew Lunne91cac02012-07-20 13:51:55 +0200185 status = "disabled";
186 };
Andrew Lunnf37fbd32012-09-03 20:29:34 +0200187
188 crypto@30000 {
189 compatible = "marvell,orion-crypto";
190 reg = <0x30000 0x10000>,
191 <0xf5000000 0x800>;
192 reg-names = "regs", "sram";
193 interrupts = <22>;
Andrew Lunn1611f872012-11-17 15:22:28 +0100194 clocks = <&gate_clk 17>;
Andrew Lunnf37fbd32012-09-03 20:29:34 +0200195 status = "okay";
196 };
Thomas Petazzoniec05fcf2012-12-21 15:49:10 +0100197
198 mvsdio@90000 {
199 compatible = "marvell,orion-sdio";
200 reg = <0x90000 0x200>;
201 interrupts = <28>;
202 clocks = <&gate_clk 4>;
203 status = "disabled";
204 };
Jason Cooper163f2ce2012-03-15 01:00:27 +0000205 };
206};