1/* 2 * T1040RDB/T1042RDB Device Tree Source 3 * 4 * Copyright 2014 - 2015 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 35/ { 36 aliases { 37 phy_rgmii_0 = &phy_rgmii_0; 38 phy_rgmii_1 = &phy_rgmii_1; 39 phy_sgmii_2 = &phy_sgmii_2; 40 }; 41 42 reserved-memory { 43 #address-cells = <2>; 44 #size-cells = <2>; 45 ranges; 46 47 bman_fbpr: bman-fbpr { 48 size = <0 0x1000000>; 49 alignment = <0 0x1000000>; 50 }; 51 qman_fqd: qman-fqd { 52 size = <0 0x400000>; 53 alignment = <0 0x400000>; 54 }; 55 qman_pfdr: qman-pfdr { 56 size = <0 0x2000000>; 57 alignment = <0 0x2000000>; 58 }; 59 }; 60 61 ifc: localbus@ffe124000 { 62 reg = <0xf 0xfe124000 0 0x2000>; 63 ranges = <0 0 0xf 0xe8000000 0x08000000 64 2 0 0xf 0xff800000 0x00010000 65 3 0 0xf 0xffdf0000 0x00008000>; 66 67 nor@0,0 { 68 #address-cells = <1>; 69 #size-cells = <1>; 70 compatible = "cfi-flash"; 71 reg = <0x0 0x0 0x8000000>; 72 bank-width = <2>; 73 device-width = <1>; 74 }; 75 76 nand@2,0 { 77 #address-cells = <1>; 78 #size-cells = <1>; 79 compatible = "fsl,ifc-nand"; 80 reg = <0x2 0x0 0x10000>; 81 }; 82 83 cpld@3,0 { 84 reg = <3 0 0x300>; 85 }; 86 }; 87 88 memory { 89 device_type = "memory"; 90 }; 91 92 dcsr: dcsr@f00000000 { 93 ranges = <0x00000000 0xf 0x00000000 0x01072000>; 94 }; 95 96 bportals: bman-portals@ff4000000 { 97 ranges = <0x0 0xf 0xf4000000 0x2000000>; 98 }; 99 100 qportals: qman-portals@ff6000000 { 101 ranges = <0x0 0xf 0xf6000000 0x2000000>; 102 }; 103 104 soc: soc@ffe000000 { 105 ranges = <0x00000000 0xf 0xfe000000 0x1000000>; 106 reg = <0xf 0xfe000000 0 0x00001000>; 107 108 spi@110000 { 109 flash@0 { 110 #address-cells = <1>; 111 #size-cells = <1>; 112 compatible = "micron,n25q512a"; 113 reg = <0>; 114 spi-max-frequency = <10000000>; /* input clock */ 115 }; 116 }; 117 118 i2c@118000 { 119 adt7461@4c { 120 compatible = "adi,adt7461"; 121 reg = <0x4c>; 122 }; 123 }; 124 125 i2c@118100 { 126 pca9546@77 { 127 compatible = "nxp,pca9546"; 128 reg = <0x77>; 129 #address-cells = <1>; 130 #size-cells = <0>; 131 }; 132 }; 133 134 fman@400000 { 135 ethernet@e6000 { 136 phy-handle = <&phy_rgmii_0>; 137 phy-connection-type = "rgmii"; 138 }; 139 140 ethernet@e8000 { 141 phy-handle = <&phy_rgmii_1>; 142 phy-connection-type = "rgmii"; 143 }; 144 145 mdio0: mdio@fc000 { 146 phy_sgmii_2: ethernet-phy@03 { 147 reg = <0x03>; 148 }; 149 150 phy_rgmii_0: ethernet-phy@01 { 151 reg = <0x01>; 152 }; 153 154 phy_rgmii_1: ethernet-phy@02 { 155 reg = <0x02>; 156 }; 157 }; 158 }; 159 }; 160 161 pci0: pcie@ffe240000 { 162 reg = <0xf 0xfe240000 0 0x10000>; 163 ranges = <0x02000000 0 0xe0000000 0xc 0x00000000 0x0 0x10000000 164 0x01000000 0 0x00000000 0xf 0xf8000000 0x0 0x00010000>; 165 pcie@0 { 166 ranges = <0x02000000 0 0xe0000000 167 0x02000000 0 0xe0000000 168 0 0x10000000 169 170 0x01000000 0 0x00000000 171 0x01000000 0 0x00000000 172 0 0x00010000>; 173 }; 174 }; 175 176 pci1: pcie@ffe250000 { 177 reg = <0xf 0xfe250000 0 0x10000>; 178 ranges = <0x02000000 0x0 0xe0000000 0xc 0x10000000 0x0 0x10000000 179 0x01000000 0x0 0x00000000 0xf 0xf8010000 0x0 0x00010000>; 180 pcie@0 { 181 ranges = <0x02000000 0 0xe0000000 182 0x02000000 0 0xe0000000 183 0 0x10000000 184 185 0x01000000 0 0x00000000 186 0x01000000 0 0x00000000 187 0 0x00010000>; 188 }; 189 }; 190 191 pci2: pcie@ffe260000 { 192 reg = <0xf 0xfe260000 0 0x10000>; 193 ranges = <0x02000000 0 0xe0000000 0xc 0x20000000 0 0x10000000 194 0x01000000 0 0x00000000 0xf 0xf8020000 0 0x00010000>; 195 pcie@0 { 196 ranges = <0x02000000 0 0xe0000000 197 0x02000000 0 0xe0000000 198 0 0x10000000 199 200 0x01000000 0 0x00000000 201 0x01000000 0 0x00000000 202 0 0x00010000>; 203 }; 204 }; 205 206 pci3: pcie@ffe270000 { 207 reg = <0xf 0xfe270000 0 0x10000>; 208 ranges = <0x02000000 0 0xe0000000 0xc 0x30000000 0 0x10000000 209 0x01000000 0 0x00000000 0xf 0xf8030000 0 0x00010000>; 210 pcie@0 { 211 ranges = <0x02000000 0 0xe0000000 212 0x02000000 0 0xe0000000 213 0 0x10000000 214 215 0x01000000 0 0x00000000 216 0x01000000 0 0x00000000 217 0 0x00010000>; 218 }; 219 }; 220}; 221