]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - arch/arm/boot/dts/kirkwood.dtsi
regulator: max8997: Convert max8997_safeout_ops to set_voltage_sel and list_voltage_table
[karo-tx-linux.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                         status = "okay";
148                 };
149
150                 sata@80000 {
151                         compatible = "marvell,orion-sata";
152                         reg = <0x80000 0x5000>;
153                         interrupts = <21>;
154                         clocks = <&gate_clk 14>, <&gate_clk 15>;
155                         clock-names = "0", "1";
156                         status = "disabled";
157                 };
158
159                 nand@3000000 {
160                         #address-cells = <1>;
161                         #size-cells = <1>;
162                         cle = <0>;
163                         ale = <1>;
164                         bank-width = <1>;
165                         compatible = "marvell,orion-nand";
166                         reg = <0x3000000 0x400>;
167                         chip-delay = <25>;
168                         /* set partition map and/or chip-delay in board dts */
169                         clocks = <&gate_clk 7>;
170                         status = "disabled";
171                 };
172
173                 i2c@11000 {
174                         compatible = "marvell,mv64xxx-i2c";
175                         reg = <0x11000 0x20>;
176                         #address-cells = <1>;
177                         #size-cells = <0>;
178                         interrupts = <29>;
179                         clock-frequency = <100000>;
180                         clocks = <&gate_clk 7>;
181                         status = "disabled";
182                 };
183
184                 crypto@30000 {
185                         compatible = "marvell,orion-crypto";
186                         reg = <0x30000 0x10000>,
187                               <0xf5000000 0x800>;
188                         reg-names = "regs", "sram";
189                         interrupts = <22>;
190                         clocks = <&gate_clk 17>;
191                         status = "okay";
192                 };
193         };
194 };