Add the rt linux 4.1.3-rt3 as base
[kvmfornfv.git] / kernel / arch / powerpc / boot / dts / b4qds.dtsi
1 /*
2  * B4420DS Device Tree Source
3  *
4  * Copyright 2012 - 2014 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
32  * this software, even if advised of the possibility of such damage.
33  */
34
35 / {
36         model = "fsl,B4QDS";
37         compatible = "fsl,B4QDS";
38         #address-cells = <2>;
39         #size-cells = <2>;
40         interrupt-parent = <&mpic>;
41
42         ifc: localbus@ffe124000 {
43                 reg = <0xf 0xfe124000 0 0x2000>;
44                 ranges = <0 0 0xf 0xe8000000 0x08000000
45                           2 0 0xf 0xff800000 0x00010000
46                           3 0 0xf 0xffdf0000 0x00008000>;
47
48                 nor@0,0 {
49                         #address-cells = <1>;
50                         #size-cells = <1>;
51                         compatible = "cfi-flash";
52                         reg = <0x0 0x0 0x8000000>;
53                         bank-width = <2>;
54                         device-width = <1>;
55                 };
56
57                 nand@2,0 {
58                         #address-cells = <1>;
59                         #size-cells = <1>;
60                         compatible = "fsl,ifc-nand";
61                         reg = <0x2 0x0 0x10000>;
62
63                         partition@0 {
64                                 /* This location must not be altered  */
65                                 /* 1MB for u-boot Bootloader Image */
66                                 reg = <0x0 0x00100000>;
67                                 label = "NAND U-Boot Image";
68                                 read-only;
69                         };
70
71                         partition@100000 {
72                                 /* 1MB for DTB Image */
73                                 reg = <0x00100000 0x00100000>;
74                                 label = "NAND DTB Image";
75                         };
76
77                         partition@200000 {
78                                 /* 10MB for Linux Kernel Image */
79                                 reg = <0x00200000 0x00A00000>;
80                                 label = "NAND Linux Kernel Image";
81                         };
82
83                         partition@c00000 {
84                                 /* 500MB for Root file System Image */
85                                 reg = <0x00c00000 0x1F400000>;
86                                 label = "NAND RFS Image";
87                         };
88                 };
89
90                 board-control@3,0 {
91                         compatible = "fsl,b4qds-fpga", "fsl,fpga-qixis";
92                         reg = <3 0 0x300>;
93                 };
94         };
95
96         memory {
97                 device_type = "memory";
98         };
99
100         reserved-memory {
101                 #address-cells = <2>;
102                 #size-cells = <2>;
103                 ranges;
104
105                 bman_fbpr: bman-fbpr {
106                         size = <0 0x1000000>;
107                         alignment = <0 0x1000000>;
108                 };
109         };
110
111         dcsr: dcsr@f00000000 {
112                 ranges = <0x00000000 0xf 0x00000000 0x01052000>;
113         };
114
115         bportals: bman-portals@ff4000000 {
116                 ranges = <0x0 0xf 0xf4000000 0x2000000>;
117         };
118
119         soc: soc@ffe000000 {
120                 ranges = <0x00000000 0xf 0xfe000000 0x1000000>;
121                 reg = <0xf 0xfe000000 0 0x00001000>;
122                 spi@110000 {
123                         flash@0 {
124                                 #address-cells = <1>;
125                                 #size-cells = <1>;
126                                 compatible = "sst,sst25wf040";
127                                 reg = <0>;
128                                 spi-max-frequency = <40000000>; /* input clock */
129                         };
130                 };
131
132                 sdhc@114000 {
133                         /*Disabled as there is no sdhc connector on B4420QDS board*/
134                         status = "disabled";
135                 };
136
137                 i2c@118000 {
138                         mux@77 {
139                                 compatible = "nxp,pca9547";
140                                 reg = <0x77>;
141                                 #address-cells = <1>;
142                                 #size-cells = <0>;
143
144                                 i2c@0 {
145                                         #address-cells = <1>;
146                                         #size-cells = <0>;
147                                         reg = <0>;
148
149                                         eeprom@50 {
150                                                 compatible = "at24,24c64";
151                                                 reg = <0x50>;
152                                         };
153                                         eeprom@51 {
154                                                 compatible = "at24,24c256";
155                                                 reg = <0x51>;
156                                         };
157                                         eeprom@53 {
158                                                 compatible = "at24,24c256";
159                                                 reg = <0x53>;
160                                         };
161                                         eeprom@57 {
162                                                 compatible = "at24,24c256";
163                                                 reg = <0x57>;
164                                         };
165                                         rtc@68 {
166                                                 compatible = "dallas,ds3232";
167                                                 reg = <0x68>;
168                                         };
169                                 };
170
171                                 i2c@2 {
172                                         #address-cells = <1>;
173                                         #size-cells = <0>;
174                                         reg = <0x2>;
175
176                                         ina220@40 {
177                                                 compatible = "ti,ina220";
178                                                 reg = <0x40>;
179                                                 shunt-resistor = <1000>;
180                                         };
181                                 };
182
183                                 i2c@3 {
184                                         #address-cells = <1>;
185                                         #size-cells = <0>;
186                                         reg = <0x3>;
187
188                                         adt7461@4c {
189                                                 compatible = "adi,adt7461";
190                                                 reg = <0x4c>;
191                                         };
192                                 };
193                         };
194                 };
195
196                 usb@210000 {
197                         dr_mode = "host";
198                         phy_type = "ulpi";
199                 };
200
201         };
202
203         pci0: pcie@ffe200000 {
204                 reg = <0xf 0xfe200000 0 0x10000>;
205                 ranges = <0x02000000 0 0xe0000000 0xc 0x00000000 0x0 0x20000000
206                           0x01000000 0 0x00000000 0xf 0xf8000000 0x0 0x00010000>;
207                 pcie@0 {
208                         ranges = <0x02000000 0 0xe0000000
209                                   0x02000000 0 0xe0000000
210                                   0 0x20000000
211
212                                   0x01000000 0 0x00000000
213                                   0x01000000 0 0x00000000
214                                   0 0x00010000>;
215                 };
216         };
217
218 };
219
220 /include/ "fsl/b4si-post.dtsi"