Commit | Line | Data |
---|---|---|
2e8685a4 KG |
1 | /* |
2 | * MPC8536DS Device Tree Source stub (no addresses or top-level ranges) | |
3 | * | |
4 | * Copyright 2011 Freescale Semiconductor Inc. | |
5 | * | |
6 | * Redistribution and use in source and binary forms, with or without | |
7 | * modification, are permitted provided that the following conditions are met: | |
8 | * * Redistributions of source code must retain the above copyright | |
9 | * notice, this list of conditions and the following disclaimer. | |
10 | * * Redistributions in binary form must reproduce the above copyright | |
11 | * notice, this list of conditions and the following disclaimer in the | |
12 | * documentation and/or other materials provided with the distribution. | |
13 | * * Neither the name of Freescale Semiconductor nor the | |
14 | * names of its contributors may be used to endorse or promote products | |
15 | * derived from this software without specific prior written permission. | |
16 | * | |
17 | * | |
18 | * ALTERNATIVELY, this software may be distributed under the terms of the | |
19 | * GNU General Public License ("GPL") as published by the Free Software | |
20 | * Foundation, either version 2 of that License or (at your option) any | |
21 | * later version. | |
22 | * | |
23 | * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY | |
24 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | |
25 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | |
26 | * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY | |
27 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | |
28 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | |
29 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | |
30 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | |
31 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | |
32 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
33 | */ | |
34 | ||
955abacd XX |
35 | &lbc { |
36 | nor@0,0 { | |
37 | #address-cells = <1>; | |
38 | #size-cells = <1>; | |
39 | compatible = "cfi-flash"; | |
40 | reg = <0x0 0x0 0x8000000>; | |
41 | bank-width = <2>; | |
42 | device-width = <1>; | |
43 | ||
44 | partition@0 { | |
45 | reg = <0x0 0x03000000>; | |
46 | label = "ramdisk-nor"; | |
47 | }; | |
48 | ||
49 | partition@3000000 { | |
50 | reg = <0x03000000 0x00e00000>; | |
51 | label = "diagnostic-nor"; | |
52 | read-only; | |
53 | }; | |
54 | ||
55 | partition@3e00000 { | |
56 | reg = <0x03e00000 0x00200000>; | |
57 | label = "dink-nor"; | |
58 | read-only; | |
59 | }; | |
60 | ||
61 | partition@4000000 { | |
62 | reg = <0x04000000 0x00400000>; | |
63 | label = "kernel-nor"; | |
64 | }; | |
65 | ||
66 | partition@4400000 { | |
67 | reg = <0x04400000 0x03b00000>; | |
68 | label = "fs-nor"; | |
69 | }; | |
70 | ||
71 | partition@7f00000 { | |
72 | reg = <0x07f00000 0x00080000>; | |
73 | label = "dtb-nor"; | |
74 | }; | |
75 | ||
76 | partition@7f80000 { | |
77 | reg = <0x07f80000 0x00080000>; | |
78 | label = "u-boot-nor"; | |
79 | read-only; | |
80 | }; | |
81 | }; | |
82 | ||
83 | nand@2,0 { | |
84 | #address-cells = <1>; | |
85 | #size-cells = <1>; | |
86 | compatible = "fsl,mpc8536-fcm-nand", | |
87 | "fsl,elbc-fcm-nand"; | |
88 | reg = <0x2 0x0 0x40000>; | |
89 | ||
90 | partition@0 { | |
91 | reg = <0x0 0x02000000>; | |
92 | label = "u-boot-nand"; | |
93 | read-only; | |
94 | }; | |
95 | ||
96 | partition@2000000 { | |
97 | reg = <0x02000000 0x10000000>; | |
98 | label = "fs-nand"; | |
99 | }; | |
100 | ||
101 | partition@12000000 { | |
102 | reg = <0x12000000 0x08000000>; | |
103 | label = "ramdisk-nand"; | |
104 | }; | |
105 | ||
106 | partition@1a000000 { | |
107 | reg = <0x1a000000 0x04000000>; | |
108 | label = "kernel-nand"; | |
109 | }; | |
110 | ||
111 | partition@1e000000 { | |
112 | reg = <0x1e000000 0x01000000>; | |
113 | label = "dtb-nand"; | |
114 | }; | |
115 | ||
116 | partition@1f000000 { | |
117 | reg = <0x1f000000 0x21000000>; | |
118 | label = "empty-nand"; | |
119 | }; | |
120 | }; | |
121 | ||
122 | board-control@3,0 { | |
123 | compatible = "fsl,mpc8536ds-fpga-pixis"; | |
124 | reg = <0x3 0x0 0x8000>; | |
125 | }; | |
126 | }; | |
127 | ||
2e8685a4 KG |
128 | &board_soc { |
129 | i2c@3100 { | |
130 | rtc@68 { | |
131 | compatible = "dallas,ds3232"; | |
132 | reg = <0x68>; | |
133 | interrupts = <0 0x1 0 0>; | |
134 | }; | |
135 | }; | |
136 | ||
137 | spi@7000 { | |
138 | flash@0 { | |
139 | #address-cells = <1>; | |
140 | #size-cells = <1>; | |
141 | compatible = "spansion,s25sl12801"; | |
142 | reg = <0>; | |
143 | spi-max-frequency = <40000000>; | |
144 | partition@u-boot { | |
145 | label = "u-boot"; | |
146 | reg = <0x00000000 0x00100000>; | |
147 | read-only; | |
148 | }; | |
149 | partition@kernel { | |
150 | label = "kernel"; | |
151 | reg = <0x00100000 0x00500000>; | |
152 | read-only; | |
153 | }; | |
154 | partition@dtb { | |
155 | label = "dtb"; | |
156 | reg = <0x00600000 0x00100000>; | |
157 | read-only; | |
158 | }; | |
159 | partition@fs { | |
160 | label = "file system"; | |
161 | reg = <0x00700000 0x00900000>; | |
162 | }; | |
163 | }; | |
164 | flash@1 { | |
165 | compatible = "spansion,s25sl12801"; | |
166 | reg = <1>; | |
167 | spi-max-frequency = <40000000>; | |
168 | }; | |
169 | flash@2 { | |
170 | compatible = "spansion,s25sl12801"; | |
171 | reg = <2>; | |
172 | spi-max-frequency = <40000000>; | |
173 | }; | |
174 | flash@3 { | |
175 | compatible = "spansion,s25sl12801"; | |
176 | reg = <3>; | |
177 | spi-max-frequency = <40000000>; | |
178 | }; | |
179 | }; | |
180 | ||
181 | usb@22000 { | |
182 | phy_type = "ulpi"; | |
183 | }; | |
184 | ||
185 | usb@23000 { | |
186 | phy_type = "ulpi"; | |
187 | }; | |
188 | ||
189 | enet0: ethernet@24000 { | |
190 | tbi-handle = <&tbi0>; | |
191 | phy-handle = <&phy1>; | |
192 | phy-connection-type = "rgmii-id"; | |
193 | }; | |
194 | ||
195 | mdio@24520 { | |
196 | phy0: ethernet-phy@0 { | |
197 | interrupts = <10 0x1 0 0>; | |
198 | reg = <0>; | |
199 | device_type = "ethernet-phy"; | |
200 | }; | |
201 | phy1: ethernet-phy@1 { | |
202 | interrupts = <10 0x1 0 0>; | |
203 | reg = <1>; | |
204 | device_type = "ethernet-phy"; | |
205 | }; | |
b915341b JH |
206 | sgmii_phy0: sgmii-phy@0 { |
207 | interrupts = <6 1 0 0>; | |
208 | reg = <0x1d>; | |
209 | }; | |
210 | sgmii_phy1: sgmii-phy@1 { | |
211 | interrupts = <6 1 0 0>; | |
212 | reg = <0x1c>; | |
213 | }; | |
2e8685a4 KG |
214 | tbi0: tbi-phy@11 { |
215 | reg = <0x11>; | |
216 | device_type = "tbi-phy"; | |
217 | }; | |
218 | }; | |
219 | ||
220 | enet2: ethernet@26000 { | |
221 | tbi-handle = <&tbi1>; | |
222 | phy-handle = <&phy0>; | |
223 | phy-connection-type = "rgmii-id"; | |
224 | }; | |
225 | ||
226 | mdio@26520 { | |
227 | #address-cells = <1>; | |
228 | #size-cells = <0>; | |
229 | compatible = "fsl,gianfar-tbi"; | |
230 | reg = <0x26520 0x20>; | |
231 | ||
232 | tbi1: tbi-phy@11 { | |
233 | reg = <0x11>; | |
234 | device_type = "tbi-phy"; | |
235 | }; | |
236 | }; | |
237 | ||
238 | usb@2b000 { | |
239 | dr_mode = "peripheral"; | |
240 | phy_type = "ulpi"; | |
241 | }; | |
242 | }; |