Commit | Line | Data |
---|---|---|
1355bbc4 KK |
1 | /* |
2 | * SAMSUNG EXYNOS5440 SoC device tree source | |
3 | * | |
4 | * Copyright (c) 2012 Samsung Electronics Co., Ltd. | |
5 | * http://www.samsung.com | |
6 | * | |
7 | * This program is free software; you can redistribute it and/or modify | |
8 | * it under the terms of the GNU General Public License version 2 as | |
9 | * published by the Free Software Foundation. | |
10 | */ | |
11 | ||
12 | /include/ "skeleton.dtsi" | |
13 | ||
14 | / { | |
15 | compatible = "samsung,exynos5440"; | |
16 | ||
17 | interrupt-parent = <&gic>; | |
18 | ||
d8bafc87 TA |
19 | clock: clock-controller@0x160000 { |
20 | compatible = "samsung,exynos5440-clock"; | |
21 | reg = <0x160000 0x1000>; | |
22 | #clock-cells = <1>; | |
23 | }; | |
24 | ||
1355bbc4 KK |
25 | gic:interrupt-controller@2E0000 { |
26 | compatible = "arm,cortex-a15-gic"; | |
27 | #interrupt-cells = <3>; | |
28 | interrupt-controller; | |
29 | reg = <0x2E1000 0x1000>, <0x2E2000 0x1000>; | |
30 | }; | |
31 | ||
32 | cpus { | |
f5108e1c KK |
33 | #address-cells = <1>; |
34 | #size-cells = <0>; | |
35 | ||
1355bbc4 KK |
36 | cpu@0 { |
37 | compatible = "arm,cortex-a15"; | |
f5108e1c | 38 | reg = <0>; |
1355bbc4 KK |
39 | }; |
40 | cpu@1 { | |
41 | compatible = "arm,cortex-a15"; | |
f5108e1c | 42 | reg = <1>; |
1355bbc4 KK |
43 | }; |
44 | cpu@2 { | |
45 | compatible = "arm,cortex-a15"; | |
f5108e1c | 46 | reg = <2>; |
1355bbc4 KK |
47 | }; |
48 | cpu@3 { | |
49 | compatible = "arm,cortex-a15"; | |
f5108e1c | 50 | reg = <3>; |
1355bbc4 KK |
51 | }; |
52 | }; | |
53 | ||
f5108e1c KK |
54 | timer { |
55 | compatible = "arm,cortex-a15-timer", | |
56 | "arm,armv7-timer"; | |
57 | interrupts = <1 13 0xf08>, | |
58 | <1 14 0xf08>, | |
59 | <1 11 0xf08>, | |
60 | <1 10 0xf08>; | |
61 | clock-frequency = <50000000>; | |
62 | }; | |
63 | ||
1355bbc4 KK |
64 | serial@B0000 { |
65 | compatible = "samsung,exynos4210-uart"; | |
66 | reg = <0xB0000 0x1000>; | |
67 | interrupts = <0 2 0>; | |
6a0338c2 TA |
68 | clocks = <&clock 21>, <&clock 21>; |
69 | clock-names = "uart", "clk_uart_baud0"; | |
1355bbc4 KK |
70 | }; |
71 | ||
72 | serial@C0000 { | |
73 | compatible = "samsung,exynos4210-uart"; | |
74 | reg = <0xC0000 0x1000>; | |
75 | interrupts = <0 3 0>; | |
6a0338c2 TA |
76 | clocks = <&clock 21>, <&clock 21>; |
77 | clock-names = "uart", "clk_uart_baud0"; | |
1355bbc4 KK |
78 | }; |
79 | ||
80 | spi { | |
81 | compatible = "samsung,exynos4210-spi"; | |
82 | reg = <0xD0000 0x1000>; | |
83 | interrupts = <0 4 0>; | |
84 | tx-dma-channel = <&pdma0 5>; /* preliminary */ | |
85 | rx-dma-channel = <&pdma0 4>; /* preliminary */ | |
86 | #address-cells = <1>; | |
87 | #size-cells = <0>; | |
6a0338c2 TA |
88 | clocks = <&clock 21>, <&clock 16>; |
89 | clock-names = "spi", "spi_busclk0"; | |
1355bbc4 KK |
90 | }; |
91 | ||
92 | pinctrl { | |
f6925432 | 93 | compatible = "samsung,exynos5440-pinctrl"; |
1355bbc4 KK |
94 | reg = <0xE0000 0x1000>; |
95 | interrupt-controller; | |
96 | #interrupt-cells = <2>; | |
b1ce101b TA |
97 | #gpio-cells = <2>; |
98 | ||
99 | fan: fan { | |
100 | samsung,exynos5440-pin-function = <1>; | |
101 | }; | |
102 | ||
103 | hdd_led0: hdd_led0 { | |
104 | samsung,exynos5440-pin-function = <2>; | |
105 | }; | |
106 | ||
107 | hdd_led1: hdd_led1 { | |
108 | samsung,exynos5440-pin-function = <3>; | |
109 | }; | |
110 | ||
111 | uart1: uart1 { | |
112 | samsung,exynos5440-pin-function = <4>; | |
113 | }; | |
1355bbc4 KK |
114 | }; |
115 | ||
116 | i2c@F0000 { | |
49498c56 | 117 | compatible = "samsung,exynos5440-i2c"; |
1355bbc4 KK |
118 | reg = <0xF0000 0x1000>; |
119 | interrupts = <0 5 0>; | |
120 | #address-cells = <1>; | |
121 | #size-cells = <0>; | |
6a0338c2 TA |
122 | clocks = <&clock 21>; |
123 | clock-names = "i2c"; | |
1355bbc4 KK |
124 | }; |
125 | ||
126 | i2c@100000 { | |
49498c56 | 127 | compatible = "samsung,exynos5440-i2c"; |
1355bbc4 KK |
128 | reg = <0x100000 0x1000>; |
129 | interrupts = <0 6 0>; | |
130 | #address-cells = <1>; | |
131 | #size-cells = <0>; | |
6a0338c2 TA |
132 | clocks = <&clock 21>; |
133 | clock-names = "i2c"; | |
1355bbc4 KK |
134 | }; |
135 | ||
136 | watchdog { | |
137 | compatible = "samsung,s3c2410-wdt"; | |
138 | reg = <0x110000 0x1000>; | |
139 | interrupts = <0 1 0>; | |
6a0338c2 TA |
140 | clocks = <&clock 21>; |
141 | clock-names = "watchdog"; | |
1355bbc4 KK |
142 | }; |
143 | ||
144 | amba { | |
145 | #address-cells = <1>; | |
146 | #size-cells = <1>; | |
147 | compatible = "arm,amba-bus"; | |
148 | interrupt-parent = <&gic>; | |
149 | ranges; | |
150 | ||
151 | pdma0: pdma@121A0000 { | |
152 | compatible = "arm,pl330", "arm,primecell"; | |
153 | reg = <0x120000 0x1000>; | |
154 | interrupts = <0 34 0>; | |
6a0338c2 TA |
155 | clocks = <&clock 21>; |
156 | clock-names = "apb_pclk"; | |
0a96d4d3 PV |
157 | #dma-cells = <1>; |
158 | #dma-channels = <8>; | |
159 | #dma-requests = <32>; | |
1355bbc4 KK |
160 | }; |
161 | ||
162 | pdma1: pdma@121B0000 { | |
163 | compatible = "arm,pl330", "arm,primecell"; | |
164 | reg = <0x121000 0x1000>; | |
165 | interrupts = <0 35 0>; | |
6a0338c2 TA |
166 | clocks = <&clock 21>; |
167 | clock-names = "apb_pclk"; | |
0a96d4d3 PV |
168 | #dma-cells = <1>; |
169 | #dma-channels = <8>; | |
170 | #dma-requests = <32>; | |
1355bbc4 KK |
171 | }; |
172 | }; | |
173 | ||
174 | rtc { | |
175 | compatible = "samsung,s3c6410-rtc"; | |
176 | reg = <0x130000 0x1000>; | |
e877a5aa | 177 | interrupts = <0 17 0>, <0 16 0>; |
6a0338c2 TA |
178 | clocks = <&clock 21>; |
179 | clock-names = "rtc"; | |
522ccdb6 | 180 | status = "disabled"; |
1355bbc4 KK |
181 | }; |
182 | }; |