Merge remote-tracking branch 'pfdo/drm-fixes' into drm-next
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / exynos5440.dtsi
1 /*
2  * SAMSUNG EXYNOS5440 SoC device tree source
3  *
4  * Copyright (c) 2012 Samsung Electronics Co., Ltd.
5  *              http://www.samsung.com
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License version 2 as
9  * published by the Free Software Foundation.
10 */
11
12 /include/ "skeleton.dtsi"
13
14 / {
15         compatible = "samsung,exynos5440";
16
17         interrupt-parent = <&gic>;
18
19         clock: clock-controller@0x160000 {
20                 compatible = "samsung,exynos5440-clock";
21                 reg = <0x160000 0x1000>;
22                 #clock-cells = <1>;
23         };
24
25         gic:interrupt-controller@2E0000 {
26                 compatible = "arm,cortex-a15-gic";
27                 #interrupt-cells = <3>;
28                 interrupt-controller;
29                 reg =   <0x2E1000 0x1000>,
30                         <0x2E2000 0x1000>,
31                         <0x2E4000 0x2000>,
32                         <0x2E6000 0x2000>;
33                 interrupts = <1 9 0xf04>;
34         };
35
36         cpus {
37                 #address-cells = <1>;
38                 #size-cells = <0>;
39
40                 cpu@0 {
41                         compatible = "arm,cortex-a15";
42                         reg = <0>;
43                 };
44                 cpu@1 {
45                         compatible = "arm,cortex-a15";
46                         reg = <1>;
47                 };
48                 cpu@2 {
49                         compatible = "arm,cortex-a15";
50                         reg = <2>;
51                 };
52                 cpu@3 {
53                         compatible = "arm,cortex-a15";
54                         reg = <3>;
55                 };
56         };
57
58         arm-pmu {
59                 compatible = "arm,cortex-a15-pmu", "arm,cortex-a9-pmu";
60                 interrupts = <0 52 4>,
61                              <0 53 4>,
62                              <0 54 4>,
63                              <0 55 4>;
64         };
65
66         timer {
67                 compatible = "arm,cortex-a15-timer",
68                              "arm,armv7-timer";
69                 interrupts = <1 13 0xf08>,
70                              <1 14 0xf08>,
71                              <1 11 0xf08>,
72                              <1 10 0xf08>;
73                 clock-frequency = <50000000>;
74         };
75
76         cpufreq@160000 {
77                 compatible = "samsung,exynos5440-cpufreq";
78                 reg = <0x160000 0x1000>;
79                 interrupts = <0 57 0>;
80                 operating-points = <
81                                 /* KHz    uV */
82                                 1200000 1025000
83                                 1000000 975000
84                                 800000  925000
85                 >;
86         };
87
88         serial@B0000 {
89                 compatible = "samsung,exynos4210-uart";
90                 reg = <0xB0000 0x1000>;
91                 interrupts = <0 2 0>;
92                 clocks = <&clock 21>, <&clock 21>;
93                 clock-names = "uart", "clk_uart_baud0";
94         };
95
96         serial@C0000 {
97                 compatible = "samsung,exynos4210-uart";
98                 reg = <0xC0000 0x1000>;
99                 interrupts = <0 3 0>;
100                 clocks = <&clock 21>, <&clock 21>;
101                 clock-names = "uart", "clk_uart_baud0";
102         };
103
104         spi {
105                 compatible = "samsung,exynos4210-spi";
106                 reg = <0xD0000 0x1000>;
107                 interrupts = <0 4 0>;
108                 tx-dma-channel = <&pdma0 5>; /* preliminary */
109                 rx-dma-channel = <&pdma0 4>; /* preliminary */
110                 #address-cells = <1>;
111                 #size-cells = <0>;
112                 clocks = <&clock 21>, <&clock 16>;
113                 clock-names = "spi", "spi_busclk0";
114         };
115
116         pinctrl {
117                 compatible = "samsung,exynos5440-pinctrl";
118                 reg = <0xE0000 0x1000>;
119                 interrupts = <0 37 0>, <0 38 0>, <0 39 0>, <0 40 0>,
120                              <0 41 0>, <0 42 0>, <0 43 0>, <0 44 0>;
121                 interrupt-controller;
122                 #interrupt-cells = <2>;
123                 #gpio-cells = <2>;
124
125                 fan: fan {
126                         samsung,exynos5440-pin-function = <1>;
127                 };
128
129                 hdd_led0: hdd_led0 {
130                         samsung,exynos5440-pin-function = <2>;
131                 };
132
133                 hdd_led1: hdd_led1 {
134                         samsung,exynos5440-pin-function = <3>;
135                 };
136
137                 uart1: uart1 {
138                         samsung,exynos5440-pin-function = <4>;
139                 };
140         };
141
142         i2c@F0000 {
143                 compatible = "samsung,exynos5440-i2c";
144                 reg = <0xF0000 0x1000>;
145                 interrupts = <0 5 0>;
146                 #address-cells = <1>;
147                 #size-cells = <0>;
148                 clocks = <&clock 21>;
149                 clock-names = "i2c";
150         };
151
152         i2c@100000 {
153                 compatible = "samsung,exynos5440-i2c";
154                 reg = <0x100000 0x1000>;
155                 interrupts = <0 6 0>;
156                 #address-cells = <1>;
157                 #size-cells = <0>;
158                 clocks = <&clock 21>;
159                 clock-names = "i2c";
160         };
161
162         watchdog {
163                 compatible = "samsung,s3c2410-wdt";
164                 reg = <0x110000 0x1000>;
165                 interrupts = <0 1 0>;
166                 clocks = <&clock 21>;
167                 clock-names = "watchdog";
168         };
169
170         gmac: ethernet@00230000 {
171                 compatible = "snps,dwmac-3.70a";
172                 reg = <0x00230000 0x8000>;
173                 interrupt-parent = <&gic>;
174                 interrupts = <0 31 4>;
175                 interrupt-names = "macirq";
176                 phy-mode = "sgmii";
177                 clocks = <&clock 25>;
178                 clock-names = "stmmaceth";
179         };
180
181         amba {
182                 #address-cells = <1>;
183                 #size-cells = <1>;
184                 compatible = "arm,amba-bus";
185                 interrupt-parent = <&gic>;
186                 ranges;
187
188                 pdma0: pdma@00121000 {
189                         compatible = "arm,pl330", "arm,primecell";
190                         reg = <0x121000 0x1000>;
191                         interrupts = <0 46 0>;
192                         clocks = <&clock 8>;
193                         clock-names = "apb_pclk";
194                         #dma-cells = <1>;
195                         #dma-channels = <8>;
196                         #dma-requests = <32>;
197                 };
198
199                 pdma1: pdma@00120000 {
200                         compatible = "arm,pl330", "arm,primecell";
201                         reg = <0x120000 0x1000>;
202                         interrupts = <0 47 0>;
203                         clocks = <&clock 8>;
204                         clock-names = "apb_pclk";
205                         #dma-cells = <1>;
206                         #dma-channels = <8>;
207                         #dma-requests = <32>;
208                 };
209         };
210
211         rtc {
212                 compatible = "samsung,s3c6410-rtc";
213                 reg = <0x130000 0x1000>;
214                 interrupts = <0 17 0>, <0 16 0>;
215                 clocks = <&clock 21>;
216                 clock-names = "rtc";
217                 status = "disabled";
218         };
219 };