blob: 25c6134ee633393f621e19341ec0b0bc4fb006bf [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
12/include/ "skeleton.dtsi"
13
14/ {
15 compatible = "samsung,exynos5440";
16
17 interrupt-parent = <&gic>;
18
Thomas Abrahamd8bafc82013-03-09 17:11:33 +090019 clock: clock-controller@0x160000 {
20 compatible = "samsung,exynos5440-clock";
21 reg = <0x160000 0x1000>;
22 #clock-cells = <1>;
23 };
24
Kukjin Kim1355bbc2012-10-24 13:41:15 +090025 gic:interrupt-controller@2E0000 {
26 compatible = "arm,cortex-a15-gic";
27 #interrupt-cells = <3>;
28 interrupt-controller;
Giridhar Maruthy3279dd32013-04-04 15:25:00 +090029 reg = <0x2E1000 0x1000>,
30 <0x2E2000 0x1000>,
31 <0x2E4000 0x2000>,
32 <0x2E6000 0x2000>;
33 interrupts = <1 9 0xf04>;
Kukjin Kim1355bbc2012-10-24 13:41:15 +090034 };
35
36 cpus {
Kukjin Kimf5108e12012-12-06 16:54:10 +090037 #address-cells = <1>;
38 #size-cells = <0>;
39
Kukjin Kim1355bbc2012-10-24 13:41:15 +090040 cpu@0 {
41 compatible = "arm,cortex-a15";
Kukjin Kimf5108e12012-12-06 16:54:10 +090042 reg = <0>;
Kukjin Kim1355bbc2012-10-24 13:41:15 +090043 };
44 cpu@1 {
45 compatible = "arm,cortex-a15";
Kukjin Kimf5108e12012-12-06 16:54:10 +090046 reg = <1>;
Kukjin Kim1355bbc2012-10-24 13:41:15 +090047 };
48 cpu@2 {
49 compatible = "arm,cortex-a15";
Kukjin Kimf5108e12012-12-06 16:54:10 +090050 reg = <2>;
Kukjin Kim1355bbc2012-10-24 13:41:15 +090051 };
52 cpu@3 {
53 compatible = "arm,cortex-a15";
Kukjin Kimf5108e12012-12-06 16:54:10 +090054 reg = <3>;
Kukjin Kim1355bbc2012-10-24 13:41:15 +090055 };
56 };
57
Kukjin Kimf5108e12012-12-06 16:54:10 +090058 timer {
59 compatible = "arm,cortex-a15-timer",
60 "arm,armv7-timer";
61 interrupts = <1 13 0xf08>,
62 <1 14 0xf08>,
63 <1 11 0xf08>,
64 <1 10 0xf08>;
65 clock-frequency = <50000000>;
66 };
67
Kukjin Kim1355bbc2012-10-24 13:41:15 +090068 serial@B0000 {
69 compatible = "samsung,exynos4210-uart";
70 reg = <0xB0000 0x1000>;
71 interrupts = <0 2 0>;
Thomas Abraham6a0338c2013-03-09 17:19:17 +090072 clocks = <&clock 21>, <&clock 21>;
73 clock-names = "uart", "clk_uart_baud0";
Kukjin Kim1355bbc2012-10-24 13:41:15 +090074 };
75
76 serial@C0000 {
77 compatible = "samsung,exynos4210-uart";
78 reg = <0xC0000 0x1000>;
79 interrupts = <0 3 0>;
Thomas Abraham6a0338c2013-03-09 17:19:17 +090080 clocks = <&clock 21>, <&clock 21>;
81 clock-names = "uart", "clk_uart_baud0";
Kukjin Kim1355bbc2012-10-24 13:41:15 +090082 };
83
84 spi {
85 compatible = "samsung,exynos4210-spi";
86 reg = <0xD0000 0x1000>;
87 interrupts = <0 4 0>;
88 tx-dma-channel = <&pdma0 5>; /* preliminary */
89 rx-dma-channel = <&pdma0 4>; /* preliminary */
90 #address-cells = <1>;
91 #size-cells = <0>;
Thomas Abraham6a0338c2013-03-09 17:19:17 +090092 clocks = <&clock 21>, <&clock 16>;
93 clock-names = "spi", "spi_busclk0";
Kukjin Kim1355bbc2012-10-24 13:41:15 +090094 };
95
96 pinctrl {
Thomas Abrahamf6925432012-12-27 13:25:02 -080097 compatible = "samsung,exynos5440-pinctrl";
Kukjin Kim1355bbc2012-10-24 13:41:15 +090098 reg = <0xE0000 0x1000>;
99 interrupt-controller;
100 #interrupt-cells = <2>;
Thomas Abrahamb1ce1012012-10-24 17:18:52 +0900101 #gpio-cells = <2>;
102
103 fan: fan {
104 samsung,exynos5440-pin-function = <1>;
105 };
106
107 hdd_led0: hdd_led0 {
108 samsung,exynos5440-pin-function = <2>;
109 };
110
111 hdd_led1: hdd_led1 {
112 samsung,exynos5440-pin-function = <3>;
113 };
114
115 uart1: uart1 {
116 samsung,exynos5440-pin-function = <4>;
117 };
Kukjin Kim1355bbc2012-10-24 13:41:15 +0900118 };
119
120 i2c@F0000 {
Giridhar Maruthy49498c52012-12-28 09:33:58 -0800121 compatible = "samsung,exynos5440-i2c";
Kukjin Kim1355bbc2012-10-24 13:41:15 +0900122 reg = <0xF0000 0x1000>;
123 interrupts = <0 5 0>;
124 #address-cells = <1>;
125 #size-cells = <0>;
Thomas Abraham6a0338c2013-03-09 17:19:17 +0900126 clocks = <&clock 21>;
127 clock-names = "i2c";
Kukjin Kim1355bbc2012-10-24 13:41:15 +0900128 };
129
130 i2c@100000 {
Giridhar Maruthy49498c52012-12-28 09:33:58 -0800131 compatible = "samsung,exynos5440-i2c";
Kukjin Kim1355bbc2012-10-24 13:41:15 +0900132 reg = <0x100000 0x1000>;
133 interrupts = <0 6 0>;
134 #address-cells = <1>;
135 #size-cells = <0>;
Thomas Abraham6a0338c2013-03-09 17:19:17 +0900136 clocks = <&clock 21>;
137 clock-names = "i2c";
Kukjin Kim1355bbc2012-10-24 13:41:15 +0900138 };
139
140 watchdog {
141 compatible = "samsung,s3c2410-wdt";
142 reg = <0x110000 0x1000>;
143 interrupts = <0 1 0>;
Thomas Abraham6a0338c2013-03-09 17:19:17 +0900144 clocks = <&clock 21>;
145 clock-names = "watchdog";
Kukjin Kim1355bbc2012-10-24 13:41:15 +0900146 };
147
148 amba {
149 #address-cells = <1>;
150 #size-cells = <1>;
151 compatible = "arm,amba-bus";
152 interrupt-parent = <&gic>;
153 ranges;
154
155 pdma0: pdma@121A0000 {
156 compatible = "arm,pl330", "arm,primecell";
157 reg = <0x120000 0x1000>;
158 interrupts = <0 34 0>;
Thomas Abraham6a0338c2013-03-09 17:19:17 +0900159 clocks = <&clock 21>;
160 clock-names = "apb_pclk";
Padmavathi Venna0a96d4d2013-03-07 10:33:07 +0900161 #dma-cells = <1>;
162 #dma-channels = <8>;
163 #dma-requests = <32>;
Kukjin Kim1355bbc2012-10-24 13:41:15 +0900164 };
165
166 pdma1: pdma@121B0000 {
167 compatible = "arm,pl330", "arm,primecell";
168 reg = <0x121000 0x1000>;
169 interrupts = <0 35 0>;
Thomas Abraham6a0338c2013-03-09 17:19:17 +0900170 clocks = <&clock 21>;
171 clock-names = "apb_pclk";
Padmavathi Venna0a96d4d2013-03-07 10:33:07 +0900172 #dma-cells = <1>;
173 #dma-channels = <8>;
174 #dma-requests = <32>;
Kukjin Kim1355bbc2012-10-24 13:41:15 +0900175 };
176 };
177
178 rtc {
179 compatible = "samsung,s3c6410-rtc";
180 reg = <0x130000 0x1000>;
Giridhar Maruthye877a5a2012-12-27 18:02:58 -0800181 interrupts = <0 17 0>, <0 16 0>;
Thomas Abraham6a0338c2013-03-09 17:19:17 +0900182 clocks = <&clock 21>;
183 clock-names = "rtc";
Kukjin Kim1355bbc2012-10-24 13:41:15 +0900184 };
185};