exynos5250.dtsi revision 252371
1252371Sray/*-
2252371Sray * Copyright (c) 2013 Ruslan Bukin <br@bsdpad.com>
3252371Sray * All rights reserved.
4252371Sray *
5252371Sray * Redistribution and use in source and binary forms, with or without
6252371Sray * modification, are permitted provided that the following conditions
7252371Sray * are met:
8252371Sray * 1. Redistributions of source code must retain the above copyright
9252371Sray *    notice, this list of conditions and the following disclaimer.
10252371Sray * 2. Redistributions in binary form must reproduce the above copyright
11252371Sray *    notice, this list of conditions and the following disclaimer in the
12252371Sray *    documentation and/or other materials provided with the distribution.
13252371Sray *
14252371Sray * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15252371Sray * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16252371Sray * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17252371Sray * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18252371Sray * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19252371Sray * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20252371Sray * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21252371Sray * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22252371Sray * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23252371Sray * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24252371Sray * SUCH DAMAGE.
25252371Sray *
26252371Sray * $FreeBSD: head/sys/boot/fdt/dts/exynos5250.dtsi 252371 2013-06-29 12:24:11Z ray $
27252371Sray */
28252371Sray
29252371Sray/ {
30252371Sray	compatible = "samsung,exynos5250";
31252371Sray	#address-cells = <1>;
32252371Sray	#size-cells = <1>;
33252371Sray	interrupt-parent = <&GIC>;
34252371Sray
35252371Sray	Exynos5@0 {
36252371Sray		#address-cells = <1>;
37252371Sray		#size-cells = <1>;
38252371Sray		compatible = "simple-bus";
39252371Sray		ranges;
40252371Sray		bus-frequency = <0>;
41252371Sray
42252371Sray		GIC: interrupt-controller@10481000 {
43252371Sray			compatible = "arm,gic";
44252371Sray			reg =	< 0x10481000 0x1000 >,	/* Distributor Registers */
45252371Sray				< 0x10482000 0x2000 >;	/* CPU Interface Registers */
46252371Sray			interrupt-controller;
47252371Sray			#address-cells = <0>;
48252371Sray			#interrupt-cells = <1>;
49252371Sray		};
50252371Sray
51252371Sray		mct {
52252371Sray			compatible = "exynos,mct";
53252371Sray			reg = < 0x101C0000 0x1000 >;
54252371Sray			clock-frequency = <24000000>;
55252371Sray		};
56252371Sray
57252371Sray		generic_timer {
58252371Sray			compatible = "arm,armv7-timer";
59252371Sray			clock-frequency = <24000000>;
60252371Sray		};
61252371Sray
62252371Sray		pwm {
63252371Sray			compatible = "samsung,s3c24x0-timer";
64252371Sray			reg = <0x12DD0000 0x1000>;
65252371Sray			interrupts = < 71 >;
66252371Sray			interrupt-parent = <&GIC>;
67252371Sray			clock-frequency = <24000000>;
68252371Sray		};
69252371Sray
70252371Sray		usb@12110000 {
71252371Sray			compatible = "exynos,usb-ehci", "usb-ehci";
72252371Sray			reg = <0x12110000 0x1000>, /* EHCI */
73252371Sray			      <0x12130000 0x1000>, /* EHCI host ctrl */
74252371Sray			      <0x10040000 0x1000>, /* Power */
75252371Sray			      <0x10050000 0x1000>, /* Sysreg */
76252371Sray			      <0x11400000 0x1000>; /* GPIO left */
77252371Sray			interrupts = < 103 >;
78252371Sray			interrupt-parent = <&GIC>;
79252371Sray		};
80252371Sray
81252371Sray		usb@12120000 {
82252371Sray			compatible = "exynos,usb-ohci", "usb-ohci";
83252371Sray			reg = <0x12120000 0x10000>;
84252371Sray			interrupts = < 103 >;
85252371Sray			interrupt-parent = <&GIC>;
86252371Sray		};
87252371Sray
88252371Sray		sdhci@12200000 {
89252371Sray			compatible = "sdhci_generic";
90252371Sray			reg = <0x12200000 0x1000>;
91252371Sray			interrupts = <107>;
92252371Sray			interrupt-parent = <&GIC>;
93252371Sray			clock-frequency = <24000000>; /* TODO: verify freq */
94252371Sray		};
95252371Sray
96252371Sray		sdhci@12210000 {
97252371Sray			compatible = "sdhci_generic";
98252371Sray			reg = <0x12210000 0x1000>;
99252371Sray			interrupts = <108>;
100252371Sray			interrupt-parent = <&GIC>;
101252371Sray			clock-frequency = <24000000>;
102252371Sray		};
103252371Sray
104252371Sray		sdhci@12220000 {
105252371Sray			compatible = "sdhci_generic";
106252371Sray			reg = <0x12220000 0x1000>;
107252371Sray			interrupts = <109>;
108252371Sray			interrupt-parent = <&GIC>;
109252371Sray			clock-frequency = <24000000>;
110252371Sray		};
111252371Sray
112252371Sray		sdhci@12230000 {
113252371Sray			compatible = "sdhci_generic";
114252371Sray			reg = <0x12230000 0x1000>;
115252371Sray			interrupts = <110>;
116252371Sray			interrupt-parent = <&GIC>;
117252371Sray			clock-frequency = <24000000>;
118252371Sray		};
119252371Sray
120252371Sray		serial0: serial@12C00000 {
121252371Sray			compatible = "exynos";
122252371Sray			reg = <0x12C00000 0x100>;
123252371Sray			interrupts = < 83 >;
124252371Sray			interrupt-parent = <&GIC>;
125252371Sray			clock-frequency = < 100000000 >;
126252371Sray			current-speed = <115200>;
127252371Sray		};
128252371Sray
129252371Sray		serial1: serial@12C10000 {
130252371Sray			compatible = "exynos";
131252371Sray			reg = <0x12C10000 0x100>;
132252371Sray			interrupts = < 84 >;
133252371Sray			interrupt-parent = <&GIC>;
134252371Sray			clock-frequency = < 100000000 >;
135252371Sray			current-speed = <115200>;
136252371Sray		};
137252371Sray
138252371Sray		serial2: serial@12C20000 {
139252371Sray			compatible = "exynos";
140252371Sray			reg = <0x12C20000 0x100>;
141252371Sray			interrupts = < 85 >;
142252371Sray			interrupt-parent = <&GIC>;
143252371Sray			clock-frequency = < 100000000 >;
144252371Sray			current-speed = <115200>;
145252371Sray		};
146252371Sray
147252371Sray		serial3: serial@12C30000 {
148252371Sray			compatible = "exynos";
149252371Sray			reg = <0x12C30000 0x100>;
150252371Sray			interrupts = < 86 >;
151252371Sray			interrupt-parent = <&GIC>;
152252371Sray			clock-frequency = < 100000000 >;
153252371Sray			current-speed = <115200>;
154252371Sray		};
155252371Sray
156252371Sray	};
157252371Sray};
158