1*dc37374bSHongtao Jia/* 2*dc37374bSHongtao Jia * T4240RDB Device Tree Source 3*dc37374bSHongtao Jia * 4*dc37374bSHongtao Jia * Copyright 2014 Freescale Semiconductor Inc. 5*dc37374bSHongtao Jia * 6*dc37374bSHongtao Jia * Redistribution and use in source and binary forms, with or without 7*dc37374bSHongtao Jia * modification, are permitted provided that the following conditions are met: 8*dc37374bSHongtao Jia * * Redistributions of source code must retain the above copyright 9*dc37374bSHongtao Jia * notice, this list of conditions and the following disclaimer. 10*dc37374bSHongtao Jia * * Redistributions in binary form must reproduce the above copyright 11*dc37374bSHongtao Jia * notice, this list of conditions and the following disclaimer in the 12*dc37374bSHongtao Jia * documentation and/or other materials provided with the distribution. 13*dc37374bSHongtao Jia * * Neither the name of Freescale Semiconductor nor the 14*dc37374bSHongtao Jia * names of its contributors may be used to endorse or promote products 15*dc37374bSHongtao Jia * derived from this software without specific prior written permission. 16*dc37374bSHongtao Jia * 17*dc37374bSHongtao Jia * 18*dc37374bSHongtao Jia * ALTERNATIVELY, this software may be distributed under the terms of the 19*dc37374bSHongtao Jia * GNU General Public License ("GPL") as published by the Free Software 20*dc37374bSHongtao Jia * Foundation, either version 2 of that License or (at your option) any 21*dc37374bSHongtao Jia * later version. 22*dc37374bSHongtao Jia * 23*dc37374bSHongtao Jia * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor "AS IS" AND ANY 24*dc37374bSHongtao Jia * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 25*dc37374bSHongtao Jia * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 26*dc37374bSHongtao Jia * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY 27*dc37374bSHongtao Jia * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 28*dc37374bSHongtao Jia * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 29*dc37374bSHongtao Jia * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 30*dc37374bSHongtao Jia * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 31*dc37374bSHongtao Jia * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 32*dc37374bSHongtao Jia * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 33*dc37374bSHongtao Jia */ 34*dc37374bSHongtao Jia 35*dc37374bSHongtao Jia/include/ "t4240si-pre.dtsi" 36*dc37374bSHongtao Jia 37*dc37374bSHongtao Jia/ { 38*dc37374bSHongtao Jia model = "fsl,T4240RDB"; 39*dc37374bSHongtao Jia compatible = "fsl,T4240RDB"; 40*dc37374bSHongtao Jia #address-cells = <2>; 41*dc37374bSHongtao Jia #size-cells = <2>; 42*dc37374bSHongtao Jia interrupt-parent = <&mpic>; 43*dc37374bSHongtao Jia 44*dc37374bSHongtao Jia ifc: localbus@ffe124000 { 45*dc37374bSHongtao Jia reg = <0xf 0xfe124000 0 0x2000>; 46*dc37374bSHongtao Jia ranges = <0 0 0xf 0xe8000000 0x08000000 47*dc37374bSHongtao Jia 2 0 0xf 0xff800000 0x00010000 48*dc37374bSHongtao Jia 3 0 0xf 0xffdf0000 0x00008000>; 49*dc37374bSHongtao Jia 50*dc37374bSHongtao Jia nor@0,0 { 51*dc37374bSHongtao Jia #address-cells = <1>; 52*dc37374bSHongtao Jia #size-cells = <1>; 53*dc37374bSHongtao Jia compatible = "cfi-flash"; 54*dc37374bSHongtao Jia reg = <0x0 0x0 0x8000000>; 55*dc37374bSHongtao Jia 56*dc37374bSHongtao Jia bank-width = <2>; 57*dc37374bSHongtao Jia device-width = <1>; 58*dc37374bSHongtao Jia }; 59*dc37374bSHongtao Jia 60*dc37374bSHongtao Jia nand@2,0 { 61*dc37374bSHongtao Jia #address-cells = <1>; 62*dc37374bSHongtao Jia #size-cells = <1>; 63*dc37374bSHongtao Jia compatible = "fsl,ifc-nand"; 64*dc37374bSHongtao Jia reg = <0x2 0x0 0x10000>; 65*dc37374bSHongtao Jia }; 66*dc37374bSHongtao Jia }; 67*dc37374bSHongtao Jia 68*dc37374bSHongtao Jia memory { 69*dc37374bSHongtao Jia device_type = "memory"; 70*dc37374bSHongtao Jia }; 71*dc37374bSHongtao Jia 72*dc37374bSHongtao Jia reserved-memory { 73*dc37374bSHongtao Jia #address-cells = <2>; 74*dc37374bSHongtao Jia #size-cells = <2>; 75*dc37374bSHongtao Jia ranges; 76*dc37374bSHongtao Jia 77*dc37374bSHongtao Jia bman_fbpr: bman-fbpr { 78*dc37374bSHongtao Jia size = <0 0x1000000>; 79*dc37374bSHongtao Jia alignment = <0 0x1000000>; 80*dc37374bSHongtao Jia }; 81*dc37374bSHongtao Jia qman_fqd: qman-fqd { 82*dc37374bSHongtao Jia size = <0 0x400000>; 83*dc37374bSHongtao Jia alignment = <0 0x400000>; 84*dc37374bSHongtao Jia }; 85*dc37374bSHongtao Jia qman_pfdr: qman-pfdr { 86*dc37374bSHongtao Jia size = <0 0x2000000>; 87*dc37374bSHongtao Jia alignment = <0 0x2000000>; 88*dc37374bSHongtao Jia }; 89*dc37374bSHongtao Jia }; 90*dc37374bSHongtao Jia 91*dc37374bSHongtao Jia dcsr: dcsr@f00000000 { 92*dc37374bSHongtao Jia ranges = <0x00000000 0xf 0x00000000 0x01072000>; 93*dc37374bSHongtao Jia }; 94*dc37374bSHongtao Jia 95*dc37374bSHongtao Jia bportals: bman-portals@ff4000000 { 96*dc37374bSHongtao Jia ranges = <0x0 0xf 0xf4000000 0x2000000>; 97*dc37374bSHongtao Jia }; 98*dc37374bSHongtao Jia 99*dc37374bSHongtao Jia qportals: qman-portals@ff6000000 { 100*dc37374bSHongtao Jia ranges = <0x0 0xf 0xf6000000 0x2000000>; 101*dc37374bSHongtao Jia }; 102*dc37374bSHongtao Jia 103*dc37374bSHongtao Jia soc: soc@ffe000000 { 104*dc37374bSHongtao Jia ranges = <0x00000000 0xf 0xfe000000 0x1000000>; 105*dc37374bSHongtao Jia reg = <0xf 0xfe000000 0 0x00001000>; 106*dc37374bSHongtao Jia spi@110000 { 107*dc37374bSHongtao Jia flash@0 { 108*dc37374bSHongtao Jia #address-cells = <1>; 109*dc37374bSHongtao Jia #size-cells = <1>; 110*dc37374bSHongtao Jia compatible = "sst,sst25wf040"; 111*dc37374bSHongtao Jia reg = <0>; 112*dc37374bSHongtao Jia spi-max-frequency = <40000000>; /* input clock */ 113*dc37374bSHongtao Jia }; 114*dc37374bSHongtao Jia }; 115*dc37374bSHongtao Jia 116*dc37374bSHongtao Jia i2c@118000 { 117*dc37374bSHongtao Jia eeprom@52 { 118*dc37374bSHongtao Jia compatible = "at24,24c256"; 119*dc37374bSHongtao Jia reg = <0x52>; 120*dc37374bSHongtao Jia }; 121*dc37374bSHongtao Jia eeprom@54 { 122*dc37374bSHongtao Jia compatible = "at24,24c256"; 123*dc37374bSHongtao Jia reg = <0x54>; 124*dc37374bSHongtao Jia }; 125*dc37374bSHongtao Jia eeprom@56 { 126*dc37374bSHongtao Jia compatible = "at24,24c256"; 127*dc37374bSHongtao Jia reg = <0x56>; 128*dc37374bSHongtao Jia }; 129*dc37374bSHongtao Jia rtc@68 { 130*dc37374bSHongtao Jia compatible = "dallas,ds1374"; 131*dc37374bSHongtao Jia reg = <0x68>; 132*dc37374bSHongtao Jia interrupts = <0x1 0x1 0 0>; 133*dc37374bSHongtao Jia }; 134*dc37374bSHongtao Jia }; 135*dc37374bSHongtao Jia 136*dc37374bSHongtao Jia sdhc@114000 { 137*dc37374bSHongtao Jia voltage-ranges = <1800 1800 3300 3300>; 138*dc37374bSHongtao Jia }; 139*dc37374bSHongtao Jia }; 140*dc37374bSHongtao Jia 141*dc37374bSHongtao Jia pci0: pcie@ffe240000 { 142*dc37374bSHongtao Jia reg = <0xf 0xfe240000 0 0x10000>; 143*dc37374bSHongtao Jia ranges = <0x02000000 0 0xe0000000 0xc 0x00000000 0x0 0x20000000 144*dc37374bSHongtao Jia 0x01000000 0 0x00000000 0xf 0xf8000000 0x0 0x00010000>; 145*dc37374bSHongtao Jia pcie@0 { 146*dc37374bSHongtao Jia ranges = <0x02000000 0 0xe0000000 147*dc37374bSHongtao Jia 0x02000000 0 0xe0000000 148*dc37374bSHongtao Jia 0 0x20000000 149*dc37374bSHongtao Jia 150*dc37374bSHongtao Jia 0x01000000 0 0x00000000 151*dc37374bSHongtao Jia 0x01000000 0 0x00000000 152*dc37374bSHongtao Jia 0 0x00010000>; 153*dc37374bSHongtao Jia }; 154*dc37374bSHongtao Jia }; 155*dc37374bSHongtao Jia 156*dc37374bSHongtao Jia pci1: pcie@ffe250000 { 157*dc37374bSHongtao Jia reg = <0xf 0xfe250000 0 0x10000>; 158*dc37374bSHongtao Jia ranges = <0x02000000 0x0 0xe0000000 0xc 0x20000000 0x0 0x20000000 159*dc37374bSHongtao Jia 0x01000000 0x0 0x00000000 0xf 0xf8010000 0x0 0x00010000>; 160*dc37374bSHongtao Jia pcie@0 { 161*dc37374bSHongtao Jia ranges = <0x02000000 0 0xe0000000 162*dc37374bSHongtao Jia 0x02000000 0 0xe0000000 163*dc37374bSHongtao Jia 0 0x20000000 164*dc37374bSHongtao Jia 165*dc37374bSHongtao Jia 0x01000000 0 0x00000000 166*dc37374bSHongtao Jia 0x01000000 0 0x00000000 167*dc37374bSHongtao Jia 0 0x00010000>; 168*dc37374bSHongtao Jia }; 169*dc37374bSHongtao Jia }; 170*dc37374bSHongtao Jia 171*dc37374bSHongtao Jia pci2: pcie@ffe260000 { 172*dc37374bSHongtao Jia reg = <0xf 0xfe260000 0 0x1000>; 173*dc37374bSHongtao Jia ranges = <0x02000000 0 0xe0000000 0xc 0x40000000 0 0x20000000 174*dc37374bSHongtao Jia 0x01000000 0 0x00000000 0xf 0xf8020000 0 0x00010000>; 175*dc37374bSHongtao Jia pcie@0 { 176*dc37374bSHongtao Jia ranges = <0x02000000 0 0xe0000000 177*dc37374bSHongtao Jia 0x02000000 0 0xe0000000 178*dc37374bSHongtao Jia 0 0x20000000 179*dc37374bSHongtao Jia 180*dc37374bSHongtao Jia 0x01000000 0 0x00000000 181*dc37374bSHongtao Jia 0x01000000 0 0x00000000 182*dc37374bSHongtao Jia 0 0x00010000>; 183*dc37374bSHongtao Jia }; 184*dc37374bSHongtao Jia }; 185*dc37374bSHongtao Jia 186*dc37374bSHongtao Jia pci3: pcie@ffe270000 { 187*dc37374bSHongtao Jia reg = <0xf 0xfe270000 0 0x10000>; 188*dc37374bSHongtao Jia ranges = <0x02000000 0 0xe0000000 0xc 0x60000000 0 0x20000000 189*dc37374bSHongtao Jia 0x01000000 0 0x00000000 0xf 0xf8030000 0 0x00010000>; 190*dc37374bSHongtao Jia pcie@0 { 191*dc37374bSHongtao Jia ranges = <0x02000000 0 0xe0000000 192*dc37374bSHongtao Jia 0x02000000 0 0xe0000000 193*dc37374bSHongtao Jia 0 0x20000000 194*dc37374bSHongtao Jia 195*dc37374bSHongtao Jia 0x01000000 0 0x00000000 196*dc37374bSHongtao Jia 0x01000000 0 0x00000000 197*dc37374bSHongtao Jia 0 0x00010000>; 198*dc37374bSHongtao Jia }; 199*dc37374bSHongtao Jia }; 200*dc37374bSHongtao Jia 201*dc37374bSHongtao Jia rio: rapidio@ffe0c0000 { 202*dc37374bSHongtao Jia reg = <0xf 0xfe0c0000 0 0x11000>; 203*dc37374bSHongtao Jia 204*dc37374bSHongtao Jia port1 { 205*dc37374bSHongtao Jia ranges = <0 0 0xc 0x20000000 0 0x10000000>; 206*dc37374bSHongtao Jia }; 207*dc37374bSHongtao Jia port2 { 208*dc37374bSHongtao Jia ranges = <0 0 0xc 0x30000000 0 0x10000000>; 209*dc37374bSHongtao Jia }; 210*dc37374bSHongtao Jia }; 211*dc37374bSHongtao Jia}; 212*dc37374bSHongtao Jia 213*dc37374bSHongtao Jia/include/ "t4240si-post.dtsi" 214