xref: /freebsd-src/sys/contrib/device-tree/src/arm/samsung/exynos5.dtsi (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * Samsung's Exynos5 SoC series common device tree source
4*f126890aSEmmanuel Vadot *
5*f126890aSEmmanuel Vadot * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
6*f126890aSEmmanuel Vadot *		http://www.samsung.com
7*f126890aSEmmanuel Vadot *
8*f126890aSEmmanuel Vadot * Samsung's Exynos5 SoC series device nodes are listed in this file. Particular
9*f126890aSEmmanuel Vadot * SoCs from Exynos5 series can include this file and provide values for SoCs
10*f126890aSEmmanuel Vadot * specific bindings.
11*f126890aSEmmanuel Vadot */
12*f126890aSEmmanuel Vadot
13*f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/arm-gic.h>
14*f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/irq.h>
15*f126890aSEmmanuel Vadot
16*f126890aSEmmanuel Vadot/ {
17*f126890aSEmmanuel Vadot	interrupt-parent = <&gic>;
18*f126890aSEmmanuel Vadot	#address-cells = <1>;
19*f126890aSEmmanuel Vadot	#size-cells = <1>;
20*f126890aSEmmanuel Vadot
21*f126890aSEmmanuel Vadot	aliases {
22*f126890aSEmmanuel Vadot		i2c0 = &i2c_0;
23*f126890aSEmmanuel Vadot		i2c1 = &i2c_1;
24*f126890aSEmmanuel Vadot		i2c2 = &i2c_2;
25*f126890aSEmmanuel Vadot		i2c3 = &i2c_3;
26*f126890aSEmmanuel Vadot		serial0 = &serial_0;
27*f126890aSEmmanuel Vadot		serial1 = &serial_1;
28*f126890aSEmmanuel Vadot		serial2 = &serial_2;
29*f126890aSEmmanuel Vadot		serial3 = &serial_3;
30*f126890aSEmmanuel Vadot	};
31*f126890aSEmmanuel Vadot
32*f126890aSEmmanuel Vadot	soc: soc {
33*f126890aSEmmanuel Vadot		compatible = "simple-bus";
34*f126890aSEmmanuel Vadot		#address-cells = <1>;
35*f126890aSEmmanuel Vadot		#size-cells = <1>;
36*f126890aSEmmanuel Vadot		ranges;
37*f126890aSEmmanuel Vadot
38*f126890aSEmmanuel Vadot		chipid: chipid@10000000 {
39*f126890aSEmmanuel Vadot			compatible = "samsung,exynos4210-chipid";
40*f126890aSEmmanuel Vadot			reg = <0x10000000 0x100>;
41*f126890aSEmmanuel Vadot		};
42*f126890aSEmmanuel Vadot
43*f126890aSEmmanuel Vadot		sromc: memory-controller@12250000 {
44*f126890aSEmmanuel Vadot			compatible = "samsung,exynos4210-srom";
45*f126890aSEmmanuel Vadot			reg = <0x12250000 0x14>;
46*f126890aSEmmanuel Vadot		};
47*f126890aSEmmanuel Vadot
48*f126890aSEmmanuel Vadot		combiner: interrupt-controller@10440000 {
49*f126890aSEmmanuel Vadot			compatible = "samsung,exynos4210-combiner";
50*f126890aSEmmanuel Vadot			#interrupt-cells = <2>;
51*f126890aSEmmanuel Vadot			interrupt-controller;
52*f126890aSEmmanuel Vadot			samsung,combiner-nr = <32>;
53*f126890aSEmmanuel Vadot			reg = <0x10440000 0x1000>;
54*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
55*f126890aSEmmanuel Vadot				     <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
56*f126890aSEmmanuel Vadot				     <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
57*f126890aSEmmanuel Vadot				     <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
58*f126890aSEmmanuel Vadot				     <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
59*f126890aSEmmanuel Vadot				     <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>,
60*f126890aSEmmanuel Vadot				     <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>,
61*f126890aSEmmanuel Vadot				     <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>,
62*f126890aSEmmanuel Vadot				     <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
63*f126890aSEmmanuel Vadot				     <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
64*f126890aSEmmanuel Vadot				     <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>,
65*f126890aSEmmanuel Vadot				     <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>,
66*f126890aSEmmanuel Vadot				     <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
67*f126890aSEmmanuel Vadot				     <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
68*f126890aSEmmanuel Vadot				     <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>,
69*f126890aSEmmanuel Vadot				     <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>,
70*f126890aSEmmanuel Vadot				     <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>,
71*f126890aSEmmanuel Vadot				     <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>,
72*f126890aSEmmanuel Vadot				     <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>,
73*f126890aSEmmanuel Vadot				     <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>,
74*f126890aSEmmanuel Vadot				     <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>,
75*f126890aSEmmanuel Vadot				     <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>,
76*f126890aSEmmanuel Vadot				     <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>,
77*f126890aSEmmanuel Vadot				     <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>,
78*f126890aSEmmanuel Vadot				     <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>,
79*f126890aSEmmanuel Vadot				     <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>,
80*f126890aSEmmanuel Vadot				     <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>,
81*f126890aSEmmanuel Vadot				     <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>,
82*f126890aSEmmanuel Vadot				     <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>,
83*f126890aSEmmanuel Vadot				     <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>,
84*f126890aSEmmanuel Vadot				     <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>,
85*f126890aSEmmanuel Vadot				     <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
86*f126890aSEmmanuel Vadot		};
87*f126890aSEmmanuel Vadot
88*f126890aSEmmanuel Vadot		gic: interrupt-controller@10481000 {
89*f126890aSEmmanuel Vadot			compatible = "arm,gic-400", "arm,cortex-a15-gic";
90*f126890aSEmmanuel Vadot			#interrupt-cells = <3>;
91*f126890aSEmmanuel Vadot			interrupt-controller;
92*f126890aSEmmanuel Vadot			reg = <0x10481000 0x1000>,
93*f126890aSEmmanuel Vadot				<0x10482000 0x2000>,
94*f126890aSEmmanuel Vadot				<0x10484000 0x2000>,
95*f126890aSEmmanuel Vadot				<0x10486000 0x2000>;
96*f126890aSEmmanuel Vadot			interrupts = <GIC_PPI 9
97*f126890aSEmmanuel Vadot					(GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
98*f126890aSEmmanuel Vadot		};
99*f126890aSEmmanuel Vadot
100*f126890aSEmmanuel Vadot		sysreg_system_controller: syscon@10050000 {
101*f126890aSEmmanuel Vadot			compatible = "samsung,exynos5-sysreg", "syscon";
102*f126890aSEmmanuel Vadot			reg = <0x10050000 0x5000>;
103*f126890aSEmmanuel Vadot		};
104*f126890aSEmmanuel Vadot
105*f126890aSEmmanuel Vadot		serial_0: serial@12c00000 {
106*f126890aSEmmanuel Vadot			compatible = "samsung,exynos4210-uart";
107*f126890aSEmmanuel Vadot			reg = <0x12c00000 0x100>;
108*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
109*f126890aSEmmanuel Vadot		};
110*f126890aSEmmanuel Vadot
111*f126890aSEmmanuel Vadot		serial_1: serial@12c10000 {
112*f126890aSEmmanuel Vadot			compatible = "samsung,exynos4210-uart";
113*f126890aSEmmanuel Vadot			reg = <0x12c10000 0x100>;
114*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
115*f126890aSEmmanuel Vadot		};
116*f126890aSEmmanuel Vadot
117*f126890aSEmmanuel Vadot		serial_2: serial@12c20000 {
118*f126890aSEmmanuel Vadot			compatible = "samsung,exynos4210-uart";
119*f126890aSEmmanuel Vadot			reg = <0x12c20000 0x100>;
120*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
121*f126890aSEmmanuel Vadot		};
122*f126890aSEmmanuel Vadot
123*f126890aSEmmanuel Vadot		serial_3: serial@12c30000 {
124*f126890aSEmmanuel Vadot			compatible = "samsung,exynos4210-uart";
125*f126890aSEmmanuel Vadot			reg = <0x12c30000 0x100>;
126*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
127*f126890aSEmmanuel Vadot		};
128*f126890aSEmmanuel Vadot
129*f126890aSEmmanuel Vadot		i2c_0: i2c@12c60000 {
130*f126890aSEmmanuel Vadot			compatible = "samsung,s3c2440-i2c";
131*f126890aSEmmanuel Vadot			reg = <0x12c60000 0x100>;
132*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
133*f126890aSEmmanuel Vadot			#address-cells = <1>;
134*f126890aSEmmanuel Vadot			#size-cells = <0>;
135*f126890aSEmmanuel Vadot			samsung,sysreg-phandle = <&sysreg_system_controller>;
136*f126890aSEmmanuel Vadot			status = "disabled";
137*f126890aSEmmanuel Vadot		};
138*f126890aSEmmanuel Vadot
139*f126890aSEmmanuel Vadot		i2c_1: i2c@12c70000 {
140*f126890aSEmmanuel Vadot			compatible = "samsung,s3c2440-i2c";
141*f126890aSEmmanuel Vadot			reg = <0x12c70000 0x100>;
142*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
143*f126890aSEmmanuel Vadot			#address-cells = <1>;
144*f126890aSEmmanuel Vadot			#size-cells = <0>;
145*f126890aSEmmanuel Vadot			samsung,sysreg-phandle = <&sysreg_system_controller>;
146*f126890aSEmmanuel Vadot			status = "disabled";
147*f126890aSEmmanuel Vadot		};
148*f126890aSEmmanuel Vadot
149*f126890aSEmmanuel Vadot		i2c_2: i2c@12c80000 {
150*f126890aSEmmanuel Vadot			compatible = "samsung,s3c2440-i2c";
151*f126890aSEmmanuel Vadot			reg = <0x12c80000 0x100>;
152*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>;
153*f126890aSEmmanuel Vadot			#address-cells = <1>;
154*f126890aSEmmanuel Vadot			#size-cells = <0>;
155*f126890aSEmmanuel Vadot			samsung,sysreg-phandle = <&sysreg_system_controller>;
156*f126890aSEmmanuel Vadot			status = "disabled";
157*f126890aSEmmanuel Vadot		};
158*f126890aSEmmanuel Vadot
159*f126890aSEmmanuel Vadot		i2c_3: i2c@12c90000 {
160*f126890aSEmmanuel Vadot			compatible = "samsung,s3c2440-i2c";
161*f126890aSEmmanuel Vadot			reg = <0x12c90000 0x100>;
162*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
163*f126890aSEmmanuel Vadot			#address-cells = <1>;
164*f126890aSEmmanuel Vadot			#size-cells = <0>;
165*f126890aSEmmanuel Vadot			samsung,sysreg-phandle = <&sysreg_system_controller>;
166*f126890aSEmmanuel Vadot			status = "disabled";
167*f126890aSEmmanuel Vadot		};
168*f126890aSEmmanuel Vadot
169*f126890aSEmmanuel Vadot		pwm: pwm@12dd0000 {
170*f126890aSEmmanuel Vadot			compatible = "samsung,exynos4210-pwm";
171*f126890aSEmmanuel Vadot			reg = <0x12dd0000 0x100>;
172*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>,
173*f126890aSEmmanuel Vadot				     <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>,
174*f126890aSEmmanuel Vadot				     <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>,
175*f126890aSEmmanuel Vadot				     <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
176*f126890aSEmmanuel Vadot				     <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
177*f126890aSEmmanuel Vadot			samsung,pwm-outputs = <0>, <1>, <2>, <3>;
178*f126890aSEmmanuel Vadot			#pwm-cells = <3>;
179*f126890aSEmmanuel Vadot		};
180*f126890aSEmmanuel Vadot
181*f126890aSEmmanuel Vadot		rtc: rtc@101e0000 {
182*f126890aSEmmanuel Vadot			compatible = "samsung,s3c6410-rtc";
183*f126890aSEmmanuel Vadot			reg = <0x101e0000 0x100>;
184*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
185*f126890aSEmmanuel Vadot				     <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
186*f126890aSEmmanuel Vadot			status = "disabled";
187*f126890aSEmmanuel Vadot		};
188*f126890aSEmmanuel Vadot
189*f126890aSEmmanuel Vadot		fimd: fimd@14400000 {
190*f126890aSEmmanuel Vadot			compatible = "samsung,exynos5250-fimd";
191*f126890aSEmmanuel Vadot			interrupt-parent = <&combiner>;
192*f126890aSEmmanuel Vadot			reg = <0x14400000 0x40000>;
193*f126890aSEmmanuel Vadot			interrupt-names = "fifo", "vsync", "lcd_sys";
194*f126890aSEmmanuel Vadot			interrupts = <18 4>, <18 5>, <18 6>;
195*f126890aSEmmanuel Vadot			samsung,sysreg = <&sysreg_system_controller>;
196*f126890aSEmmanuel Vadot			status = "disabled";
197*f126890aSEmmanuel Vadot		};
198*f126890aSEmmanuel Vadot
199*f126890aSEmmanuel Vadot		dp: dp-controller@145b0000 {
200*f126890aSEmmanuel Vadot			compatible = "samsung,exynos5-dp";
201*f126890aSEmmanuel Vadot			reg = <0x145b0000 0x1000>;
202*f126890aSEmmanuel Vadot			interrupts = <10 3>;
203*f126890aSEmmanuel Vadot			interrupt-parent = <&combiner>;
204*f126890aSEmmanuel Vadot			status = "disabled";
205*f126890aSEmmanuel Vadot		};
206*f126890aSEmmanuel Vadot
207*f126890aSEmmanuel Vadot		sss: sss@10830000 {
208*f126890aSEmmanuel Vadot			compatible = "samsung,exynos4210-secss";
209*f126890aSEmmanuel Vadot			reg = <0x10830000 0x300>;
210*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
211*f126890aSEmmanuel Vadot		};
212*f126890aSEmmanuel Vadot
213*f126890aSEmmanuel Vadot		prng: rng@10830400 {
214*f126890aSEmmanuel Vadot			compatible = "samsung,exynos5250-prng";
215*f126890aSEmmanuel Vadot			reg = <0x10830400 0x200>;
216*f126890aSEmmanuel Vadot		};
217*f126890aSEmmanuel Vadot
218*f126890aSEmmanuel Vadot		trng: rng@10830600 {
219*f126890aSEmmanuel Vadot			compatible = "samsung,exynos5250-trng";
220*f126890aSEmmanuel Vadot			reg = <0x10830600 0x100>;
221*f126890aSEmmanuel Vadot		};
222*f126890aSEmmanuel Vadot
223*f126890aSEmmanuel Vadot		g2d: g2d@10850000 {
224*f126890aSEmmanuel Vadot			compatible = "samsung,exynos5250-g2d";
225*f126890aSEmmanuel Vadot			reg = <0x10850000 0x1000>;
226*f126890aSEmmanuel Vadot			interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
227*f126890aSEmmanuel Vadot			status = "disabled";
228*f126890aSEmmanuel Vadot		};
229*f126890aSEmmanuel Vadot	};
230*f126890aSEmmanuel Vadot};
231