blob: 24a73e978f82d6cc3dec884186c021d9898dab9a [file] [log] [blame]
Timur Tabi30be4c92010-07-02 17:25:03 -05001/*
2 * P1022 DS 36Bit Physical Address Map Device Tree Source
3 *
4 * Copyright 2010 Freescale Semiconductor, Inc.
5 *
6 * This file is licensed under the terms of the GNU General Public License
7 * version 2. This program is licensed "as is" without any warranty of any
8 * kind, whether express or implied.
9 */
10
Kumar Galaab827d92011-10-26 01:01:54 -050011/include/ "fsl/p1022si-pre.dtsi"
Timur Tabi30be4c92010-07-02 17:25:03 -050012/ {
Kumar Galaab827d92011-10-26 01:01:54 -050013 model = "fsl,P1022DS";
Timur Tabi30be4c92010-07-02 17:25:03 -050014 compatible = "fsl,P1022DS";
Timur Tabi30be4c92010-07-02 17:25:03 -050015
16 memory {
17 device_type = "memory";
18 };
19
Kumar Galaab827d92011-10-26 01:01:54 -050020 lbc: localbus@fffe05000 {
21 reg = <0xf 0xffe05000 0 0x1000>;
Timur Tabi30be4c92010-07-02 17:25:03 -050022 ranges = <0x0 0x0 0xf 0xe8000000 0x08000000
23 0x1 0x0 0xf 0xe0000000 0x08000000
Kumar Galaab827d92011-10-26 01:01:54 -050024 0x2 0x0 0xf 0xffa00000 0x00040000
Timur Tabi30be4c92010-07-02 17:25:03 -050025 0x3 0x0 0xf 0xffdf0000 0x00008000>;
26
27 nor@0,0 {
28 #address-cells = <1>;
29 #size-cells = <1>;
30 compatible = "cfi-flash";
31 reg = <0x0 0x0 0x8000000>;
32 bank-width = <2>;
33 device-width = <1>;
34
35 partition@0 {
36 reg = <0x0 0x03000000>;
37 label = "ramdisk-nor";
38 read-only;
39 };
40
41 partition@3000000 {
42 reg = <0x03000000 0x00e00000>;
43 label = "diagnostic-nor";
44 read-only;
45 };
46
47 partition@3e00000 {
48 reg = <0x03e00000 0x00200000>;
49 label = "dink-nor";
50 read-only;
51 };
52
53 partition@4000000 {
54 reg = <0x04000000 0x00400000>;
55 label = "kernel-nor";
56 read-only;
57 };
58
59 partition@4400000 {
60 reg = <0x04400000 0x03b00000>;
61 label = "jffs2-nor";
62 };
63
64 partition@7f00000 {
65 reg = <0x07f00000 0x00080000>;
66 label = "dtb-nor";
67 read-only;
68 };
69
70 partition@7f80000 {
71 reg = <0x07f80000 0x00080000>;
72 label = "u-boot-nor";
73 read-only;
74 };
75 };
76
77 nand@2,0 {
78 #address-cells = <1>;
79 #size-cells = <1>;
80 compatible = "fsl,elbc-fcm-nand";
81 reg = <0x2 0x0 0x40000>;
82
83 partition@0 {
84 reg = <0x0 0x02000000>;
85 label = "u-boot-nand";
86 read-only;
87 };
88
89 partition@2000000 {
90 reg = <0x02000000 0x10000000>;
91 label = "jffs2-nand";
92 };
93
94 partition@12000000 {
95 reg = <0x12000000 0x10000000>;
96 label = "ramdisk-nand";
97 read-only;
98 };
99
100 partition@22000000 {
101 reg = <0x22000000 0x04000000>;
102 label = "kernel-nand";
103 };
104
105 partition@26000000 {
106 reg = <0x26000000 0x01000000>;
107 label = "dtb-nand";
108 read-only;
109 };
110
111 partition@27000000 {
112 reg = <0x27000000 0x19000000>;
113 label = "reserved-nand";
114 };
115 };
Timur Tabi6341efe2010-10-07 14:36:42 -0500116
117 board-control@3,0 {
Timur Tabi499ccb272011-09-15 13:04:13 -0500118 compatible = "fsl,p1022ds-fpga", "fsl,fpga-ngpixis";
Timur Tabi6341efe2010-10-07 14:36:42 -0500119 reg = <3 0 0x30>;
120 interrupt-parent = <&mpic>;
121 /*
122 * IRQ8 is generated if the "EVENT" switch is pressed
123 * and PX_CTL[EVESEL] is set to 00.
124 */
Scott Woodc2817392011-03-24 16:43:52 -0500125 interrupts = <8 8 0 0>;
Timur Tabi6341efe2010-10-07 14:36:42 -0500126 };
Timur Tabi30be4c92010-07-02 17:25:03 -0500127 };
128
Kumar Galaab827d92011-10-26 01:01:54 -0500129 soc: soc@fffe00000 {
Timur Tabi30be4c92010-07-02 17:25:03 -0500130 ranges = <0x0 0xf 0xffe00000 0x100000>;
Timur Tabi30be4c92010-07-02 17:25:03 -0500131
132 i2c@3100 {
Timur Tabi30be4c92010-07-02 17:25:03 -0500133 wm8776:codec@1a {
134 compatible = "wlf,wm8776";
135 reg = <0x1a>;
Timur Tabif3fed682011-06-08 14:03:05 -0500136 /*
137 * clock-frequency will be set by U-Boot if
138 * the clock is enabled.
139 */
Timur Tabi30be4c92010-07-02 17:25:03 -0500140 };
141 };
142
Timur Tabi30be4c92010-07-02 17:25:03 -0500143 spi@7000 {
Kumar Galaab827d92011-10-26 01:01:54 -0500144 flash@0 {
Timur Tabi30be4c92010-07-02 17:25:03 -0500145 #address-cells = <1>;
146 #size-cells = <1>;
Kumar Galaab827d92011-10-26 01:01:54 -0500147 compatible = "spansion,s25sl12801";
Timur Tabi30be4c92010-07-02 17:25:03 -0500148 reg = <0>;
Timur Tabi30be4c92010-07-02 17:25:03 -0500149 spi-max-frequency = <40000000>; /* input clock */
Kumar Galaab827d92011-10-26 01:01:54 -0500150
Timur Tabi30be4c92010-07-02 17:25:03 -0500151 partition@0 {
152 label = "u-boot-spi";
153 reg = <0x00000000 0x00100000>;
154 read-only;
155 };
156 partition@100000 {
157 label = "kernel-spi";
158 reg = <0x00100000 0x00500000>;
159 read-only;
160 };
161 partition@600000 {
162 label = "dtb-spi";
163 reg = <0x00600000 0x00100000>;
164 read-only;
165 };
166 partition@700000 {
167 label = "file system-spi";
168 reg = <0x00700000 0x00900000>;
169 };
170 };
171 };
172
173 ssi@15000 {
Timur Tabi30be4c92010-07-02 17:25:03 -0500174 fsl,mode = "i2s-slave";
175 codec-handle = <&wm8776>;
Timur Tabif3fed682011-06-08 14:03:05 -0500176 fsl,ssi-asynchronous;
Timur Tabi30be4c92010-07-02 17:25:03 -0500177 };
178
Timur Tabi30be4c92010-07-02 17:25:03 -0500179 usb@22000 {
Timur Tabi30be4c92010-07-02 17:25:03 -0500180 phy_type = "ulpi";
181 };
182
Kumar Galaab827d92011-10-26 01:01:54 -0500183 usb@23000 {
184 status = "disabled";
185 };
Timur Tabi30be4c92010-07-02 17:25:03 -0500186
Kumar Galaab827d92011-10-26 01:01:54 -0500187 mdio@24000 {
Timur Tabi30be4c92010-07-02 17:25:03 -0500188 phy0: ethernet-phy@0 {
Scott Woodc2817392011-03-24 16:43:52 -0500189 interrupts = <3 1 0 0>;
Timur Tabi30be4c92010-07-02 17:25:03 -0500190 reg = <0x1>;
191 };
192 phy1: ethernet-phy@1 {
Scott Woodc2817392011-03-24 16:43:52 -0500193 interrupts = <9 1 0 0>;
Timur Tabi30be4c92010-07-02 17:25:03 -0500194 reg = <0x2>;
195 };
196 };
197
Kumar Galaab827d92011-10-26 01:01:54 -0500198 ethernet@b0000 {
Timur Tabi30be4c92010-07-02 17:25:03 -0500199 phy-handle = <&phy0>;
200 phy-connection-type = "rgmii-id";
Timur Tabi30be4c92010-07-02 17:25:03 -0500201 };
202
Kumar Galaab827d92011-10-26 01:01:54 -0500203 ethernet@b1000 {
Timur Tabi30be4c92010-07-02 17:25:03 -0500204 phy-handle = <&phy1>;
205 phy-connection-type = "rgmii-id";
Timur Tabi30be4c92010-07-02 17:25:03 -0500206 };
207 };
208
209 pci0: pcie@fffe09000 {
Timur Tabi30be4c92010-07-02 17:25:03 -0500210 reg = <0xf 0xffe09000 0 0x1000>;
Timur Tabi30be4c92010-07-02 17:25:03 -0500211 ranges = <0x2000000 0x0 0xa0000000 0xc 0x20000000 0x0 0x20000000
212 0x1000000 0x0 0x00000000 0xf 0xffc10000 0x0 0x10000>;
Timur Tabi30be4c92010-07-02 17:25:03 -0500213 pcie@0 {
Timur Tabi30be4c92010-07-02 17:25:03 -0500214 ranges = <0x2000000 0x0 0xe0000000
215 0x2000000 0x0 0xe0000000
216 0x0 0x20000000
217
218 0x1000000 0x0 0x0
219 0x1000000 0x0 0x0
220 0x0 0x100000>;
221 };
222 };
223
224 pci1: pcie@fffe0a000 {
Timur Tabi30be4c92010-07-02 17:25:03 -0500225 reg = <0xf 0xffe0a000 0 0x1000>;
Timur Tabi30be4c92010-07-02 17:25:03 -0500226 ranges = <0x2000000 0x0 0xc0000000 0xc 0x40000000 0x0 0x20000000
227 0x1000000 0x0 0x00000000 0xf 0xffc20000 0x0 0x10000>;
Timur Tabi30be4c92010-07-02 17:25:03 -0500228 pcie@0 {
229 reg = <0x0 0x0 0x0 0x0 0x0>;
Timur Tabi30be4c92010-07-02 17:25:03 -0500230 ranges = <0x2000000 0x0 0xe0000000
231 0x2000000 0x0 0xe0000000
232 0x0 0x20000000
233
234 0x1000000 0x0 0x0
235 0x1000000 0x0 0x0
236 0x0 0x100000>;
237 };
238 };
239
Timur Tabi30be4c92010-07-02 17:25:03 -0500240 pci2: pcie@fffe0b000 {
Timur Tabi30be4c92010-07-02 17:25:03 -0500241 reg = <0xf 0xffe0b000 0 0x1000>;
Timur Tabi30be4c92010-07-02 17:25:03 -0500242 ranges = <0x2000000 0x0 0x80000000 0xc 0x00000000 0x0 0x20000000
243 0x1000000 0x0 0x00000000 0xf 0xffc00000 0x0 0x10000>;
Timur Tabi30be4c92010-07-02 17:25:03 -0500244 pcie@0 {
Timur Tabi30be4c92010-07-02 17:25:03 -0500245 ranges = <0x2000000 0x0 0xe0000000
246 0x2000000 0x0 0xe0000000
247 0x0 0x20000000
248
249 0x1000000 0x0 0x0
250 0x1000000 0x0 0x0
251 0x0 0x100000>;
252 };
253 };
254};
Kumar Galaab827d92011-10-26 01:01:54 -0500255
256/include/ "fsl/p1022si-post.dtsi"