1/*-
2 * Copyright (c) 2014 Ruslan Bukin <br@bsdpad.com>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright
9 *    notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright
11 *    notice, this list of conditions and the following disclaimer in the
12 *    documentation and/or other materials provided with the distribution.
13 *
14 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
26 * $FreeBSD: releng/11.0/sys/boot/fdt/dts/arm/exynos5420.dtsi 272712 2014-10-07 17:39:30Z br $
27 */
28
29/include/ "exynos5.dtsi"
30
31/ {
32	compatible = "samsung,exynos5420", "samsung,exynos5";
33
34	SOC: Exynos5@0 {
35
36		pmu_system_controller: system-controller@10040000 {
37			compatible = "samsung,exynos5420-pmu";
38			status = "okay";
39		};
40
41		pad0: pad@11400000 {
42			compatible = "samsung,exynos5420-padctrl";
43			status = "okay";
44			reg = <0x13400000 0x1000>,
45			      <0x13410000 0x1000>,
46			      <0x14000000 0x1000>,
47			      <0x14010000 0x1000>,
48			      <0x03860000 0x1000>;
49			interrupts = < 77 110 78 82 79 >;
50			interrupt-parent = <&GIC>;
51		};
52
53		serial0: serial@12C00000 {
54			clock-frequency = < 50000000 >;
55		};
56
57		serial1: serial@12C10000 {
58			clock-frequency = < 50000000 >;
59		};
60
61		serial2: serial@12C20000 {
62			clock-frequency = < 50000000 >;
63		};
64
65		serial3: serial@12C30000 {
66			clock-frequency = < 50000000 >;
67		};
68
69		usbdrd_phy0: phy@12100000 {
70			status = "okay";
71		};
72
73		usbdrd_phy1: phy@12500000 {
74			status = "okay";
75		};
76
77		xhci@12000000 {
78			status = "okay";
79		};
80
81		xhci@12400000 {
82			status = "okay";
83		};
84
85		mmc0: dwmmc@12200000 {
86			compatible = "samsung,exynos5420-dw-mshc-smu";
87			reg = <0x12200000 0x10000>;
88			interrupts = <107>;
89			interrupt-parent = <&GIC>;
90			fifo-depth = <0x40>;
91			status = "disabled";
92		};
93
94		mmc1: dwmmc@12210000 {
95			compatible = "samsung,exynos5420-dw-mshc-smu";
96			reg = <0x12210000 0x10000>;
97			interrupts = <108>;
98			interrupt-parent = <&GIC>;
99			fifo-depth = <0x40>;
100			status = "disabled";
101		};
102
103		mmc2: dwmmc@12220000 {
104			compatible = "samsung,exynos5420-dw-mshc";
105			reg = <0x12220000 0x10000>;
106			interrupts = <109>;
107			interrupt-parent = <&GIC>;
108			fifo-depth = <0x40>;
109			status = "disabled";
110		};
111	};
112};
113