Merge remote-tracking branch 'asoc/fix/sgtl5000' into asoc-linus
[cascardo/linux.git] / arch / arm / boot / dts / orion5x.dtsi
1 /*
2  * Copyright (C) 2012 Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3  *
4  * This file is licensed under the terms of the GNU General Public
5  * License version 2. This program is licensed "as is" without any
6  * warranty of any kind, whether express or implied.
7  */
8
9 /include/ "skeleton.dtsi"
10
11 / {
12         model = "Marvell Orion5x SoC";
13         compatible = "marvell,orion5x";
14         interrupt-parent = <&intc>;
15
16         aliases {
17                 gpio0 = &gpio0;
18         };
19         intc: interrupt-controller {
20                 compatible = "marvell,orion-intc", "marvell,intc";
21                 interrupt-controller;
22                 #interrupt-cells = <1>;
23                 reg = <0xf1020204 0x04>;
24         };
25
26         ocp@f1000000 {
27                 compatible = "simple-bus";
28                 ranges = <0x00000000 0xf1000000 0x4000000
29                           0xf2200000 0xf2200000 0x0000800>;
30                 #address-cells = <1>;
31                 #size-cells = <1>;
32
33                 gpio0: gpio@10100 {
34                         compatible = "marvell,orion-gpio";
35                         #gpio-cells = <2>;
36                         gpio-controller;
37                         reg = <0x10100 0x40>;
38                         ngpios = <32>;
39                         interrupt-controller;
40                         #interrupt-cells = <2>;
41                         interrupts = <6>, <7>, <8>, <9>;
42                 };
43
44                 serial@12000 {
45                         compatible = "ns16550a";
46                         reg = <0x12000 0x100>;
47                         reg-shift = <2>;
48                         interrupts = <3>;
49                         /* set clock-frequency in board dts */
50                         status = "disabled";
51                 };
52
53                 serial@12100 {
54                         compatible = "ns16550a";
55                         reg = <0x12100 0x100>;
56                         reg-shift = <2>;
57                         interrupts = <4>;
58                         /* set clock-frequency in board dts */
59                         status = "disabled";
60                 };
61
62                 spi@10600 {
63                         compatible = "marvell,orion-spi";
64                         #address-cells = <1>;
65                         #size-cells = <0>;
66                         cell-index = <0>;
67                         reg = <0x10600 0x28>;
68                         status = "disabled";
69                 };
70
71                 wdt@20300 {
72                         compatible = "marvell,orion-wdt";
73                         reg = <0x20300 0x28>;
74                         status = "okay";
75                 };
76
77                 ehci@50000 {
78                         compatible = "marvell,orion-ehci";
79                         reg = <0x50000 0x1000>;
80                         interrupts = <17>;
81                         status = "disabled";
82                 };
83
84                 ehci@a0000 {
85                         compatible = "marvell,orion-ehci";
86                         reg = <0xa0000 0x1000>;
87                         interrupts = <12>;
88                         status = "disabled";
89                 };
90
91                 sata@80000 {
92                         compatible = "marvell,orion-sata";
93                         reg = <0x80000 0x5000>;
94                         interrupts = <29>;
95                         status = "disabled";
96                 };
97
98                 i2c@11000 {
99                         compatible = "marvell,mv64xxx-i2c";
100                         reg = <0x11000 0x20>;
101                         #address-cells = <1>;
102                         #size-cells = <0>;
103                         interrupts = <5>;
104                         clock-frequency = <100000>;
105                         status = "disabled";
106                 };
107
108                 xor@60900 {
109                         compatible = "marvell,orion-xor";
110                         reg = <0x60900 0x100
111                                0x60b00 0x100>;
112                         status = "okay";
113
114                         xor00 {
115                               interrupts = <30>;
116                               dmacap,memcpy;
117                               dmacap,xor;
118                         };
119                         xor01 {
120                               interrupts = <31>;
121                               dmacap,memcpy;
122                               dmacap,xor;
123                               dmacap,memset;
124                         };
125                 };
126
127                 crypto@90000 {
128                         compatible = "marvell,orion-crypto";
129                         reg = <0x90000 0x10000>,
130                               <0xf2200000 0x800>;
131                         reg-names = "regs", "sram";
132                         interrupts = <28>;
133                         status = "okay";
134                 };
135         };
136 };