blob: 1354b5bbc14eacd981b24276f1a1176c05c3e0d6 [file] [log] [blame]
Tarek Dakhran107e6aa2014-05-27 06:54:13 +09001/*
2 * SAMSUNG EXYNOS5410 SoC device tree source
3 *
4 * Copyright (c) 2013 Samsung Electronics Co., Ltd.
5 * http://www.samsung.com
6 *
7 * SAMSUNG EXYNOS5410 SoC device nodes are listed in this file.
8 * EXYNOS5410 based board files can include this file and provide
9 * values for board specfic bindings.
10 *
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License version 2 as
13 * published by the Free Software Foundation.
14 */
15
Krzysztof Kozlowskic9cf9962016-05-08 18:41:57 +020016#include "exynos54xx.dtsi"
Javier Martinez Canillas1462b132016-02-16 12:25:48 -030017#include "exynos-syscon-restart.dtsi"
Tarek Dakhran107e6aa2014-05-27 06:54:13 +090018#include <dt-bindings/clock/exynos5410.h>
19
20/ {
21 compatible = "samsung,exynos5410", "samsung,exynos5";
22 interrupt-parent = <&gic>;
23
Tomasz Figa1e64f482014-06-26 13:24:35 +020024 aliases {
Hakjoo Kim1eca8252015-03-15 23:00:33 +010025 pinctrl0 = &pinctrl_0;
26 pinctrl1 = &pinctrl_1;
27 pinctrl2 = &pinctrl_2;
28 pinctrl3 = &pinctrl_3;
Tomasz Figa1e64f482014-06-26 13:24:35 +020029 };
30
Tarek Dakhran107e6aa2014-05-27 06:54:13 +090031 cpus {
32 #address-cells = <1>;
33 #size-cells = <0>;
34
Krzysztof Kozlowskic37ccce2016-05-03 13:56:51 +020035 cpu0: cpu@0 {
Tarek Dakhran107e6aa2014-05-27 06:54:13 +090036 device_type = "cpu";
37 compatible = "arm,cortex-a15";
38 reg = <0x0>;
Andreas Faerber22298d62014-07-08 08:17:14 +090039 clock-frequency = <1600000000>;
Tarek Dakhran107e6aa2014-05-27 06:54:13 +090040 };
41
Krzysztof Kozlowskic37ccce2016-05-03 13:56:51 +020042 cpu1: cpu@1 {
Tarek Dakhran107e6aa2014-05-27 06:54:13 +090043 device_type = "cpu";
44 compatible = "arm,cortex-a15";
45 reg = <0x1>;
Andreas Faerber22298d62014-07-08 08:17:14 +090046 clock-frequency = <1600000000>;
Tarek Dakhran107e6aa2014-05-27 06:54:13 +090047 };
48
Krzysztof Kozlowskic37ccce2016-05-03 13:56:51 +020049 cpu2: cpu@2 {
Tarek Dakhran107e6aa2014-05-27 06:54:13 +090050 device_type = "cpu";
51 compatible = "arm,cortex-a15";
52 reg = <0x2>;
Andreas Faerber22298d62014-07-08 08:17:14 +090053 clock-frequency = <1600000000>;
Tarek Dakhran107e6aa2014-05-27 06:54:13 +090054 };
55
Krzysztof Kozlowskic37ccce2016-05-03 13:56:51 +020056 cpu3: cpu@3 {
Tarek Dakhran107e6aa2014-05-27 06:54:13 +090057 device_type = "cpu";
58 compatible = "arm,cortex-a15";
59 reg = <0x3>;
Andreas Faerber22298d62014-07-08 08:17:14 +090060 clock-frequency = <1600000000>;
Tarek Dakhran107e6aa2014-05-27 06:54:13 +090061 };
62 };
63
64 soc: soc {
65 compatible = "simple-bus";
66 #address-cells = <1>;
67 #size-cells = <1>;
68 ranges;
69
Andreas Faerber0a8f5942014-07-29 06:09:56 +090070 pmu_system_controller: system-controller@10040000 {
71 compatible = "samsung,exynos5410-pmu", "syscon";
72 reg = <0x10040000 0x5000>;
Krzysztof Kozlowski2cbc0de2016-05-16 10:26:48 +020073 clock-names = "clkout16";
74 clocks = <&fin_pll>;
75 #clock-cells = <1>;
Andreas Faerber0a8f5942014-07-29 06:09:56 +090076 };
77
Tarek Dakhran107e6aa2014-05-27 06:54:13 +090078 clock: clock-controller@10010000 {
79 compatible = "samsung,exynos5410-clock";
80 reg = <0x10010000 0x30000>;
81 #clock-cells = <1>;
82 };
83
84 mmc_0: mmc@12200000 {
85 compatible = "samsung,exynos5250-dw-mshc";
86 reg = <0x12200000 0x1000>;
87 interrupts = <0 75 0>;
88 #address-cells = <1>;
89 #size-cells = <0>;
90 clocks = <&clock CLK_MMC0>, <&clock CLK_SCLK_MMC0>;
91 clock-names = "biu", "ciu";
92 fifo-depth = <0x80>;
93 status = "disabled";
94 };
95
96 mmc_1: mmc@12210000 {
97 compatible = "samsung,exynos5250-dw-mshc";
98 reg = <0x12210000 0x1000>;
99 interrupts = <0 76 0>;
100 #address-cells = <1>;
101 #size-cells = <0>;
102 clocks = <&clock CLK_MMC1>, <&clock CLK_SCLK_MMC1>;
103 clock-names = "biu", "ciu";
104 fifo-depth = <0x80>;
105 status = "disabled";
106 };
107
108 mmc_2: mmc@12220000 {
109 compatible = "samsung,exynos5250-dw-mshc";
110 reg = <0x12220000 0x1000>;
111 interrupts = <0 77 0>;
112 #address-cells = <1>;
113 #size-cells = <0>;
114 clocks = <&clock CLK_MMC2>, <&clock CLK_SCLK_MMC2>;
115 clock-names = "biu", "ciu";
116 fifo-depth = <0x80>;
117 status = "disabled";
118 };
119
Hakjoo Kim1eca8252015-03-15 23:00:33 +0100120 pinctrl_0: pinctrl@13400000 {
121 compatible = "samsung,exynos5410-pinctrl";
122 reg = <0x13400000 0x1000>;
123 interrupts = <0 45 0>;
124
125 wakeup-interrupt-controller {
126 compatible = "samsung,exynos4210-wakeup-eint";
127 interrupt-parent = <&gic>;
128 interrupts = <0 32 0>;
129 };
130 };
131
132 pinctrl_1: pinctrl@14000000 {
133 compatible = "samsung,exynos5410-pinctrl";
134 reg = <0x14000000 0x1000>;
135 interrupts = <0 46 0>;
136 };
137
138 pinctrl_2: pinctrl@10d10000 {
139 compatible = "samsung,exynos5410-pinctrl";
140 reg = <0x10d10000 0x1000>;
141 interrupts = <0 50 0>;
142 };
143
144 pinctrl_3: pinctrl@03860000 {
145 compatible = "samsung,exynos5410-pinctrl";
146 reg = <0x03860000 0x1000>;
147 interrupts = <0 47 0>;
148 };
Tarek Dakhran107e6aa2014-05-27 06:54:13 +0900149 };
150};
Hakjoo Kim1eca8252015-03-15 23:00:33 +0100151
Krzysztof Kozlowskic9cf9962016-05-08 18:41:57 +0200152&mct {
153 clocks = <&fin_pll>, <&clock CLK_MCT>;
154 clock-names = "fin_pll", "mct";
155};
156
Krzysztof Kozlowski88ad58b2016-05-03 14:53:22 +0200157&pwm {
158 clocks = <&clock CLK_PWM>;
159 clock-names = "timers";
160};
161
162&serial_0 {
163 clocks = <&clock CLK_UART0>, <&clock CLK_SCLK_UART0>;
164 clock-names = "uart", "clk_uart_baud0";
165};
166
167&serial_1 {
168 clocks = <&clock CLK_UART1>, <&clock CLK_SCLK_UART1>;
169 clock-names = "uart", "clk_uart_baud0";
170};
171
172&serial_2 {
173 clocks = <&clock CLK_UART2>, <&clock CLK_SCLK_UART2>;
174 clock-names = "uart", "clk_uart_baud0";
175};
176
177&serial_3 {
Krzysztof Kozlowski594127a2016-05-03 19:37:19 +0200178 clocks = <&clock CLK_UART3>, <&clock CLK_SCLK_UART3>;
179 clock-names = "uart", "clk_uart_baud0";
Krzysztof Kozlowski88ad58b2016-05-03 14:53:22 +0200180};
181
182&sromc {
183 #address-cells = <2>;
184 #size-cells = <1>;
185 ranges = <0 0 0x04000000 0x20000
186 1 0 0x05000000 0x20000
187 2 0 0x06000000 0x20000
188 3 0 0x07000000 0x20000>;
189};
190
Hakjoo Kim1eca8252015-03-15 23:00:33 +0100191#include "exynos5410-pinctrl.dtsi"