1 /* 1 /* 2 * C293 PCIE Device Tree Source 2 * C293 PCIE Device Tree Source 3 * 3 * 4 * Copyright 2013 Freescale Semiconductor Inc. 4 * Copyright 2013 Freescale Semiconductor Inc. 5 * 5 * 6 * Redistribution and use in source and binary 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that t 7 * modification, are permitted provided that the following conditions are met: 8 * * Redistributions of source code must r 8 * * Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and t 9 * notice, this list of conditions and the following disclaimer. 10 * * Redistributions in binary form must r 10 * * Redistributions in binary form must reproduce the above copyright 11 * notice, this list of conditions and t 11 * notice, this list of conditions and the following disclaimer in the 12 * documentation and/or other materials 12 * documentation and/or other materials provided with the distribution. 13 * * Neither the name of Freescale Semicon 13 * * Neither the name of Freescale Semiconductor nor the 14 * names of its contributors may be used 14 * names of its contributors may be used to endorse or promote products 15 * derived from this software without sp 15 * derived from this software without specific prior written permission. 16 * 16 * 17 * 17 * 18 * ALTERNATIVELY, this software may be distrib 18 * ALTERNATIVELY, this software may be distributed under the terms of the 19 * GNU General Public License ("GPL") as publi 19 * GNU General Public License ("GPL") as published by the Free Software 20 * Foundation, either version 2 of that Licens 20 * Foundation, either version 2 of that License or (at your option) any 21 * later version. 21 * later version. 22 * 22 * 23 * THIS SOFTWARE IS PROVIDED BY Freescale Semi 23 * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor "AS IS" AND ANY 24 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, B 24 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 25 * WARRANTIES OF MERCHANTABILITY AND FITNESS F 25 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 26 * DISCLAIMED. IN NO EVENT SHALL Freescale Sem 26 * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY 27 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEM 27 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 28 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT 28 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 29 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 29 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 30 * ON ANY THEORY OF LIABILITY, WHETHER IN CONT 30 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 31 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 31 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 32 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILIT 32 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 33 */ 33 */ 34 34 35 /include/ "c293si-pre.dtsi" 35 /include/ "c293si-pre.dtsi" 36 36 37 / { 37 / { 38 model = "fsl,C293PCIE"; 38 model = "fsl,C293PCIE"; 39 compatible = "fsl,C293PCIE"; 39 compatible = "fsl,C293PCIE"; 40 40 41 memory { 41 memory { 42 device_type = "memory"; 42 device_type = "memory"; 43 }; 43 }; 44 44 45 ifc: memory-controller@fffe1e000 { !! 45 ifc: ifc@fffe1e000 { 46 reg = <0xf 0xffe1e000 0 0x2000 46 reg = <0xf 0xffe1e000 0 0x2000>; 47 ranges = <0x0 0x0 0xf 0xec0000 47 ranges = <0x0 0x0 0xf 0xec000000 0x04000000 48 0x1 0x0 0xf 0xff8000 48 0x1 0x0 0xf 0xff800000 0x00010000 49 0x2 0x0 0xf 0xffdf00 49 0x2 0x0 0xf 0xffdf0000 0x00010000>; 50 50 51 }; 51 }; 52 52 53 soc: soc@fffe00000 { 53 soc: soc@fffe00000 { 54 ranges = <0x0 0xf 0xffe00000 0 54 ranges = <0x0 0xf 0xffe00000 0x100000>; 55 }; 55 }; 56 56 57 pci0: pcie@fffe0a000 { 57 pci0: pcie@fffe0a000 { 58 reg = <0xf 0xffe0a000 0 0x1000 58 reg = <0xf 0xffe0a000 0 0x1000>; 59 ranges = <0x2000000 0x0 0x8000 59 ranges = <0x2000000 0x0 0x80000000 0xc 0x00000000 0x0 0x20000000 60 0x1000000 0x0 0x0000 60 0x1000000 0x0 0x00000000 0xf 0xffc00000 0x0 0x10000>; 61 pcie@0 { 61 pcie@0 { 62 ranges = <0x2000000 0x 62 ranges = <0x2000000 0x0 0x80000000 63 0x2000000 0x 63 0x2000000 0x0 0x80000000 64 0x0 0x200000 64 0x0 0x20000000 65 65 66 0x1000000 0x 66 0x1000000 0x0 0x0 67 0x1000000 0x 67 0x1000000 0x0 0x0 68 0x0 0x100000 68 0x0 0x100000>; 69 }; 69 }; 70 }; 70 }; 71 }; 71 }; 72 72 73 &ifc { 73 &ifc { 74 nor@0,0 { 74 nor@0,0 { 75 #address-cells = <1>; 75 #address-cells = <1>; 76 #size-cells = <1>; 76 #size-cells = <1>; 77 compatible = "cfi-flash"; 77 compatible = "cfi-flash"; 78 reg = <0x0 0x0 0x4000000>; 78 reg = <0x0 0x0 0x4000000>; 79 bank-width = <2>; 79 bank-width = <2>; 80 device-width = <1>; 80 device-width = <1>; 81 81 82 partition@0 { 82 partition@0 { 83 /* 1MB for DTB Image * 83 /* 1MB for DTB Image */ 84 reg = <0x0 0x00100000> 84 reg = <0x0 0x00100000>; 85 label = "NOR DTB Image 85 label = "NOR DTB Image"; 86 }; 86 }; 87 87 88 partition@100000 { 88 partition@100000 { 89 /* 8 MB for Linux Kern 89 /* 8 MB for Linux Kernel Image */ 90 reg = <0x00100000 0x00 90 reg = <0x00100000 0x00800000>; 91 label = "NOR Linux Ker 91 label = "NOR Linux Kernel Image"; 92 }; 92 }; 93 93 94 partition@900000 { 94 partition@900000 { 95 /* 53MB for rootfs */ 95 /* 53MB for rootfs */ 96 reg = <0x00900000 0x03 96 reg = <0x00900000 0x03500000>; 97 label = "NOR Rootfs Im 97 label = "NOR Rootfs Image"; 98 }; 98 }; 99 99 100 partition@3e00000 { 100 partition@3e00000 { 101 /* 1MB for blob encryp 101 /* 1MB for blob encrypted key */ 102 reg = <0x03e00000 0x00 102 reg = <0x03e00000 0x00100000>; 103 label = "NOR blob encr 103 label = "NOR blob encrypted key"; 104 }; 104 }; 105 105 106 partition@3f00000 { 106 partition@3f00000 { 107 /* 512KB for u-boot Bo 107 /* 512KB for u-boot Bootloader Image and evn */ 108 reg = <0x03f00000 0x00 108 reg = <0x03f00000 0x00100000>; 109 label = "NOR U-Boot Im 109 label = "NOR U-Boot Image"; 110 read-only; 110 read-only; 111 }; 111 }; 112 }; 112 }; 113 113 114 nand@1,0 { 114 nand@1,0 { 115 #address-cells = <1>; 115 #address-cells = <1>; 116 #size-cells = <1>; 116 #size-cells = <1>; 117 compatible = "fsl,ifc-nand"; 117 compatible = "fsl,ifc-nand"; 118 reg = <0x1 0x0 0x10000>; 118 reg = <0x1 0x0 0x10000>; 119 119 120 partition@0 { 120 partition@0 { 121 /* This location must 121 /* This location must not be altered */ 122 /* 1MB for u-boot Boot 122 /* 1MB for u-boot Bootloader Image */ 123 reg = <0x0 0x00100000> 123 reg = <0x0 0x00100000>; 124 label = "NAND U-Boot I 124 label = "NAND U-Boot Image"; 125 read-only; 125 read-only; 126 }; 126 }; 127 127 128 partition@100000 { 128 partition@100000 { 129 /* 1MB for DTB Image * 129 /* 1MB for DTB Image */ 130 reg = <0x00100000 0x00 130 reg = <0x00100000 0x00100000>; 131 label = "NAND DTB Imag 131 label = "NAND DTB Image"; 132 }; 132 }; 133 133 134 partition@200000 { 134 partition@200000 { 135 /* 16MB for Linux Kern 135 /* 16MB for Linux Kernel Image */ 136 reg = <0x00200000 0x01 136 reg = <0x00200000 0x01000000>; 137 label = "NAND Linux Ke 137 label = "NAND Linux Kernel Image"; 138 }; 138 }; 139 139 140 partition@1200000 { 140 partition@1200000 { 141 /* 4078MB for Root fil 141 /* 4078MB for Root file System Image */ 142 reg = <0x00600000 0xfe 142 reg = <0x00600000 0xfee00000>; 143 label = "NAND RFS Imag 143 label = "NAND RFS Image"; 144 }; 144 }; 145 }; 145 }; 146 146 147 cpld@2,0 { 147 cpld@2,0 { 148 compatible = "fsl,c293pcie-cpl 148 compatible = "fsl,c293pcie-cpld"; 149 reg = <0x2 0x0 0x20>; 149 reg = <0x2 0x0 0x20>; 150 }; 150 }; 151 }; 151 }; 152 152 153 &soc { 153 &soc { 154 i2c@3000 { 154 i2c@3000 { 155 eeprom@50 { 155 eeprom@50 { 156 compatible = "st,24c10 156 compatible = "st,24c1024", "atmel,24c1024"; 157 reg = <0x50>; 157 reg = <0x50>; 158 }; 158 }; 159 159 160 adt7461@4c { 160 adt7461@4c { 161 compatible = "adi,adt7 161 compatible = "adi,adt7461"; 162 reg = <0x4c>; 162 reg = <0x4c>; 163 }; 163 }; 164 }; 164 }; 165 165 166 spi@7000 { 166 spi@7000 { 167 flash@0 { 167 flash@0 { 168 #address-cells = <1>; 168 #address-cells = <1>; 169 #size-cells = <1>; 169 #size-cells = <1>; 170 compatible = "spansion 170 compatible = "spansion,s25sl12801", "jedec,spi-nor"; 171 reg = <0>; 171 reg = <0>; 172 spi-max-frequency = <5 172 spi-max-frequency = <50000000>; 173 173 174 partition@0 { 174 partition@0 { 175 /* 1MB for u-b 175 /* 1MB for u-boot Bootloader Image */ 176 /* 1MB for Env 176 /* 1MB for Environment */ 177 reg = <0x0 0x0 177 reg = <0x0 0x00100000>; 178 label = "SPI F 178 label = "SPI Flash U-Boot Image"; 179 read-only; 179 read-only; 180 }; 180 }; 181 181 182 partition@100000 { 182 partition@100000 { 183 /* 512KB for D 183 /* 512KB for DTB Image */ 184 reg = <0x00100 184 reg = <0x00100000 0x00080000>; 185 label = "SPI F 185 label = "SPI Flash DTB Image"; 186 }; 186 }; 187 187 188 partition@180000 { 188 partition@180000 { 189 /* 4MB for Lin 189 /* 4MB for Linux Kernel Image */ 190 reg = <0x00180 190 reg = <0x00180000 0x00400000>; 191 label = "SPI F 191 label = "SPI Flash Linux Kernel Image"; 192 }; 192 }; 193 193 194 partition@580000 { 194 partition@580000 { 195 /* 10.5MB for 195 /* 10.5MB for RFS Image */ 196 reg = <0x00580 196 reg = <0x00580000 0x00a80000>; 197 label = "SPI F 197 label = "SPI Flash RFS Image"; 198 }; 198 }; 199 }; 199 }; 200 }; 200 }; 201 201 202 mdio@24000 { 202 mdio@24000 { 203 phy0: ethernet-phy@0 { 203 phy0: ethernet-phy@0 { 204 interrupts = <2 1 0 0> 204 interrupts = <2 1 0 0>; 205 reg = <0x0>; 205 reg = <0x0>; 206 }; 206 }; 207 207 208 phy1: ethernet-phy@1 { 208 phy1: ethernet-phy@1 { 209 interrupts = <2 1 0 0> 209 interrupts = <2 1 0 0>; 210 reg = <0x2>; 210 reg = <0x2>; 211 }; 211 }; 212 }; 212 }; 213 213 214 enet0: ethernet@b0000 { 214 enet0: ethernet@b0000 { 215 phy-handle = <&phy0>; 215 phy-handle = <&phy0>; 216 phy-connection-type = "rgmii-i 216 phy-connection-type = "rgmii-id"; 217 }; 217 }; 218 218 219 enet1: ethernet@b1000 { 219 enet1: ethernet@b1000 { 220 phy-handle = <&phy1>; 220 phy-handle = <&phy1>; 221 phy-connection-type = "rgmii-i 221 phy-connection-type = "rgmii-id"; 222 }; 222 }; 223 }; 223 }; 224 /include/ "c293si-post.dtsi" 224 /include/ "c293si-post.dtsi"
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.