2 * C293 PCIE Device Tree Source
4 * Copyright 2013 Freescale Semiconductor Inc.
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.
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
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.
35 /include/ "c293si-pre.dtsi"
38 model = "fsl,C293PCIE";
39 compatible = "fsl,C293PCIE";
42 device_type = "memory";
46 reg = <0xf 0xffe1e000 0 0x2000>;
47 ranges = <0x0 0x0 0xf 0xec000000 0x04000000
48 0x1 0x0 0xf 0xff800000 0x00010000
49 0x2 0x0 0xf 0xffdf0000 0x00010000>;
54 ranges = <0x0 0xf 0xffe00000 0x100000>;
57 pci0: pcie@fffe0a000 {
58 reg = <0xf 0xffe0a000 0 0x1000>;
59 ranges = <0x2000000 0x0 0x80000000 0xc 0x00000000 0x0 0x20000000
60 0x1000000 0x0 0x00000000 0xf 0xffc00000 0x0 0x10000>;
62 ranges = <0x2000000 0x0 0x80000000
63 0x2000000 0x0 0x80000000
77 compatible = "cfi-flash";
78 reg = <0x0 0x0 0x4000000>;
83 /* 1MB for DTB Image */
84 reg = <0x0 0x00100000>;
85 label = "NOR DTB Image";
89 /* 8 MB for Linux Kernel Image */
90 reg = <0x00100000 0x00800000>;
91 label = "NOR Linux Kernel Image";
96 reg = <0x00900000 0x03500000>;
97 label = "NOR Rootfs Image";
101 /* 1MB for blob encrypted key */
102 reg = <0x03e00000 0x00100000>;
103 label = "NOR blob encrypted key";
107 /* 512KB for u-boot Bootloader Image and evn */
108 reg = <0x03f00000 0x00100000>;
109 label = "NOR U-Boot Image";
115 #address-cells = <1>;
117 compatible = "fsl,ifc-nand";
118 reg = <0x1 0x0 0x10000>;
121 /* This location must not be altered */
122 /* 1MB for u-boot Bootloader Image */
123 reg = <0x0 0x00100000>;
124 label = "NAND U-Boot Image";
129 /* 1MB for DTB Image */
130 reg = <0x00100000 0x00100000>;
131 label = "NAND DTB Image";
135 /* 16MB for Linux Kernel Image */
136 reg = <0x00200000 0x01000000>;
137 label = "NAND Linux Kernel Image";
141 /* 4078MB for Root file System Image */
142 reg = <0x00600000 0xfee00000>;
143 label = "NAND RFS Image";
148 compatible = "fsl,c293pcie-cpld";
149 reg = <0x2 0x0 0x20>;
156 compatible = "st,24c1024", "atmel,24c1024";
161 compatible = "adi,adt7461";
168 #address-cells = <1>;
170 compatible = "spansion,s25sl12801", "jedec,spi-nor";
172 spi-max-frequency = <50000000>;
175 /* 1MB for u-boot Bootloader Image */
176 /* 1MB for Environment */
177 reg = <0x0 0x00100000>;
178 label = "SPI Flash U-Boot Image";
183 /* 512KB for DTB Image */
184 reg = <0x00100000 0x00080000>;
185 label = "SPI Flash DTB Image";
189 /* 4MB for Linux Kernel Image */
190 reg = <0x00180000 0x00400000>;
191 label = "SPI Flash Linux Kernel Image";
195 /* 10.5MB for RFS Image */
196 reg = <0x00580000 0x00a80000>;
197 label = "SPI Flash RFS Image";
203 phy0: ethernet-phy@0 {
204 interrupts = <2 1 0 0>;
208 phy1: ethernet-phy@1 {
209 interrupts = <2 1 0 0>;
214 enet0: ethernet@b0000 {
215 phy-handle = <&phy0>;
216 phy-connection-type = "rgmii-id";
219 enet1: ethernet@b1000 {
220 phy-handle = <&phy1>;
221 phy-connection-type = "rgmii-id";
224 /include/ "c293si-post.dtsi"