blob: 22eb951c614c60d0ca5ee8a6d0b600ec7dfb0c34 [file] [log] [blame]
Krzysztof Kozlowskicc4637f2017-12-25 11:40:09 +01001// SPDX-License-Identifier: GPL-2.0
Chander Kashyape6c21cb2013-06-19 00:29:34 +09002/*
3 * Samsung's Exynos5 SoC series common device tree source
4 *
5 * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
6 * http://www.samsung.com
7 *
8 * Samsung's Exynos5 SoC series device nodes are listed in this file. Particular
9 * SoCs from Exynos5 series can include this file and provide values for SoCs
10 * specfic bindings.
Chander Kashyape6c21cb2013-06-19 00:29:34 +090011 */
12
Krzysztof Kozlowski888950b2016-09-16 23:41:59 +020013#include <dt-bindings/interrupt-controller/arm-gic.h>
Krzysztof Kozlowski12a5e2b2016-09-16 21:42:47 +020014#include <dt-bindings/interrupt-controller/irq.h>
Chander Kashyape6c21cb2013-06-19 00:29:34 +090015
16/ {
17 interrupt-parent = <&gic>;
Javier Martinez Canillas12676ee2016-09-01 11:06:53 +020018 #address-cells = <1>;
19 #size-cells = <1>;
Chander Kashyape6c21cb2013-06-19 00:29:34 +090020
Tomasz Figa1e64f482014-06-26 13:24:35 +020021 aliases {
Krzysztof Kozlowski5a124fe2016-05-03 14:51:25 +020022 i2c0 = &i2c_0;
23 i2c1 = &i2c_1;
24 i2c2 = &i2c_2;
25 i2c3 = &i2c_3;
Tomasz Figa1e64f482014-06-26 13:24:35 +020026 serial0 = &serial_0;
27 serial1 = &serial_1;
28 serial2 = &serial_2;
29 serial3 = &serial_3;
30 };
31
Krzysztof Kozlowski5d99cc52016-05-03 18:53:04 +020032 soc: soc {
33 compatible = "simple-bus";
Krzysztof Kozlowski5a124fe2016-05-03 14:51:25 +020034 #address-cells = <1>;
Krzysztof Kozlowski5d99cc52016-05-03 18:53:04 +020035 #size-cells = <1>;
36 ranges;
Krzysztof Kozlowski5a124fe2016-05-03 14:51:25 +020037
Sylwester Nawrockicdcce1e2019-09-10 14:36:17 +020038 chipid: chipid@10000000 {
Sylwester Nawrockie90cb362019-10-28 16:20:49 +010039 compatible = "samsung,exynos4210-chipid";
Krzysztof Kozlowski5d99cc52016-05-03 18:53:04 +020040 reg = <0x10000000 0x100>;
41 };
Krzysztof Kozlowski5a124fe2016-05-03 14:51:25 +020042
Krzysztof Kozlowski5d99cc52016-05-03 18:53:04 +020043 sromc: memory-controller@12250000 {
44 compatible = "samsung,exynos4210-srom";
45 reg = <0x12250000 0x14>;
46 };
Krzysztof Kozlowski5a124fe2016-05-03 14:51:25 +020047
Krzysztof Kozlowski5d99cc52016-05-03 18:53:04 +020048 combiner: interrupt-controller@10440000 {
49 compatible = "samsung,exynos4210-combiner";
50 #interrupt-cells = <2>;
51 interrupt-controller;
52 samsung,combiner-nr = <32>;
53 reg = <0x10440000 0x1000>;
Krzysztof Kozlowskic92a4fb2017-06-02 20:13:46 +020054 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
55 <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
56 <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
57 <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>,
58 <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>,
59 <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>,
60 <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>,
61 <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>,
62 <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>,
63 <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>,
64 <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>,
65 <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>,
66 <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>,
67 <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>,
68 <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>,
69 <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>,
70 <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>,
71 <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>,
72 <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>,
73 <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>,
74 <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>,
75 <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>,
76 <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>,
77 <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>,
78 <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>,
79 <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>,
80 <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>,
81 <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>,
82 <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>,
83 <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>,
84 <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>,
85 <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
Krzysztof Kozlowski5d99cc52016-05-03 18:53:04 +020086 };
Krzysztof Kozlowski5a124fe2016-05-03 14:51:25 +020087
Krzysztof Kozlowski5d99cc52016-05-03 18:53:04 +020088 gic: interrupt-controller@10481000 {
Marc Zyngier387720c2017-01-18 09:27:28 +000089 compatible = "arm,gic-400", "arm,cortex-a15-gic", "arm,cortex-a9-gic";
Krzysztof Kozlowski5d99cc52016-05-03 18:53:04 +020090 #interrupt-cells = <3>;
91 interrupt-controller;
92 reg = <0x10481000 0x1000>,
Marc Zyngier387720c2017-01-18 09:27:28 +000093 <0x10482000 0x2000>,
Krzysztof Kozlowski5d99cc52016-05-03 18:53:04 +020094 <0x10484000 0x2000>,
95 <0x10486000 0x2000>;
Krzysztof Kozlowski888950b2016-09-16 23:41:59 +020096 interrupts = <GIC_PPI 9
97 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
Krzysztof Kozlowski5d99cc52016-05-03 18:53:04 +020098 };
Krzysztof Kozlowski5a124fe2016-05-03 14:51:25 +020099
Krzysztof Kozlowski5d99cc52016-05-03 18:53:04 +0200100 sysreg_system_controller: syscon@10050000 {
101 compatible = "samsung,exynos5-sysreg", "syscon";
102 reg = <0x10050000 0x5000>;
103 };
Chander Kashyape6c21cb2013-06-19 00:29:34 +0900104
Krzysztof Kozlowski3be1ecf2017-12-14 21:54:30 +0100105 serial_0: serial@12c00000 {
Krzysztof Kozlowski5d99cc52016-05-03 18:53:04 +0200106 compatible = "samsung,exynos4210-uart";
107 reg = <0x12C00000 0x100>;
Krzysztof Kozlowskic92a4fb2017-06-02 20:13:46 +0200108 interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>;
Krzysztof Kozlowski5d99cc52016-05-03 18:53:04 +0200109 };
Vikas Sajjan77899d52013-08-14 17:15:00 +0900110
Krzysztof Kozlowski3be1ecf2017-12-14 21:54:30 +0100111 serial_1: serial@12c10000 {
Krzysztof Kozlowski5d99cc52016-05-03 18:53:04 +0200112 compatible = "samsung,exynos4210-uart";
113 reg = <0x12C10000 0x100>;
Krzysztof Kozlowskic92a4fb2017-06-02 20:13:46 +0200114 interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
Krzysztof Kozlowski5d99cc52016-05-03 18:53:04 +0200115 };
116
Krzysztof Kozlowski3be1ecf2017-12-14 21:54:30 +0100117 serial_2: serial@12c20000 {
Krzysztof Kozlowski5d99cc52016-05-03 18:53:04 +0200118 compatible = "samsung,exynos4210-uart";
119 reg = <0x12C20000 0x100>;
Krzysztof Kozlowskic92a4fb2017-06-02 20:13:46 +0200120 interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
Krzysztof Kozlowski5d99cc52016-05-03 18:53:04 +0200121 };
122
Krzysztof Kozlowski3be1ecf2017-12-14 21:54:30 +0100123 serial_3: serial@12c30000 {
Krzysztof Kozlowski5d99cc52016-05-03 18:53:04 +0200124 compatible = "samsung,exynos4210-uart";
125 reg = <0x12C30000 0x100>;
Krzysztof Kozlowskic92a4fb2017-06-02 20:13:46 +0200126 interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
Krzysztof Kozlowski5d99cc52016-05-03 18:53:04 +0200127 };
128
Krzysztof Kozlowski3be1ecf2017-12-14 21:54:30 +0100129 i2c_0: i2c@12c60000 {
Krzysztof Kozlowski5d99cc52016-05-03 18:53:04 +0200130 compatible = "samsung,s3c2440-i2c";
131 reg = <0x12C60000 0x100>;
Krzysztof Kozlowskic92a4fb2017-06-02 20:13:46 +0200132 interrupts = <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>;
Krzysztof Kozlowski5d99cc52016-05-03 18:53:04 +0200133 #address-cells = <1>;
134 #size-cells = <0>;
135 samsung,sysreg-phandle = <&sysreg_system_controller>;
136 status = "disabled";
137 };
138
Krzysztof Kozlowski3be1ecf2017-12-14 21:54:30 +0100139 i2c_1: i2c@12c70000 {
Krzysztof Kozlowski5d99cc52016-05-03 18:53:04 +0200140 compatible = "samsung,s3c2440-i2c";
141 reg = <0x12C70000 0x100>;
Krzysztof Kozlowskic92a4fb2017-06-02 20:13:46 +0200142 interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
Krzysztof Kozlowski5d99cc52016-05-03 18:53:04 +0200143 #address-cells = <1>;
144 #size-cells = <0>;
145 samsung,sysreg-phandle = <&sysreg_system_controller>;
146 status = "disabled";
147 };
148
Krzysztof Kozlowski3be1ecf2017-12-14 21:54:30 +0100149 i2c_2: i2c@12c80000 {
Krzysztof Kozlowski5d99cc52016-05-03 18:53:04 +0200150 compatible = "samsung,s3c2440-i2c";
151 reg = <0x12C80000 0x100>;
Krzysztof Kozlowskic92a4fb2017-06-02 20:13:46 +0200152 interrupts = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>;
Krzysztof Kozlowski5d99cc52016-05-03 18:53:04 +0200153 #address-cells = <1>;
154 #size-cells = <0>;
155 samsung,sysreg-phandle = <&sysreg_system_controller>;
156 status = "disabled";
157 };
158
Krzysztof Kozlowski3be1ecf2017-12-14 21:54:30 +0100159 i2c_3: i2c@12c90000 {
Krzysztof Kozlowski5d99cc52016-05-03 18:53:04 +0200160 compatible = "samsung,s3c2440-i2c";
161 reg = <0x12C90000 0x100>;
Krzysztof Kozlowskic92a4fb2017-06-02 20:13:46 +0200162 interrupts = <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>;
Krzysztof Kozlowski5d99cc52016-05-03 18:53:04 +0200163 #address-cells = <1>;
164 #size-cells = <0>;
165 samsung,sysreg-phandle = <&sysreg_system_controller>;
166 status = "disabled";
167 };
168
Krzysztof Kozlowski3be1ecf2017-12-14 21:54:30 +0100169 pwm: pwm@12dd0000 {
Krzysztof Kozlowski5d99cc52016-05-03 18:53:04 +0200170 compatible = "samsung,exynos4210-pwm";
171 reg = <0x12DD0000 0x100>;
Anand Mooneac05802018-07-18 12:59:27 +0000172 interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>,
173 <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>,
174 <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>,
175 <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>,
176 <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>;
Krzysztof Kozlowski5d99cc52016-05-03 18:53:04 +0200177 samsung,pwm-outputs = <0>, <1>, <2>, <3>;
178 #pwm-cells = <3>;
179 };
180
Krzysztof Kozlowski3be1ecf2017-12-14 21:54:30 +0100181 rtc: rtc@101e0000 {
Krzysztof Kozlowski5d99cc52016-05-03 18:53:04 +0200182 compatible = "samsung,s3c6410-rtc";
183 reg = <0x101E0000 0x100>;
Krzysztof Kozlowskic92a4fb2017-06-02 20:13:46 +0200184 interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>,
185 <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
Krzysztof Kozlowski5d99cc52016-05-03 18:53:04 +0200186 status = "disabled";
187 };
188
189 fimd: fimd@14400000 {
190 compatible = "samsung,exynos5250-fimd";
191 interrupt-parent = <&combiner>;
192 reg = <0x14400000 0x40000>;
193 interrupt-names = "fifo", "vsync", "lcd_sys";
194 interrupts = <18 4>, <18 5>, <18 6>;
195 samsung,sysreg = <&sysreg_system_controller>;
196 status = "disabled";
197 };
198
Krzysztof Kozlowski3be1ecf2017-12-14 21:54:30 +0100199 dp: dp-controller@145b0000 {
Krzysztof Kozlowski5d99cc52016-05-03 18:53:04 +0200200 compatible = "samsung,exynos5-dp";
201 reg = <0x145B0000 0x1000>;
202 interrupts = <10 3>;
203 interrupt-parent = <&combiner>;
Krzysztof Kozlowski5d99cc52016-05-03 18:53:04 +0200204 status = "disabled";
205 };
Łukasz Stelmachcdd745c2017-11-27 13:37:11 +0100206
207 sss: sss@10830000 {
208 compatible = "samsung,exynos4210-secss";
209 reg = <0x10830000 0x300>;
210 interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
211 };
Tobias Jakobi18427132017-11-29 12:42:34 +0100212
Łukasz Stelmach465def22017-12-11 09:54:15 +0100213 prng: rng@10830400 {
214 compatible = "samsung,exynos5250-prng";
215 reg = <0x10830400 0x200>;
216 };
217
Łukasz Stelmach9dc314f2017-12-12 13:09:02 +0100218 trng: rng@10830600 {
219 compatible = "samsung,exynos5250-trng";
220 reg = <0x10830600 0x100>;
221 };
222
Tobias Jakobi18427132017-11-29 12:42:34 +0100223 g2d: g2d@10850000 {
224 compatible = "samsung,exynos5250-g2d";
225 reg = <0x10850000 0x1000>;
226 interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
227 status = "disabled";
228 };
Vikas Sajjan77899d52013-08-14 17:15:00 +0900229 };
Chander Kashyape6c21cb2013-06-19 00:29:34 +0900230};