Commit | Line | Data |
---|---|---|
07658d9a VK |
1 | /* |
2 | * DTS file for all SPEAr1310 SoCs | |
3 | * | |
10d8935f | 4 | * Copyright 2012 Viresh Kumar <viresh.linux@gmail.com> |
07658d9a VK |
5 | * |
6 | * The code contained herein is licensed under the GNU General Public | |
7 | * License. You may obtain a copy of the GNU General Public License | |
8 | * Version 2 or later at the following locations: | |
9 | * | |
10 | * http://www.opensource.org/licenses/gpl-license.html | |
11 | * http://www.gnu.org/copyleft/gpl.html | |
12 | */ | |
13 | ||
14 | /include/ "spear13xx.dtsi" | |
15 | ||
16 | / { | |
17 | compatible = "st,spear1310"; | |
18 | ||
19 | ahb { | |
7cef07d5 SH |
20 | spics: spics@e0700000{ |
21 | compatible = "st,spear-spics-gpio"; | |
22 | reg = <0xe0700000 0x1000>; | |
23 | st-spics,peripcfg-reg = <0x3b0>; | |
24 | st-spics,sw-enable-bit = <12>; | |
25 | st-spics,cs-value-bit = <11>; | |
26 | st-spics,cs-enable-mask = <3>; | |
27 | st-spics,cs-enable-shift = <8>; | |
28 | gpio-controller; | |
29 | #gpio-cells = <2>; | |
30 | }; | |
31 | ||
07658d9a VK |
32 | ahci@b1000000 { |
33 | compatible = "snps,spear-ahci"; | |
34 | reg = <0xb1000000 0x10000>; | |
35 | interrupts = <0 68 0x4>; | |
36 | status = "disabled"; | |
37 | }; | |
38 | ||
39 | ahci@b1800000 { | |
40 | compatible = "snps,spear-ahci"; | |
41 | reg = <0xb1800000 0x10000>; | |
42 | interrupts = <0 69 0x4>; | |
43 | status = "disabled"; | |
44 | }; | |
45 | ||
46 | ahci@b4000000 { | |
47 | compatible = "snps,spear-ahci"; | |
48 | reg = <0xb4000000 0x10000>; | |
49 | interrupts = <0 70 0x4>; | |
50 | status = "disabled"; | |
51 | }; | |
52 | ||
53 | gmac1: eth@5c400000 { | |
54 | compatible = "st,spear600-gmac"; | |
55 | reg = <0x5c400000 0x8000>; | |
56 | interrupts = <0 95 0x4>; | |
57 | interrupt-names = "macirq"; | |
58 | status = "disabled"; | |
59 | }; | |
60 | ||
61 | gmac2: eth@5c500000 { | |
62 | compatible = "st,spear600-gmac"; | |
63 | reg = <0x5c500000 0x8000>; | |
64 | interrupts = <0 96 0x4>; | |
65 | interrupt-names = "macirq"; | |
66 | status = "disabled"; | |
67 | }; | |
68 | ||
69 | gmac3: eth@5c600000 { | |
70 | compatible = "st,spear600-gmac"; | |
71 | reg = <0x5c600000 0x8000>; | |
72 | interrupts = <0 97 0x4>; | |
73 | interrupt-names = "macirq"; | |
74 | status = "disabled"; | |
75 | }; | |
76 | ||
77 | gmac4: eth@5c700000 { | |
78 | compatible = "st,spear600-gmac"; | |
79 | reg = <0x5c700000 0x8000>; | |
80 | interrupts = <0 98 0x4>; | |
81 | interrupt-names = "macirq"; | |
82 | status = "disabled"; | |
83 | }; | |
84 | ||
4ddb1c29 VK |
85 | pinmux: pinmux@e0700000 { |
86 | compatible = "st,spear1310-pinmux"; | |
87 | reg = <0xe0700000 0x1000>; | |
88 | #gpio-range-cells = <2>; | |
89 | }; | |
90 | ||
07658d9a VK |
91 | apb { |
92 | i2c1: i2c@5cd00000 { | |
93 | #address-cells = <1>; | |
94 | #size-cells = <0>; | |
95 | compatible = "snps,designware-i2c"; | |
96 | reg = <0x5cd00000 0x1000>; | |
97 | interrupts = <0 87 0x4>; | |
98 | status = "disabled"; | |
99 | }; | |
100 | ||
101 | i2c2: i2c@5ce00000 { | |
102 | #address-cells = <1>; | |
103 | #size-cells = <0>; | |
104 | compatible = "snps,designware-i2c"; | |
105 | reg = <0x5ce00000 0x1000>; | |
106 | interrupts = <0 88 0x4>; | |
107 | status = "disabled"; | |
108 | }; | |
109 | ||
110 | i2c3: i2c@5cf00000 { | |
111 | #address-cells = <1>; | |
112 | #size-cells = <0>; | |
113 | compatible = "snps,designware-i2c"; | |
114 | reg = <0x5cf00000 0x1000>; | |
115 | interrupts = <0 89 0x4>; | |
116 | status = "disabled"; | |
117 | }; | |
118 | ||
119 | i2c4: i2c@5d000000 { | |
120 | #address-cells = <1>; | |
121 | #size-cells = <0>; | |
122 | compatible = "snps,designware-i2c"; | |
123 | reg = <0x5d000000 0x1000>; | |
124 | interrupts = <0 90 0x4>; | |
125 | status = "disabled"; | |
126 | }; | |
127 | ||
128 | i2c5: i2c@5d100000 { | |
129 | #address-cells = <1>; | |
130 | #size-cells = <0>; | |
131 | compatible = "snps,designware-i2c"; | |
132 | reg = <0x5d100000 0x1000>; | |
133 | interrupts = <0 91 0x4>; | |
134 | status = "disabled"; | |
135 | }; | |
136 | ||
137 | i2c6: i2c@5d200000 { | |
138 | #address-cells = <1>; | |
139 | #size-cells = <0>; | |
140 | compatible = "snps,designware-i2c"; | |
141 | reg = <0x5d200000 0x1000>; | |
142 | interrupts = <0 92 0x4>; | |
143 | status = "disabled"; | |
144 | }; | |
145 | ||
146 | i2c7: i2c@5d300000 { | |
147 | #address-cells = <1>; | |
148 | #size-cells = <0>; | |
149 | compatible = "snps,designware-i2c"; | |
150 | reg = <0x5d300000 0x1000>; | |
151 | interrupts = <0 93 0x4>; | |
152 | status = "disabled"; | |
153 | }; | |
154 | ||
f631b984 VKS |
155 | spi1: spi@5d400000 { |
156 | compatible = "arm,pl022", "arm,primecell"; | |
157 | reg = <0x5d400000 0x1000>; | |
158 | interrupts = <0 99 0x4>; | |
159 | status = "disabled"; | |
160 | }; | |
161 | ||
07658d9a VK |
162 | serial@5c800000 { |
163 | compatible = "arm,pl011", "arm,primecell"; | |
164 | reg = <0x5c800000 0x1000>; | |
165 | interrupts = <0 82 0x4>; | |
166 | status = "disabled"; | |
167 | }; | |
168 | ||
169 | serial@5c900000 { | |
170 | compatible = "arm,pl011", "arm,primecell"; | |
171 | reg = <0x5c900000 0x1000>; | |
172 | interrupts = <0 83 0x4>; | |
173 | status = "disabled"; | |
174 | }; | |
175 | ||
176 | serial@5ca00000 { | |
177 | compatible = "arm,pl011", "arm,primecell"; | |
178 | reg = <0x5ca00000 0x1000>; | |
179 | interrupts = <0 84 0x4>; | |
180 | status = "disabled"; | |
181 | }; | |
182 | ||
183 | serial@5cb00000 { | |
184 | compatible = "arm,pl011", "arm,primecell"; | |
185 | reg = <0x5cb00000 0x1000>; | |
186 | interrupts = <0 85 0x4>; | |
187 | status = "disabled"; | |
188 | }; | |
189 | ||
190 | serial@5cc00000 { | |
191 | compatible = "arm,pl011", "arm,primecell"; | |
192 | reg = <0x5cc00000 0x1000>; | |
193 | interrupts = <0 86 0x4>; | |
194 | status = "disabled"; | |
195 | }; | |
196 | ||
197 | thermal@e07008c4 { | |
198 | st,thermal-flags = <0x7000>; | |
199 | }; | |
4ddb1c29 VK |
200 | |
201 | gpiopinctrl: gpio@d8400000 { | |
202 | compatible = "st,spear-plgpio"; | |
203 | reg = <0xd8400000 0x1000>; | |
204 | interrupts = <0 100 0x4>; | |
205 | #interrupt-cells = <1>; | |
206 | interrupt-controller; | |
207 | gpio-controller; | |
208 | #gpio-cells = <2>; | |
209 | gpio-ranges = <&pinmux 0 246>; | |
210 | status = "disabled"; | |
211 | ||
212 | st-plgpio,ngpio = <246>; | |
213 | st-plgpio,enb-reg = <0xd0>; | |
214 | st-plgpio,wdata-reg = <0x90>; | |
215 | st-plgpio,dir-reg = <0xb0>; | |
216 | st-plgpio,ie-reg = <0x30>; | |
217 | st-plgpio,rdata-reg = <0x70>; | |
218 | st-plgpio,mis-reg = <0x10>; | |
219 | st-plgpio,eit-reg = <0x50>; | |
220 | }; | |
07658d9a VK |
221 | }; |
222 | }; | |
223 | }; |