]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blame - arch/arm/boot/dts/exynos5440.dtsi
ARM: dts: use #include for all device trees for Samsung
[mirror_ubuntu-eoan-kernel.git] / arch / arm / boot / dts / exynos5440.dtsi
CommitLineData
1355bbc4
KK
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
3799279f 12#include "skeleton.dtsi"
1355bbc4
KK
13
14/ {
15 compatible = "samsung,exynos5440";
16
17 interrupt-parent = <&gic>;
18
dabd3f9d
G
19 aliases {
20 spi0 = &spi_0;
21 };
22
d8bafc87
TA
23 clock: clock-controller@0x160000 {
24 compatible = "samsung,exynos5440-clock";
25 reg = <0x160000 0x1000>;
26 #clock-cells = <1>;
27 };
28
1355bbc4
KK
29 gic:interrupt-controller@2E0000 {
30 compatible = "arm,cortex-a15-gic";
31 #interrupt-cells = <3>;
32 interrupt-controller;
3279dd36
GM
33 reg = <0x2E1000 0x1000>,
34 <0x2E2000 0x1000>,
35 <0x2E4000 0x2000>,
36 <0x2E6000 0x2000>;
37 interrupts = <1 9 0xf04>;
1355bbc4
KK
38 };
39
40 cpus {
f5108e1c
KK
41 #address-cells = <1>;
42 #size-cells = <0>;
43
1355bbc4
KK
44 cpu@0 {
45 compatible = "arm,cortex-a15";
f5108e1c 46 reg = <0>;
1355bbc4
KK
47 };
48 cpu@1 {
49 compatible = "arm,cortex-a15";
f5108e1c 50 reg = <1>;
1355bbc4
KK
51 };
52 cpu@2 {
53 compatible = "arm,cortex-a15";
f5108e1c 54 reg = <2>;
1355bbc4
KK
55 };
56 cpu@3 {
57 compatible = "arm,cortex-a15";
f5108e1c 58 reg = <3>;
1355bbc4
KK
59 };
60 };
61
4c46f51a
SP
62 arm-pmu {
63 compatible = "arm,cortex-a15-pmu", "arm,cortex-a9-pmu";
64 interrupts = <0 52 4>,
65 <0 53 4>,
66 <0 54 4>,
67 <0 55 4>;
68 };
69
f5108e1c
KK
70 timer {
71 compatible = "arm,cortex-a15-timer",
72 "arm,armv7-timer";
73 interrupts = <1 13 0xf08>,
74 <1 14 0xf08>,
75 <1 11 0xf08>,
76 <1 10 0xf08>;
77 clock-frequency = <50000000>;
78 };
79
7f7b8ed0
ADK
80 cpufreq@160000 {
81 compatible = "samsung,exynos5440-cpufreq";
82 reg = <0x160000 0x1000>;
83 interrupts = <0 57 0>;
84 operating-points = <
85 /* KHz uV */
afbbf927
ADK
86 1500000 1100000
87 1400000 1075000
88 1300000 1050000
7f7b8ed0 89 1200000 1025000
afbbf927 90 1100000 1000000
7f7b8ed0 91 1000000 975000
afbbf927 92 900000 950000
7f7b8ed0
ADK
93 800000 925000
94 >;
95 };
96
1355bbc4
KK
97 serial@B0000 {
98 compatible = "samsung,exynos4210-uart";
99 reg = <0xB0000 0x1000>;
100 interrupts = <0 2 0>;
6a0338c2
TA
101 clocks = <&clock 21>, <&clock 21>;
102 clock-names = "uart", "clk_uart_baud0";
1355bbc4
KK
103 };
104
105 serial@C0000 {
106 compatible = "samsung,exynos4210-uart";
107 reg = <0xC0000 0x1000>;
108 interrupts = <0 3 0>;
6a0338c2
TA
109 clocks = <&clock 21>, <&clock 21>;
110 clock-names = "uart", "clk_uart_baud0";
1355bbc4
KK
111 };
112
dabd3f9d
G
113 spi_0: spi@D0000 {
114 compatible = "samsung,exynos5440-spi";
115 reg = <0xD0000 0x100>;
1355bbc4 116 interrupts = <0 4 0>;
1355bbc4
KK
117 #address-cells = <1>;
118 #size-cells = <0>;
dabd3f9d
G
119 samsung,spi-src-clk = <0>;
120 num-cs = <1>;
6a0338c2
TA
121 clocks = <&clock 21>, <&clock 16>;
122 clock-names = "spi", "spi_busclk0";
1355bbc4
KK
123 };
124
125 pinctrl {
f6925432 126 compatible = "samsung,exynos5440-pinctrl";
1355bbc4 127 reg = <0xE0000 0x1000>;
71d87da3
TA
128 interrupts = <0 37 0>, <0 38 0>, <0 39 0>, <0 40 0>,
129 <0 41 0>, <0 42 0>, <0 43 0>, <0 44 0>;
1355bbc4
KK
130 interrupt-controller;
131 #interrupt-cells = <2>;
b1ce101b
TA
132 #gpio-cells = <2>;
133
134 fan: fan {
135 samsung,exynos5440-pin-function = <1>;
136 };
137
138 hdd_led0: hdd_led0 {
139 samsung,exynos5440-pin-function = <2>;
140 };
141
142 hdd_led1: hdd_led1 {
143 samsung,exynos5440-pin-function = <3>;
144 };
145
146 uart1: uart1 {
147 samsung,exynos5440-pin-function = <4>;
148 };
1355bbc4
KK
149 };
150
151 i2c@F0000 {
49498c56 152 compatible = "samsung,exynos5440-i2c";
1355bbc4
KK
153 reg = <0xF0000 0x1000>;
154 interrupts = <0 5 0>;
155 #address-cells = <1>;
156 #size-cells = <0>;
6a0338c2
TA
157 clocks = <&clock 21>;
158 clock-names = "i2c";
1355bbc4
KK
159 };
160
161 i2c@100000 {
49498c56 162 compatible = "samsung,exynos5440-i2c";
1355bbc4
KK
163 reg = <0x100000 0x1000>;
164 interrupts = <0 6 0>;
165 #address-cells = <1>;
166 #size-cells = <0>;
6a0338c2
TA
167 clocks = <&clock 21>;
168 clock-names = "i2c";
1355bbc4
KK
169 };
170
171 watchdog {
172 compatible = "samsung,s3c2410-wdt";
173 reg = <0x110000 0x1000>;
174 interrupts = <0 1 0>;
6a0338c2
TA
175 clocks = <&clock 21>;
176 clock-names = "watchdog";
1355bbc4
KK
177 };
178
c038c4d8
BA
179 gmac: ethernet@00230000 {
180 compatible = "snps,dwmac-3.70a";
181 reg = <0x00230000 0x8000>;
182 interrupt-parent = <&gic>;
183 interrupts = <0 31 4>;
184 interrupt-names = "macirq";
185 phy-mode = "sgmii";
dce3b8ee 186 clocks = <&clock 25>;
c038c4d8
BA
187 clock-names = "stmmaceth";
188 };
189
1355bbc4
KK
190 amba {
191 #address-cells = <1>;
192 #size-cells = <1>;
193 compatible = "arm,amba-bus";
194 interrupt-parent = <&gic>;
195 ranges;
1355bbc4
KK
196 };
197
198 rtc {
199 compatible = "samsung,s3c6410-rtc";
200 reg = <0x130000 0x1000>;
e877a5aa 201 interrupts = <0 17 0>, <0 16 0>;
6a0338c2
TA
202 clocks = <&clock 21>;
203 clock-names = "rtc";
1355bbc4 204 };
1a12f52e
G
205
206 sata@210000 {
207 compatible = "snps,exynos5440-ahci";
208 reg = <0x210000 0x10000>;
209 interrupts = <0 30 0>;
210 clocks = <&clock 23>;
211 clock-names = "sata";
212 };
213
a3808905
TA
214 ohci@220000 {
215 compatible = "samsung,exynos5440-ohci";
216 reg = <0x220000 0x1000>;
217 interrupts = <0 29 0>;
218 clocks = <&clock 24>;
219 clock-names = "usbhost";
220 };
221
222 ehci@221000 {
223 compatible = "samsung,exynos5440-ehci";
224 reg = <0x221000 0x1000>;
225 interrupts = <0 29 0>;
226 clocks = <&clock 24>;
227 clock-names = "usbhost";
228 };
1355bbc4 229};