1dc37374bSHongtao Jia/* 2dc37374bSHongtao Jia * T4240QDS Device Tree Source 3dc37374bSHongtao Jia * 4dc37374bSHongtao Jia * Copyright 2012 - 2014 Freescale Semiconductor Inc. 5dc37374bSHongtao Jia * 6dc37374bSHongtao Jia * Redistribution and use in source and binary forms, with or without 7dc37374bSHongtao Jia * modification, are permitted provided that the following conditions are met: 8dc37374bSHongtao Jia * * Redistributions of source code must retain the above copyright 9dc37374bSHongtao Jia * notice, this list of conditions and the following disclaimer. 10dc37374bSHongtao Jia * * Redistributions in binary form must reproduce the above copyright 11dc37374bSHongtao Jia * notice, this list of conditions and the following disclaimer in the 12dc37374bSHongtao Jia * documentation and/or other materials provided with the distribution. 13dc37374bSHongtao Jia * * Neither the name of Freescale Semiconductor nor the 14dc37374bSHongtao Jia * names of its contributors may be used to endorse or promote products 15dc37374bSHongtao Jia * derived from this software without specific prior written permission. 16dc37374bSHongtao Jia * 17dc37374bSHongtao Jia * 18dc37374bSHongtao Jia * ALTERNATIVELY, this software may be distributed under the terms of the 19dc37374bSHongtao Jia * GNU General Public License ("GPL") as published by the Free Software 20dc37374bSHongtao Jia * Foundation, either version 2 of that License or (at your option) any 21dc37374bSHongtao Jia * later version. 22dc37374bSHongtao Jia * 23dc37374bSHongtao Jia * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY 24dc37374bSHongtao Jia * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 25dc37374bSHongtao Jia * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 26dc37374bSHongtao Jia * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY 27dc37374bSHongtao Jia * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 28dc37374bSHongtao Jia * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 29dc37374bSHongtao Jia * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 30dc37374bSHongtao Jia * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 31dc37374bSHongtao Jia * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 32dc37374bSHongtao Jia * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 33dc37374bSHongtao Jia */ 34dc37374bSHongtao Jia 35dc37374bSHongtao Jia/include/ "t4240si-pre.dtsi" 36dc37374bSHongtao Jia 37dc37374bSHongtao Jia/ { 38dc37374bSHongtao Jia model = "fsl,T4240QDS"; 39dc37374bSHongtao Jia compatible = "fsl,T4240QDS"; 40dc37374bSHongtao Jia #address-cells = <2>; 41dc37374bSHongtao Jia #size-cells = <2>; 42dc37374bSHongtao Jia interrupt-parent = <&mpic>; 43dc37374bSHongtao Jia 44dc37374bSHongtao Jia ifc: localbus@ffe124000 { 45dc37374bSHongtao Jia reg = <0xf 0xfe124000 0 0x2000>; 46dc37374bSHongtao Jia ranges = <0 0 0xf 0xe8000000 0x08000000 47dc37374bSHongtao Jia 2 0 0xf 0xff800000 0x00010000 48dc37374bSHongtao Jia 3 0 0xf 0xffdf0000 0x00008000>; 49dc37374bSHongtao Jia 50dc37374bSHongtao Jia nor@0,0 { 51dc37374bSHongtao Jia #address-cells = <1>; 52dc37374bSHongtao Jia #size-cells = <1>; 53dc37374bSHongtao Jia compatible = "cfi-flash"; 54dc37374bSHongtao Jia reg = <0x0 0x0 0x8000000>; 55dc37374bSHongtao Jia 56dc37374bSHongtao Jia bank-width = <2>; 57dc37374bSHongtao Jia device-width = <1>; 58dc37374bSHongtao Jia }; 59dc37374bSHongtao Jia 60dc37374bSHongtao Jia nand@2,0 { 61dc37374bSHongtao Jia #address-cells = <1>; 62dc37374bSHongtao Jia #size-cells = <1>; 63dc37374bSHongtao Jia compatible = "fsl,ifc-nand"; 64dc37374bSHongtao Jia reg = <0x2 0x0 0x10000>; 65dc37374bSHongtao Jia 66dc37374bSHongtao Jia partition@0 { 67dc37374bSHongtao Jia /* This location must not be altered */ 68dc37374bSHongtao Jia /* 1MB for u-boot Bootloader Image */ 69dc37374bSHongtao Jia reg = <0x0 0x00100000>; 70dc37374bSHongtao Jia label = "NAND U-Boot Image"; 71dc37374bSHongtao Jia read-only; 72dc37374bSHongtao Jia }; 73dc37374bSHongtao Jia 74dc37374bSHongtao Jia partition@100000 { 75dc37374bSHongtao Jia /* 1MB for DTB Image */ 76dc37374bSHongtao Jia reg = <0x00100000 0x00100000>; 77dc37374bSHongtao Jia label = "NAND DTB Image"; 78dc37374bSHongtao Jia }; 79dc37374bSHongtao Jia 80dc37374bSHongtao Jia partition@200000 { 81dc37374bSHongtao Jia /* 10MB for Linux Kernel Image */ 82dc37374bSHongtao Jia reg = <0x00200000 0x00A00000>; 83dc37374bSHongtao Jia label = "NAND Linux Kernel Image"; 84dc37374bSHongtao Jia }; 85dc37374bSHongtao Jia 86dc37374bSHongtao Jia partition@C00000 { 87dc37374bSHongtao Jia /* 500MB for Root file System Image */ 88dc37374bSHongtao Jia reg = <0x00c00000 0x1F400000>; 89dc37374bSHongtao Jia label = "NAND RFS Image"; 90dc37374bSHongtao Jia }; 91dc37374bSHongtao Jia }; 92dc37374bSHongtao Jia 93dc37374bSHongtao Jia board-control@3,0 { 94dc37374bSHongtao Jia compatible = "fsl,t4240qds-fpga", "fsl,fpga-qixis"; 95dc37374bSHongtao Jia reg = <3 0 0x300>; 96dc37374bSHongtao Jia }; 97dc37374bSHongtao Jia }; 98dc37374bSHongtao Jia 99dc37374bSHongtao Jia memory { 100dc37374bSHongtao Jia device_type = "memory"; 101dc37374bSHongtao Jia }; 102dc37374bSHongtao Jia 103dc37374bSHongtao Jia reserved-memory { 104dc37374bSHongtao Jia #address-cells = <2>; 105dc37374bSHongtao Jia #size-cells = <2>; 106dc37374bSHongtao Jia ranges; 107dc37374bSHongtao Jia 108dc37374bSHongtao Jia bman_fbpr: bman-fbpr { 109dc37374bSHongtao Jia size = <0 0x1000000>; 110dc37374bSHongtao Jia alignment = <0 0x1000000>; 111dc37374bSHongtao Jia }; 112dc37374bSHongtao Jia qman_fqd: qman-fqd { 113dc37374bSHongtao Jia size = <0 0x400000>; 114dc37374bSHongtao Jia alignment = <0 0x400000>; 115dc37374bSHongtao Jia }; 116dc37374bSHongtao Jia qman_pfdr: qman-pfdr { 117dc37374bSHongtao Jia size = <0 0x2000000>; 118dc37374bSHongtao Jia alignment = <0 0x2000000>; 119dc37374bSHongtao Jia }; 120dc37374bSHongtao Jia }; 121dc37374bSHongtao Jia 122dc37374bSHongtao Jia dcsr: dcsr@f00000000 { 123dc37374bSHongtao Jia ranges = <0x00000000 0xf 0x00000000 0x01072000>; 124dc37374bSHongtao Jia }; 125dc37374bSHongtao Jia 126dc37374bSHongtao Jia bportals: bman-portals@ff4000000 { 127dc37374bSHongtao Jia ranges = <0x0 0xf 0xf4000000 0x2000000>; 128dc37374bSHongtao Jia }; 129dc37374bSHongtao Jia 130dc37374bSHongtao Jia qportals: qman-portals@ff6000000 { 131dc37374bSHongtao Jia ranges = <0x0 0xf 0xf6000000 0x2000000>; 132dc37374bSHongtao Jia }; 133dc37374bSHongtao Jia 134dc37374bSHongtao Jia soc: soc@ffe000000 { 135dc37374bSHongtao Jia ranges = <0x00000000 0xf 0xfe000000 0x1000000>; 136dc37374bSHongtao Jia reg = <0xf 0xfe000000 0 0x00001000>; 137dc37374bSHongtao Jia spi@110000 { 138dc37374bSHongtao Jia flash@0 { 139dc37374bSHongtao Jia #address-cells = <1>; 140dc37374bSHongtao Jia #size-cells = <1>; 141dc37374bSHongtao Jia compatible = "sst,sst25wf040"; 142dc37374bSHongtao Jia reg = <0>; 143dc37374bSHongtao Jia spi-max-frequency = <40000000>; /* input clock */ 144dc37374bSHongtao Jia }; 145dc37374bSHongtao Jia }; 146dc37374bSHongtao Jia 147dc37374bSHongtao Jia i2c@118000 { 148dc37374bSHongtao Jia mux@77 { 149dc37374bSHongtao Jia compatible = "nxp,pca9547"; 150dc37374bSHongtao Jia reg = <0x77>; 151dc37374bSHongtao Jia #address-cells = <1>; 152dc37374bSHongtao Jia #size-cells = <0>; 153dc37374bSHongtao Jia 154dc37374bSHongtao Jia i2c@0 { 155dc37374bSHongtao Jia #address-cells = <1>; 156dc37374bSHongtao Jia #size-cells = <0>; 157dc37374bSHongtao Jia reg = <0>; 158dc37374bSHongtao Jia 159dc37374bSHongtao Jia eeprom@51 { 160dc37374bSHongtao Jia compatible = "at24,24c256"; 161dc37374bSHongtao Jia reg = <0x51>; 162dc37374bSHongtao Jia }; 163dc37374bSHongtao Jia eeprom@52 { 164dc37374bSHongtao Jia compatible = "at24,24c256"; 165dc37374bSHongtao Jia reg = <0x52>; 166dc37374bSHongtao Jia }; 167dc37374bSHongtao Jia eeprom@53 { 168dc37374bSHongtao Jia compatible = "at24,24c256"; 169dc37374bSHongtao Jia reg = <0x53>; 170dc37374bSHongtao Jia }; 171dc37374bSHongtao Jia eeprom@54 { 172dc37374bSHongtao Jia compatible = "at24,24c256"; 173dc37374bSHongtao Jia reg = <0x54>; 174dc37374bSHongtao Jia }; 175dc37374bSHongtao Jia eeprom@55 { 176dc37374bSHongtao Jia compatible = "at24,24c256"; 177dc37374bSHongtao Jia reg = <0x55>; 178dc37374bSHongtao Jia }; 179dc37374bSHongtao Jia eeprom@56 { 180dc37374bSHongtao Jia compatible = "at24,24c256"; 181dc37374bSHongtao Jia reg = <0x56>; 182dc37374bSHongtao Jia }; 183dc37374bSHongtao Jia rtc@68 { 184dc37374bSHongtao Jia compatible = "dallas,ds3232"; 185dc37374bSHongtao Jia reg = <0x68>; 186dc37374bSHongtao Jia interrupts = <0x1 0x1 0 0>; 187dc37374bSHongtao Jia }; 188dc37374bSHongtao Jia }; 189dc37374bSHongtao Jia 190dc37374bSHongtao Jia i2c@2 { 191dc37374bSHongtao Jia #address-cells = <1>; 192dc37374bSHongtao Jia #size-cells = <0>; 193dc37374bSHongtao Jia reg = <0x2>; 194dc37374bSHongtao Jia 195dc37374bSHongtao Jia ina220@40 { 196dc37374bSHongtao Jia compatible = "ti,ina220"; 197dc37374bSHongtao Jia reg = <0x40>; 198dc37374bSHongtao Jia shunt-resistor = <1000>; 199dc37374bSHongtao Jia }; 200dc37374bSHongtao Jia 201dc37374bSHongtao Jia ina220@41 { 202dc37374bSHongtao Jia compatible = "ti,ina220"; 203dc37374bSHongtao Jia reg = <0x41>; 204dc37374bSHongtao Jia shunt-resistor = <1000>; 205dc37374bSHongtao Jia }; 206dc37374bSHongtao Jia 207dc37374bSHongtao Jia ina220@44 { 208dc37374bSHongtao Jia compatible = "ti,ina220"; 209dc37374bSHongtao Jia reg = <0x44>; 210dc37374bSHongtao Jia shunt-resistor = <1000>; 211dc37374bSHongtao Jia }; 212dc37374bSHongtao Jia 213dc37374bSHongtao Jia ina220@45 { 214dc37374bSHongtao Jia compatible = "ti,ina220"; 215dc37374bSHongtao Jia reg = <0x45>; 216dc37374bSHongtao Jia shunt-resistor = <1000>; 217dc37374bSHongtao Jia }; 218dc37374bSHongtao Jia 219dc37374bSHongtao Jia ina220@46 { 220dc37374bSHongtao Jia compatible = "ti,ina220"; 221dc37374bSHongtao Jia reg = <0x46>; 222dc37374bSHongtao Jia shunt-resistor = <1000>; 223dc37374bSHongtao Jia }; 224dc37374bSHongtao Jia 225dc37374bSHongtao Jia ina220@47 { 226dc37374bSHongtao Jia compatible = "ti,ina220"; 227dc37374bSHongtao Jia reg = <0x47>; 228dc37374bSHongtao Jia shunt-resistor = <1000>; 229dc37374bSHongtao Jia }; 230dc37374bSHongtao Jia }; 231dc37374bSHongtao Jia }; 232dc37374bSHongtao Jia }; 233dc37374bSHongtao Jia 234dc37374bSHongtao Jia sdhc@114000 { 235dc37374bSHongtao Jia voltage-ranges = <1800 1800 3300 3300>; 236dc37374bSHongtao Jia }; 237dc37374bSHongtao Jia }; 238dc37374bSHongtao Jia 239dc37374bSHongtao Jia pci0: pcie@ffe240000 { 240dc37374bSHongtao Jia reg = <0xf 0xfe240000 0 0x10000>; 241dc37374bSHongtao Jia ranges = <0x02000000 0 0xe0000000 0xc 0x00000000 0x0 0x20000000 242dc37374bSHongtao Jia 0x01000000 0 0x00000000 0xf 0xf8000000 0x0 0x00010000>; 243dc37374bSHongtao Jia pcie@0 { 244dc37374bSHongtao Jia ranges = <0x02000000 0 0xe0000000 245dc37374bSHongtao Jia 0x02000000 0 0xe0000000 246dc37374bSHongtao Jia 0 0x20000000 247dc37374bSHongtao Jia 248dc37374bSHongtao Jia 0x01000000 0 0x00000000 249dc37374bSHongtao Jia 0x01000000 0 0x00000000 250dc37374bSHongtao Jia 0 0x00010000>; 251dc37374bSHongtao Jia }; 252dc37374bSHongtao Jia }; 253dc37374bSHongtao Jia 254dc37374bSHongtao Jia pci1: pcie@ffe250000 { 255dc37374bSHongtao Jia reg = <0xf 0xfe250000 0 0x10000>; 256dc37374bSHongtao Jia ranges = <0x02000000 0x0 0xe0000000 0xc 0x20000000 0x0 0x20000000 257dc37374bSHongtao Jia 0x01000000 0x0 0x00000000 0xf 0xf8010000 0x0 0x00010000>; 258dc37374bSHongtao Jia pcie@0 { 259dc37374bSHongtao Jia ranges = <0x02000000 0 0xe0000000 260dc37374bSHongtao Jia 0x02000000 0 0xe0000000 261dc37374bSHongtao Jia 0 0x20000000 262dc37374bSHongtao Jia 263dc37374bSHongtao Jia 0x01000000 0 0x00000000 264dc37374bSHongtao Jia 0x01000000 0 0x00000000 265dc37374bSHongtao Jia 0 0x00010000>; 266dc37374bSHongtao Jia }; 267dc37374bSHongtao Jia }; 268dc37374bSHongtao Jia 269dc37374bSHongtao Jia pci2: pcie@ffe260000 { 270dc37374bSHongtao Jia reg = <0xf 0xfe260000 0 0x1000>; 271dc37374bSHongtao Jia ranges = <0x02000000 0 0xe0000000 0xc 0x40000000 0 0x20000000 272dc37374bSHongtao Jia 0x01000000 0 0x00000000 0xf 0xf8020000 0 0x00010000>; 273dc37374bSHongtao Jia pcie@0 { 274dc37374bSHongtao Jia ranges = <0x02000000 0 0xe0000000 275dc37374bSHongtao Jia 0x02000000 0 0xe0000000 276dc37374bSHongtao Jia 0 0x20000000 277dc37374bSHongtao Jia 278dc37374bSHongtao Jia 0x01000000 0 0x00000000 279dc37374bSHongtao Jia 0x01000000 0 0x00000000 280dc37374bSHongtao Jia 0 0x00010000>; 281dc37374bSHongtao Jia }; 282dc37374bSHongtao Jia }; 283dc37374bSHongtao Jia 284dc37374bSHongtao Jia pci3: pcie@ffe270000 { 285dc37374bSHongtao Jia reg = <0xf 0xfe270000 0 0x10000>; 286dc37374bSHongtao Jia ranges = <0x02000000 0 0xe0000000 0xc 0x60000000 0 0x20000000 287dc37374bSHongtao Jia 0x01000000 0 0x00000000 0xf 0xf8030000 0 0x00010000>; 288dc37374bSHongtao Jia pcie@0 { 289dc37374bSHongtao Jia ranges = <0x02000000 0 0xe0000000 290dc37374bSHongtao Jia 0x02000000 0 0xe0000000 291dc37374bSHongtao Jia 0 0x20000000 292dc37374bSHongtao Jia 293dc37374bSHongtao Jia 0x01000000 0 0x00000000 294dc37374bSHongtao Jia 0x01000000 0 0x00000000 295dc37374bSHongtao Jia 0 0x00010000>; 296dc37374bSHongtao Jia }; 297dc37374bSHongtao Jia }; 298dc37374bSHongtao Jia rio: rapidio@ffe0c0000 { 299dc37374bSHongtao Jia reg = <0xf 0xfe0c0000 0 0x11000>; 300dc37374bSHongtao Jia 301dc37374bSHongtao Jia port1 { 302dc37374bSHongtao Jia ranges = <0 0 0xc 0x20000000 0 0x10000000>; 303dc37374bSHongtao Jia }; 304dc37374bSHongtao Jia port2 { 305dc37374bSHongtao Jia ranges = <0 0 0xc 0x30000000 0 0x10000000>; 306dc37374bSHongtao Jia }; 307dc37374bSHongtao Jia }; 308dc37374bSHongtao Jia}; 309dc37374bSHongtao Jia 310dc37374bSHongtao Jia/include/ "t4240si-post.dtsi" 311