blob: 586134e2a382250883787c0fbafd9411afda67b2 [file] [log] [blame]
Kukjin Kim1355bbc2012-10-24 13:41:15 +09001/*
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
Padmavathi Venna37992792013-06-18 00:02:08 +090012#include "skeleton.dtsi"
Kukjin Kim1355bbc2012-10-24 13:41:15 +090013
14/ {
15 compatible = "samsung,exynos5440";
16
17 interrupt-parent = <&gic>;
18
Girish K Sdabd3f92013-06-18 06:35:14 +090019 aliases {
20 spi0 = &spi_0;
21 };
22
Thomas Abrahamd8bafc82013-03-09 17:11:33 +090023 clock: clock-controller@0x160000 {
24 compatible = "samsung,exynos5440-clock";
25 reg = <0x160000 0x1000>;
26 #clock-cells = <1>;
27 };
28
Kukjin Kim1355bbc2012-10-24 13:41:15 +090029 gic:interrupt-controller@2E0000 {
30 compatible = "arm,cortex-a15-gic";
31 #interrupt-cells = <3>;
32 interrupt-controller;
Giridhar Maruthy3279dd32013-04-04 15:25:00 +090033 reg = <0x2E1000 0x1000>,
34 <0x2E2000 0x1000>,
35 <0x2E4000 0x2000>,
36 <0x2E6000 0x2000>;
37 interrupts = <1 9 0xf04>;
Kukjin Kim1355bbc2012-10-24 13:41:15 +090038 };
39
40 cpus {
Kukjin Kimf5108e12012-12-06 16:54:10 +090041 #address-cells = <1>;
42 #size-cells = <0>;
43
Kukjin Kim1355bbc2012-10-24 13:41:15 +090044 cpu@0 {
Lorenzo Pieralisi88e41842013-04-18 18:32:40 +010045 device_type = "cpu";
Kukjin Kim1355bbc2012-10-24 13:41:15 +090046 compatible = "arm,cortex-a15";
Kukjin Kimf5108e12012-12-06 16:54:10 +090047 reg = <0>;
Kukjin Kim1355bbc2012-10-24 13:41:15 +090048 };
49 cpu@1 {
Lorenzo Pieralisi88e41842013-04-18 18:32:40 +010050 device_type = "cpu";
Kukjin Kim1355bbc2012-10-24 13:41:15 +090051 compatible = "arm,cortex-a15";
Kukjin Kimf5108e12012-12-06 16:54:10 +090052 reg = <1>;
Kukjin Kim1355bbc2012-10-24 13:41:15 +090053 };
54 cpu@2 {
Lorenzo Pieralisi88e41842013-04-18 18:32:40 +010055 device_type = "cpu";
Kukjin Kim1355bbc2012-10-24 13:41:15 +090056 compatible = "arm,cortex-a15";
Kukjin Kimf5108e12012-12-06 16:54:10 +090057 reg = <2>;
Kukjin Kim1355bbc2012-10-24 13:41:15 +090058 };
59 cpu@3 {
Lorenzo Pieralisi88e41842013-04-18 18:32:40 +010060 device_type = "cpu";
Kukjin Kim1355bbc2012-10-24 13:41:15 +090061 compatible = "arm,cortex-a15";
Kukjin Kimf5108e12012-12-06 16:54:10 +090062 reg = <3>;
Kukjin Kim1355bbc2012-10-24 13:41:15 +090063 };
64 };
65
Subash Patel4c46f512013-04-05 15:22:59 +090066 arm-pmu {
67 compatible = "arm,cortex-a15-pmu", "arm,cortex-a9-pmu";
68 interrupts = <0 52 4>,
69 <0 53 4>,
70 <0 54 4>,
71 <0 55 4>;
72 };
73
Kukjin Kimf5108e12012-12-06 16:54:10 +090074 timer {
75 compatible = "arm,cortex-a15-timer",
76 "arm,armv7-timer";
77 interrupts = <1 13 0xf08>,
78 <1 14 0xf08>,
79 <1 11 0xf08>,
80 <1 10 0xf08>;
81 clock-frequency = <50000000>;
82 };
83
Amit Daniel Kachhap7f7b8ed2013-04-08 21:48:17 +090084 cpufreq@160000 {
85 compatible = "samsung,exynos5440-cpufreq";
86 reg = <0x160000 0x1000>;
87 interrupts = <0 57 0>;
88 operating-points = <
89 /* KHz uV */
Amit Daniel Kachhapafbbf922013-06-18 06:39:41 +090090 1500000 1100000
91 1400000 1075000
92 1300000 1050000
Amit Daniel Kachhap7f7b8ed2013-04-08 21:48:17 +090093 1200000 1025000
Amit Daniel Kachhapafbbf922013-06-18 06:39:41 +090094 1100000 1000000
Amit Daniel Kachhap7f7b8ed2013-04-08 21:48:17 +090095 1000000 975000
Amit Daniel Kachhapafbbf922013-06-18 06:39:41 +090096 900000 950000
Amit Daniel Kachhap7f7b8ed2013-04-08 21:48:17 +090097 800000 925000
98 >;
99 };
100
Kukjin Kim1355bbc2012-10-24 13:41:15 +0900101 serial@B0000 {
102 compatible = "samsung,exynos4210-uart";
103 reg = <0xB0000 0x1000>;
104 interrupts = <0 2 0>;
Thomas Abraham6a0338c2013-03-09 17:19:17 +0900105 clocks = <&clock 21>, <&clock 21>;
106 clock-names = "uart", "clk_uart_baud0";
Kukjin Kim1355bbc2012-10-24 13:41:15 +0900107 };
108
109 serial@C0000 {
110 compatible = "samsung,exynos4210-uart";
111 reg = <0xC0000 0x1000>;
112 interrupts = <0 3 0>;
Thomas Abraham6a0338c2013-03-09 17:19:17 +0900113 clocks = <&clock 21>, <&clock 21>;
114 clock-names = "uart", "clk_uart_baud0";
Kukjin Kim1355bbc2012-10-24 13:41:15 +0900115 };
116
Girish K Sdabd3f92013-06-18 06:35:14 +0900117 spi_0: spi@D0000 {
118 compatible = "samsung,exynos5440-spi";
119 reg = <0xD0000 0x100>;
Kukjin Kim1355bbc2012-10-24 13:41:15 +0900120 interrupts = <0 4 0>;
Kukjin Kim1355bbc2012-10-24 13:41:15 +0900121 #address-cells = <1>;
122 #size-cells = <0>;
Girish K Sdabd3f92013-06-18 06:35:14 +0900123 samsung,spi-src-clk = <0>;
124 num-cs = <1>;
Thomas Abraham6a0338c2013-03-09 17:19:17 +0900125 clocks = <&clock 21>, <&clock 16>;
126 clock-names = "spi", "spi_busclk0";
Kukjin Kim1355bbc2012-10-24 13:41:15 +0900127 };
128
Jingoo Hanb342e642013-06-21 16:26:14 +0900129 pin_ctrl: pinctrl {
Thomas Abrahamf6925432012-12-27 13:25:02 -0800130 compatible = "samsung,exynos5440-pinctrl";
Kukjin Kim1355bbc2012-10-24 13:41:15 +0900131 reg = <0xE0000 0x1000>;
Thomas Abraham71d87da2013-04-05 15:20:03 +0900132 interrupts = <0 37 0>, <0 38 0>, <0 39 0>, <0 40 0>,
133 <0 41 0>, <0 42 0>, <0 43 0>, <0 44 0>;
Kukjin Kim1355bbc2012-10-24 13:41:15 +0900134 interrupt-controller;
135 #interrupt-cells = <2>;
Thomas Abrahamb1ce1012012-10-24 17:18:52 +0900136 #gpio-cells = <2>;
137
138 fan: fan {
139 samsung,exynos5440-pin-function = <1>;
140 };
141
142 hdd_led0: hdd_led0 {
143 samsung,exynos5440-pin-function = <2>;
144 };
145
146 hdd_led1: hdd_led1 {
147 samsung,exynos5440-pin-function = <3>;
148 };
149
150 uart1: uart1 {
151 samsung,exynos5440-pin-function = <4>;
152 };
Kukjin Kim1355bbc2012-10-24 13:41:15 +0900153 };
154
155 i2c@F0000 {
Giridhar Maruthy49498c52012-12-28 09:33:58 -0800156 compatible = "samsung,exynos5440-i2c";
Kukjin Kim1355bbc2012-10-24 13:41:15 +0900157 reg = <0xF0000 0x1000>;
158 interrupts = <0 5 0>;
159 #address-cells = <1>;
160 #size-cells = <0>;
Thomas Abraham6a0338c2013-03-09 17:19:17 +0900161 clocks = <&clock 21>;
162 clock-names = "i2c";
Kukjin Kim1355bbc2012-10-24 13:41:15 +0900163 };
164
165 i2c@100000 {
Giridhar Maruthy49498c52012-12-28 09:33:58 -0800166 compatible = "samsung,exynos5440-i2c";
Kukjin Kim1355bbc2012-10-24 13:41:15 +0900167 reg = <0x100000 0x1000>;
168 interrupts = <0 6 0>;
169 #address-cells = <1>;
170 #size-cells = <0>;
Thomas Abraham6a0338c2013-03-09 17:19:17 +0900171 clocks = <&clock 21>;
172 clock-names = "i2c";
Kukjin Kim1355bbc2012-10-24 13:41:15 +0900173 };
174
175 watchdog {
176 compatible = "samsung,s3c2410-wdt";
177 reg = <0x110000 0x1000>;
178 interrupts = <0 1 0>;
Thomas Abraham6a0338c2013-03-09 17:19:17 +0900179 clocks = <&clock 21>;
180 clock-names = "watchdog";
Kukjin Kim1355bbc2012-10-24 13:41:15 +0900181 };
182
Byungho Anc038c4d2013-04-05 15:22:58 +0900183 gmac: ethernet@00230000 {
184 compatible = "snps,dwmac-3.70a";
185 reg = <0x00230000 0x8000>;
186 interrupt-parent = <&gic>;
187 interrupts = <0 31 4>;
188 interrupt-names = "macirq";
189 phy-mode = "sgmii";
Thomas Abrahamdce3b8e2013-04-08 21:47:02 +0900190 clocks = <&clock 25>;
Byungho Anc038c4d2013-04-05 15:22:58 +0900191 clock-names = "stmmaceth";
192 };
193
Kukjin Kim1355bbc2012-10-24 13:41:15 +0900194 amba {
195 #address-cells = <1>;
196 #size-cells = <1>;
197 compatible = "arm,amba-bus";
198 interrupt-parent = <&gic>;
199 ranges;
Kukjin Kim1355bbc2012-10-24 13:41:15 +0900200 };
201
202 rtc {
203 compatible = "samsung,s3c6410-rtc";
204 reg = <0x130000 0x1000>;
Giridhar Maruthye877a5a2012-12-27 18:02:58 -0800205 interrupts = <0 17 0>, <0 16 0>;
Thomas Abraham6a0338c2013-03-09 17:19:17 +0900206 clocks = <&clock 21>;
207 clock-names = "rtc";
Kukjin Kim1355bbc2012-10-24 13:41:15 +0900208 };
Girish K S1a12f522013-06-10 17:29:34 +0900209
210 sata@210000 {
211 compatible = "snps,exynos5440-ahci";
212 reg = <0x210000 0x10000>;
213 interrupts = <0 30 0>;
214 clocks = <&clock 23>;
215 clock-names = "sata";
216 };
217
Thomas Abrahama3808902013-06-12 04:58:34 +0900218 ohci@220000 {
219 compatible = "samsung,exynos5440-ohci";
220 reg = <0x220000 0x1000>;
221 interrupts = <0 29 0>;
222 clocks = <&clock 24>;
223 clock-names = "usbhost";
224 };
225
226 ehci@221000 {
227 compatible = "samsung,exynos5440-ehci";
228 reg = <0x221000 0x1000>;
229 interrupts = <0 29 0>;
230 clocks = <&clock 24>;
231 clock-names = "usbhost";
Kukjin Kim1355bbc2012-10-24 13:41:15 +0900232 };
Jingoo Han406a9322013-06-21 16:25:51 +0900233
234 pcie@290000 {
235 compatible = "samsung,exynos5440-pcie", "snps,dw-pcie";
236 reg = <0x290000 0x1000
237 0x270000 0x1000
238 0x271000 0x40>;
239 interrupts = <0 20 0>, <0 21 0>, <0 22 0>;
240 clocks = <&clock 28>, <&clock 27>;
241 clock-names = "pcie", "pcie_bus";
242 #address-cells = <3>;
243 #size-cells = <2>;
244 device_type = "pci";
245 ranges = <0x00000800 0 0x40000000 0x40000000 0 0x00001000 /* configuration space */
246 0x81000000 0 0 0x40001000 0 0x00010000 /* downstream I/O */
247 0x82000000 0 0x40011000 0x40011000 0 0x1ffef000>; /* non-prefetchable memory */
248 #interrupt-cells = <1>;
249 interrupt-map-mask = <0 0 0 0>;
250 interrupt-map = <0x0 0 &gic 53>;
Jingoo Han4b1ced82013-07-31 17:14:10 +0900251 num-lanes = <4>;
Jingoo Han406a9322013-06-21 16:25:51 +0900252 };
253
254 pcie@2a0000 {
255 compatible = "samsung,exynos5440-pcie", "snps,dw-pcie";
256 reg = <0x2a0000 0x1000
257 0x272000 0x1000
258 0x271040 0x40>;
259 interrupts = <0 23 0>, <0 24 0>, <0 25 0>;
260 clocks = <&clock 29>, <&clock 27>;
261 clock-names = "pcie", "pcie_bus";
262 #address-cells = <3>;
263 #size-cells = <2>;
264 device_type = "pci";
265 ranges = <0x00000800 0 0x60000000 0x60000000 0 0x00001000 /* configuration space */
266 0x81000000 0 0 0x60001000 0 0x00010000 /* downstream I/O */
267 0x82000000 0 0x60011000 0x60011000 0 0x1ffef000>; /* non-prefetchable memory */
268 #interrupt-cells = <1>;
269 interrupt-map-mask = <0 0 0 0>;
270 interrupt-map = <0x0 0 &gic 56>;
Jingoo Han4b1ced82013-07-31 17:14:10 +0900271 num-lanes = <4>;
Jingoo Han406a9322013-06-21 16:25:51 +0900272 };
Kukjin Kim1355bbc2012-10-24 13:41:15 +0900273};