Merge branch 'core/speculation' of git://git.kernel.org/pub/scm/linux/kernel/git...
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / pxa910.dtsi
1 /*
2  *  Copyright (C) 2012 Marvell Technology Group Ltd.
3  *  Author: Haojian Zhuang <haojian.zhuang@marvell.com>
4  *
5  *  This program is free software; you can redistribute it and/or modify
6  *  it under the terms of the GNU General Public License version 2 as
7  *  publishhed by the Free Software Foundation.
8  */
9
10 #include <dt-bindings/clock/marvell,pxa910.h>
11
12 / {
13         #address-cells = <1>;
14         #size-cells = <1>;
15
16         aliases {
17                 serial0 = &uart1;
18                 serial1 = &uart2;
19                 serial2 = &uart3;
20                 i2c0 = &twsi1;
21                 i2c1 = &twsi2;
22         };
23
24         soc {
25                 #address-cells = <1>;
26                 #size-cells = <1>;
27                 compatible = "simple-bus";
28                 interrupt-parent = <&intc>;
29                 ranges;
30
31                 L2: l2-cache {
32                         compatible = "marvell,tauros2-cache";
33                         marvell,tauros2-cache-features = <0x3>;
34                 };
35
36                 axi@d4200000 {  /* AXI */
37                         compatible = "mrvl,axi-bus", "simple-bus";
38                         #address-cells = <1>;
39                         #size-cells = <1>;
40                         reg = <0xd4200000 0x00200000>;
41                         ranges;
42
43                         intc: interrupt-controller@d4282000 {
44                                 compatible = "mrvl,mmp-intc";
45                                 interrupt-controller;
46                                 #interrupt-cells = <1>;
47                                 reg = <0xd4282000 0x1000>;
48                                 mrvl,intc-nr-irqs = <64>;
49                         };
50
51                 };
52
53                 apb@d4000000 {  /* APB */
54                         compatible = "mrvl,apb-bus", "simple-bus";
55                         #address-cells = <1>;
56                         #size-cells = <1>;
57                         reg = <0xd4000000 0x00200000>;
58                         ranges;
59
60                         timer0: timer@d4014000 {
61                                 compatible = "mrvl,mmp-timer";
62                                 reg = <0xd4014000 0x100>;
63                                 interrupts = <13>;
64                         };
65
66                         timer1: timer@d4016000 {
67                                 compatible = "mrvl,mmp-timer";
68                                 reg = <0xd4016000 0x100>;
69                                 interrupts = <29>;
70                                 status = "disabled";
71                         };
72
73                         uart1: uart@d4017000 {
74                                 compatible = "mrvl,mmp-uart";
75                                 reg = <0xd4017000 0x1000>;
76                                 interrupts = <27>;
77                                 clocks = <&soc_clocks PXA910_CLK_UART0>;
78                                 resets = <&soc_clocks PXA910_CLK_UART0>;
79                                 status = "disabled";
80                         };
81
82                         uart2: uart@d4018000 {
83                                 compatible = "mrvl,mmp-uart";
84                                 reg = <0xd4018000 0x1000>;
85                                 interrupts = <28>;
86                                 clocks = <&soc_clocks PXA910_CLK_UART1>;
87                                 resets = <&soc_clocks PXA910_CLK_UART1>;
88                                 status = "disabled";
89                         };
90
91                         uart3: uart@d4036000 {
92                                 compatible = "mrvl,mmp-uart";
93                                 reg = <0xd4036000 0x1000>;
94                                 interrupts = <59>;
95                                 clocks = <&soc_clocks PXA910_CLK_UART2>;
96                                 resets = <&soc_clocks PXA910_CLK_UART2>;
97                                 status = "disabled";
98                         };
99
100                         gpio@d4019000 {
101                                 compatible = "marvell,mmp-gpio";
102                                 #address-cells = <1>;
103                                 #size-cells = <1>;
104                                 reg = <0xd4019000 0x1000>;
105                                 gpio-controller;
106                                 #gpio-cells = <2>;
107                                 interrupts = <49>;
108                                 interrupt-names = "gpio_mux";
109                                 clocks = <&soc_clocks PXA910_CLK_GPIO>;
110                                 resets = <&soc_clocks PXA910_CLK_GPIO>;
111                                 interrupt-controller;
112                                 #interrupt-cells = <1>;
113                                 ranges;
114
115                                 gcb0: gpio@d4019000 {
116                                         reg = <0xd4019000 0x4>;
117                                 };
118
119                                 gcb1: gpio@d4019004 {
120                                         reg = <0xd4019004 0x4>;
121                                 };
122
123                                 gcb2: gpio@d4019008 {
124                                         reg = <0xd4019008 0x4>;
125                                 };
126
127                                 gcb3: gpio@d4019100 {
128                                         reg = <0xd4019100 0x4>;
129                                 };
130                         };
131
132                         twsi1: i2c@d4011000 {
133                                 compatible = "mrvl,mmp-twsi";
134                                 #address-cells = <1>;
135                                 #size-cells = <0>;
136                                 reg = <0xd4011000 0x1000>;
137                                 interrupts = <7>;
138                                 clocks = <&soc_clocks PXA910_CLK_TWSI0>;
139                                 resets = <&soc_clocks PXA910_CLK_TWSI0>;
140                                 mrvl,i2c-fast-mode;
141                                 status = "disabled";
142                         };
143
144                         twsi2: i2c@d4037000 {
145                                 compatible = "mrvl,mmp-twsi";
146                                 #address-cells = <1>;
147                                 #size-cells = <0>;
148                                 reg = <0xd4037000 0x1000>;
149                                 interrupts = <54>;
150                                 clocks = <&soc_clocks PXA910_CLK_TWSI1>;
151                                 resets = <&soc_clocks PXA910_CLK_TWSI1>;
152                                 status = "disabled";
153                         };
154
155                         rtc: rtc@d4010000 {
156                                 compatible = "mrvl,mmp-rtc";
157                                 reg = <0xd4010000 0x1000>;
158                                 interrupts = <5 6>;
159                                 interrupt-names = "rtc 1Hz", "rtc alarm";
160                                 clocks = <&soc_clocks PXA910_CLK_RTC>;
161                                 resets = <&soc_clocks PXA910_CLK_RTC>;
162                                 status = "disabled";
163                         };
164                 };
165
166                 soc_clocks: clocks{
167                         compatible = "marvell,pxa910-clock";
168                         reg = <0xd4050000 0x1000>,
169                               <0xd4282800 0x400>,
170                               <0xd4015000 0x1000>,
171                               <0xd403b000 0x1000>;
172                         reg-names = "mpmu", "apmu", "apbc", "apbcp";
173                         #clock-cells = <1>;
174                         #reset-cells = <1>;
175                 };
176         };
177 };