2 * SAMSUNG EXYNOS5440 SoC device tree source
4 * Copyright (c) 2012 Samsung Electronics Co., Ltd.
5 * http://www.samsung.com
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.
12 #include <dt-bindings/clock/exynos5440.h>
13 #include <dt-bindings/interrupt-controller/arm-gic.h>
14 #include <dt-bindings/interrupt-controller/irq.h>
17 compatible = "samsung,exynos5440", "samsung,exynos5";
19 interrupt-parent = <&gic>;
27 tmuctrl0 = &tmuctrl_0;
28 tmuctrl1 = &tmuctrl_1;
29 tmuctrl2 = &tmuctrl_2;
32 clock: clock-controller@160000 {
33 compatible = "samsung,exynos5440-clock";
34 reg = <0x160000 0x1000>;
38 gic: interrupt-controller@2E0000 {
39 compatible = "arm,cortex-a15-gic";
40 #interrupt-cells = <3>;
42 reg = <0x2E1000 0x1000>,
46 interrupts = <GIC_PPI 9
47 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
56 compatible = "arm,cortex-a15";
61 compatible = "arm,cortex-a15";
66 compatible = "arm,cortex-a15";
71 compatible = "arm,cortex-a15";
77 compatible = "arm,cortex-a15-pmu", "arm,cortex-a9-pmu";
78 interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>,
79 <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>,
80 <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>,
81 <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
85 compatible = "arm,cortex-a15-timer",
87 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
88 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
89 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
90 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
91 clock-frequency = <50000000>;
95 compatible = "samsung,exynos5440-cpufreq";
96 reg = <0x160000 0x1000>;
97 interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
111 serial_0: serial@B0000 {
112 compatible = "samsung,exynos4210-uart";
113 reg = <0xB0000 0x1000>;
114 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
115 clocks = <&clock CLK_B_125>, <&clock CLK_B_125>;
116 clock-names = "uart", "clk_uart_baud0";
119 serial_1: serial@C0000 {
120 compatible = "samsung,exynos4210-uart";
121 reg = <0xC0000 0x1000>;
122 interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
123 clocks = <&clock CLK_B_125>, <&clock CLK_B_125>;
124 clock-names = "uart", "clk_uart_baud0";
128 compatible = "samsung,exynos5440-spi";
129 reg = <0xD0000 0x100>;
130 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
131 #address-cells = <1>;
133 samsung,spi-src-clk = <0>;
135 clocks = <&clock CLK_B_125>, <&clock CLK_SPI_BAUD>;
136 clock-names = "spi", "spi_busclk0";
139 pin_ctrl: pinctrl@E0000 {
140 compatible = "samsung,exynos5440-pinctrl";
141 reg = <0xE0000 0x1000>;
142 interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>,
143 <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>,
144 <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
145 <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>,
146 <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>,
147 <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>,
148 <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
149 <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
150 interrupt-controller;
151 #interrupt-cells = <2>;
155 samsung,exynos5440-pin-function = <1>;
159 samsung,exynos5440-pin-function = <2>;
163 samsung,exynos5440-pin-function = <3>;
167 samsung,exynos5440-pin-function = <4>;
172 compatible = "samsung,exynos5440-i2c";
173 reg = <0xF0000 0x1000>;
174 interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
175 #address-cells = <1>;
177 clocks = <&clock CLK_B_125>;
182 compatible = "samsung,exynos5440-i2c";
183 reg = <0x100000 0x1000>;
184 interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
185 #address-cells = <1>;
187 clocks = <&clock CLK_B_125>;
192 compatible = "samsung,s3c2410-wdt";
193 reg = <0x110000 0x1000>;
194 interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
195 clocks = <&clock CLK_B_125>;
196 clock-names = "watchdog";
199 gmac: ethernet@00230000 {
200 compatible = "snps,dwmac-3.70a", "snps,dwmac";
201 reg = <0x00230000 0x8000>;
202 interrupt-parent = <&gic>;
203 interrupts = <GIC_SPI 31 4>;
204 interrupt-names = "macirq";
206 clocks = <&clock CLK_GMAC0>;
207 clock-names = "stmmaceth";
211 #address-cells = <1>;
213 compatible = "simple-bus";
214 interrupt-parent = <&gic>;
219 compatible = "samsung,s3c6410-rtc";
220 reg = <0x130000 0x1000>;
221 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>,
222 <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
223 clocks = <&clock CLK_B_125>;
227 tmuctrl_0: tmuctrl@160118 {
228 compatible = "samsung,exynos5440-tmu";
229 reg = <0x160118 0x230>, <0x160368 0x10>;
230 interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>;
231 clocks = <&clock CLK_B_125>;
232 clock-names = "tmu_apbif";
233 #include "exynos5440-tmu-sensor-conf.dtsi"
236 tmuctrl_1: tmuctrl@16011C {
237 compatible = "samsung,exynos5440-tmu";
238 reg = <0x16011C 0x230>, <0x160368 0x10>;
239 interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>;
240 clocks = <&clock CLK_B_125>;
241 clock-names = "tmu_apbif";
242 #include "exynos5440-tmu-sensor-conf.dtsi"
245 tmuctrl_2: tmuctrl@160120 {
246 compatible = "samsung,exynos5440-tmu";
247 reg = <0x160120 0x230>, <0x160368 0x10>;
248 interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>;
249 clocks = <&clock CLK_B_125>;
250 clock-names = "tmu_apbif";
251 #include "exynos5440-tmu-sensor-conf.dtsi"
255 cpu0_thermal: cpu0-thermal {
256 thermal-sensors = <&tmuctrl_0>;
257 #include "exynos5440-trip-points.dtsi"
259 cpu1_thermal: cpu1-thermal {
260 thermal-sensors = <&tmuctrl_1>;
261 #include "exynos5440-trip-points.dtsi"
263 cpu2_thermal: cpu2-thermal {
264 thermal-sensors = <&tmuctrl_2>;
265 #include "exynos5440-trip-points.dtsi"
270 compatible = "snps,exynos5440-ahci";
271 reg = <0x210000 0x10000>;
272 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
273 clocks = <&clock CLK_SATA>;
274 clock-names = "sata";
278 compatible = "samsung,exynos5440-ohci";
279 reg = <0x220000 0x1000>;
280 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
281 clocks = <&clock CLK_USB>;
282 clock-names = "usbhost";
286 compatible = "samsung,exynos5440-ehci";
287 reg = <0x221000 0x1000>;
288 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
289 clocks = <&clock CLK_USB>;
290 clock-names = "usbhost";
293 pcie_0: pcie@290000 {
294 compatible = "samsung,exynos5440-pcie", "snps,dw-pcie";
295 reg = <0x290000 0x1000
298 interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>,
299 <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>,
300 <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
301 clocks = <&clock CLK_PR0_250_O>, <&clock CLK_PB0_250_O>;
302 clock-names = "pcie", "pcie_bus";
303 #address-cells = <3>;
306 ranges = <0x00000800 0 0x40000000 0x40000000 0 0x00001000 /* configuration space */
307 0x81000000 0 0 0x40001000 0 0x00010000 /* downstream I/O */
308 0x82000000 0 0x40011000 0x40011000 0 0x1ffef000>; /* non-prefetchable memory */
309 #interrupt-cells = <1>;
310 interrupt-map-mask = <0 0 0 0>;
311 interrupt-map = <0x0 0 &gic 53>;
316 pcie_1: pcie@2a0000 {
317 compatible = "samsung,exynos5440-pcie", "snps,dw-pcie";
318 reg = <0x2a0000 0x1000
321 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>,
322 <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>,
323 <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
324 clocks = <&clock CLK_PR1_250_O>, <&clock CLK_PB0_250_O>;
325 clock-names = "pcie", "pcie_bus";
326 #address-cells = <3>;
329 ranges = <0x00000800 0 0x60000000 0x60000000 0 0x00001000 /* configuration space */
330 0x81000000 0 0 0x60001000 0 0x00010000 /* downstream I/O */
331 0x82000000 0 0x60011000 0x60011000 0 0x1ffef000>; /* non-prefetchable memory */
332 #interrupt-cells = <1>;
333 interrupt-map-mask = <0 0 0 0>;
334 interrupt-map = <0x0 0 &gic 56>;