Priyanka Jain | 0babcd1 | 2014-09-05 16:14:40 +0530 | [diff] [blame] | 1 | /* |
| 2 | * T1040RDB/T1042RDB Device Tree Source |
| 3 | * |
Igal Liberman | 84e0f1c | 2015-08-03 11:14:10 +0300 | [diff] [blame] | 4 | * Copyright 2014 - 2015 Freescale Semiconductor Inc. |
Priyanka Jain | 0babcd1 | 2014-09-05 16:14:40 +0530 | [diff] [blame] | 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 | / { |
Igal Liberman | 84e0f1c | 2015-08-03 11:14:10 +0300 | [diff] [blame] | 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 | |
Kumar Gala | 1e8ed06 | 2015-02-27 09:16:14 -0600 | [diff] [blame] | 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 | }; |
Kumar Gala | 7f6972a | 2015-04-17 17:53:07 -0500 | [diff] [blame] | 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 | }; |
Kumar Gala | 1e8ed06 | 2015-02-27 09:16:14 -0600 | [diff] [blame] | 59 | }; |
Priyanka Jain | 0babcd1 | 2014-09-05 16:14:40 +0530 | [diff] [blame] | 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 | |
Kumar Gala | 1e8ed06 | 2015-02-27 09:16:14 -0600 | [diff] [blame] | 96 | bportals: bman-portals@ff4000000 { |
| 97 | ranges = <0x0 0xf 0xf4000000 0x2000000>; |
| 98 | }; |
| 99 | |
Kumar Gala | 7f6972a | 2015-04-17 17:53:07 -0500 | [diff] [blame] | 100 | qportals: qman-portals@ff6000000 { |
| 101 | ranges = <0x0 0xf 0xf6000000 0x2000000>; |
| 102 | }; |
| 103 | |
Priyanka Jain | 0babcd1 | 2014-09-05 16:14:40 +0530 | [diff] [blame] | 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>; |
Hou Zhiqiang | 6a369fa | 2016-01-13 15:54:46 +0800 | [diff] [blame^] | 112 | compatible = "micron,n25q512ax3", "jedec,spi-nor"; |
Priyanka Jain | 0babcd1 | 2014-09-05 16:14:40 +0530 | [diff] [blame] | 113 | reg = <0>; |
| 114 | spi-max-frequency = <10000000>; /* input clock */ |
| 115 | }; |
Zhao Qiang | fd5475a | 2016-03-11 08:42:33 +0800 | [diff] [blame] | 116 | slic@3 { |
| 117 | compatible = "maxim,ds26522"; |
| 118 | reg = <3>; |
| 119 | spi-max-frequency = <2000000>; /* input clock */ |
| 120 | }; |
Priyanka Jain | 0babcd1 | 2014-09-05 16:14:40 +0530 | [diff] [blame] | 121 | }; |
| 122 | |
Hongtao Jia | 3b6b179 | 2014-11-05 14:59:52 +0800 | [diff] [blame] | 123 | i2c@118000 { |
| 124 | adt7461@4c { |
| 125 | compatible = "adi,adt7461"; |
| 126 | reg = <0x4c>; |
| 127 | }; |
| 128 | }; |
| 129 | |
Priyanka Jain | 0babcd1 | 2014-09-05 16:14:40 +0530 | [diff] [blame] | 130 | i2c@118100 { |
| 131 | pca9546@77 { |
| 132 | compatible = "nxp,pca9546"; |
| 133 | reg = <0x77>; |
| 134 | #address-cells = <1>; |
| 135 | #size-cells = <0>; |
| 136 | }; |
| 137 | }; |
| 138 | |
Igal Liberman | 84e0f1c | 2015-08-03 11:14:10 +0300 | [diff] [blame] | 139 | fman@400000 { |
| 140 | ethernet@e6000 { |
| 141 | phy-handle = <&phy_rgmii_0>; |
| 142 | phy-connection-type = "rgmii"; |
| 143 | }; |
| 144 | |
| 145 | ethernet@e8000 { |
| 146 | phy-handle = <&phy_rgmii_1>; |
| 147 | phy-connection-type = "rgmii"; |
| 148 | }; |
| 149 | |
| 150 | mdio0: mdio@fc000 { |
| 151 | phy_sgmii_2: ethernet-phy@03 { |
| 152 | reg = <0x03>; |
| 153 | }; |
| 154 | |
| 155 | phy_rgmii_0: ethernet-phy@01 { |
| 156 | reg = <0x01>; |
| 157 | }; |
| 158 | |
| 159 | phy_rgmii_1: ethernet-phy@02 { |
| 160 | reg = <0x02>; |
| 161 | }; |
| 162 | }; |
| 163 | }; |
Priyanka Jain | 0babcd1 | 2014-09-05 16:14:40 +0530 | [diff] [blame] | 164 | }; |
| 165 | |
| 166 | pci0: pcie@ffe240000 { |
| 167 | reg = <0xf 0xfe240000 0 0x10000>; |
| 168 | ranges = <0x02000000 0 0xe0000000 0xc 0x00000000 0x0 0x10000000 |
| 169 | 0x01000000 0 0x00000000 0xf 0xf8000000 0x0 0x00010000>; |
| 170 | pcie@0 { |
| 171 | ranges = <0x02000000 0 0xe0000000 |
| 172 | 0x02000000 0 0xe0000000 |
| 173 | 0 0x10000000 |
| 174 | |
| 175 | 0x01000000 0 0x00000000 |
| 176 | 0x01000000 0 0x00000000 |
| 177 | 0 0x00010000>; |
| 178 | }; |
| 179 | }; |
| 180 | |
| 181 | pci1: pcie@ffe250000 { |
| 182 | reg = <0xf 0xfe250000 0 0x10000>; |
| 183 | ranges = <0x02000000 0x0 0xe0000000 0xc 0x10000000 0x0 0x10000000 |
| 184 | 0x01000000 0x0 0x00000000 0xf 0xf8010000 0x0 0x00010000>; |
| 185 | pcie@0 { |
| 186 | ranges = <0x02000000 0 0xe0000000 |
| 187 | 0x02000000 0 0xe0000000 |
| 188 | 0 0x10000000 |
| 189 | |
| 190 | 0x01000000 0 0x00000000 |
| 191 | 0x01000000 0 0x00000000 |
| 192 | 0 0x00010000>; |
| 193 | }; |
| 194 | }; |
| 195 | |
| 196 | pci2: pcie@ffe260000 { |
| 197 | reg = <0xf 0xfe260000 0 0x10000>; |
| 198 | ranges = <0x02000000 0 0xe0000000 0xc 0x20000000 0 0x10000000 |
| 199 | 0x01000000 0 0x00000000 0xf 0xf8020000 0 0x00010000>; |
| 200 | pcie@0 { |
| 201 | ranges = <0x02000000 0 0xe0000000 |
| 202 | 0x02000000 0 0xe0000000 |
| 203 | 0 0x10000000 |
| 204 | |
| 205 | 0x01000000 0 0x00000000 |
| 206 | 0x01000000 0 0x00000000 |
| 207 | 0 0x00010000>; |
| 208 | }; |
| 209 | }; |
| 210 | |
| 211 | pci3: pcie@ffe270000 { |
| 212 | reg = <0xf 0xfe270000 0 0x10000>; |
| 213 | ranges = <0x02000000 0 0xe0000000 0xc 0x30000000 0 0x10000000 |
| 214 | 0x01000000 0 0x00000000 0xf 0xf8030000 0 0x00010000>; |
| 215 | pcie@0 { |
| 216 | ranges = <0x02000000 0 0xe0000000 |
| 217 | 0x02000000 0 0xe0000000 |
| 218 | 0 0x10000000 |
| 219 | |
| 220 | 0x01000000 0 0x00000000 |
| 221 | 0x01000000 0 0x00000000 |
| 222 | 0 0x00010000>; |
| 223 | }; |
| 224 | }; |
| 225 | }; |