1*c66ec88fSEmmanuel Vadot/* 2*c66ec88fSEmmanuel Vadot * T1040D4RDB/T1042D4RDB Device Tree Source 3*c66ec88fSEmmanuel Vadot * 4*c66ec88fSEmmanuel Vadot * Copyright 2015 Freescale Semiconductor Inc. 5*c66ec88fSEmmanuel Vadot * 6*c66ec88fSEmmanuel Vadot * Redistribution and use in source and binary forms, with or without 7*c66ec88fSEmmanuel Vadot * modification, are permitted provided that the following conditions are met: 8*c66ec88fSEmmanuel Vadot * * Redistributions of source code must retain the above copyright 9*c66ec88fSEmmanuel Vadot * notice, this list of conditions and the following disclaimer. 10*c66ec88fSEmmanuel Vadot * * Redistributions in binary form must reproduce the above copyright 11*c66ec88fSEmmanuel Vadot * notice, this list of conditions and the following disclaimer in the 12*c66ec88fSEmmanuel Vadot * documentation and/or other materials provided with the distribution. 13*c66ec88fSEmmanuel Vadot * * Neither the name of Freescale Semiconductor nor the 14*c66ec88fSEmmanuel Vadot * names of its contributors may be used to endorse or promote products 15*c66ec88fSEmmanuel Vadot * derived from this software without specific prior written permission. 16*c66ec88fSEmmanuel Vadot * 17*c66ec88fSEmmanuel Vadot * 18*c66ec88fSEmmanuel Vadot * ALTERNATIVELY, this software may be distributed under the terms of the 19*c66ec88fSEmmanuel Vadot * GNU General Public License ("GPL") as published by the Free Software 20*c66ec88fSEmmanuel Vadot * Foundation, either version 2 of that License or (at your option) any 21*c66ec88fSEmmanuel Vadot * later version. 22*c66ec88fSEmmanuel Vadot * 23*c66ec88fSEmmanuel Vadot * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor "AS IS" AND ANY 24*c66ec88fSEmmanuel Vadot * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 25*c66ec88fSEmmanuel Vadot * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 26*c66ec88fSEmmanuel Vadot * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY 27*c66ec88fSEmmanuel Vadot * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 28*c66ec88fSEmmanuel Vadot * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 29*c66ec88fSEmmanuel Vadot * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 30*c66ec88fSEmmanuel Vadot * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 31*c66ec88fSEmmanuel Vadot * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 32*c66ec88fSEmmanuel Vadot * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 33*c66ec88fSEmmanuel Vadot */ 34*c66ec88fSEmmanuel Vadot 35*c66ec88fSEmmanuel Vadot/ { 36*c66ec88fSEmmanuel Vadot reserved-memory { 37*c66ec88fSEmmanuel Vadot #address-cells = <2>; 38*c66ec88fSEmmanuel Vadot #size-cells = <2>; 39*c66ec88fSEmmanuel Vadot ranges; 40*c66ec88fSEmmanuel Vadot 41*c66ec88fSEmmanuel Vadot bman_fbpr: bman-fbpr { 42*c66ec88fSEmmanuel Vadot size = <0 0x1000000>; 43*c66ec88fSEmmanuel Vadot alignment = <0 0x1000000>; 44*c66ec88fSEmmanuel Vadot }; 45*c66ec88fSEmmanuel Vadot qman_fqd: qman-fqd { 46*c66ec88fSEmmanuel Vadot size = <0 0x400000>; 47*c66ec88fSEmmanuel Vadot alignment = <0 0x400000>; 48*c66ec88fSEmmanuel Vadot }; 49*c66ec88fSEmmanuel Vadot qman_pfdr: qman-pfdr { 50*c66ec88fSEmmanuel Vadot size = <0 0x2000000>; 51*c66ec88fSEmmanuel Vadot alignment = <0 0x2000000>; 52*c66ec88fSEmmanuel Vadot }; 53*c66ec88fSEmmanuel Vadot }; 54*c66ec88fSEmmanuel Vadot 55*c66ec88fSEmmanuel Vadot ifc: localbus@ffe124000 { 56*c66ec88fSEmmanuel Vadot reg = <0xf 0xfe124000 0 0x2000>; 57*c66ec88fSEmmanuel Vadot ranges = <0 0 0xf 0xe8000000 0x08000000 58*c66ec88fSEmmanuel Vadot 2 0 0xf 0xff800000 0x00010000 59*c66ec88fSEmmanuel Vadot 3 0 0xf 0xffdf0000 0x00008000>; 60*c66ec88fSEmmanuel Vadot 61*c66ec88fSEmmanuel Vadot nor@0,0 { 62*c66ec88fSEmmanuel Vadot #address-cells = <1>; 63*c66ec88fSEmmanuel Vadot #size-cells = <1>; 64*c66ec88fSEmmanuel Vadot compatible = "cfi-flash"; 65*c66ec88fSEmmanuel Vadot reg = <0x0 0x0 0x8000000>; 66*c66ec88fSEmmanuel Vadot bank-width = <2>; 67*c66ec88fSEmmanuel Vadot device-width = <1>; 68*c66ec88fSEmmanuel Vadot }; 69*c66ec88fSEmmanuel Vadot 70*c66ec88fSEmmanuel Vadot nand@2,0 { 71*c66ec88fSEmmanuel Vadot #address-cells = <1>; 72*c66ec88fSEmmanuel Vadot #size-cells = <1>; 73*c66ec88fSEmmanuel Vadot compatible = "fsl,ifc-nand"; 74*c66ec88fSEmmanuel Vadot reg = <0x2 0x0 0x10000>; 75*c66ec88fSEmmanuel Vadot }; 76*c66ec88fSEmmanuel Vadot 77*c66ec88fSEmmanuel Vadot cpld@3,0 { 78*c66ec88fSEmmanuel Vadot compatible = "fsl,t1040d4rdb-cpld"; 79*c66ec88fSEmmanuel Vadot reg = <3 0 0x300>; 80*c66ec88fSEmmanuel Vadot }; 81*c66ec88fSEmmanuel Vadot }; 82*c66ec88fSEmmanuel Vadot 83*c66ec88fSEmmanuel Vadot memory { 84*c66ec88fSEmmanuel Vadot device_type = "memory"; 85*c66ec88fSEmmanuel Vadot }; 86*c66ec88fSEmmanuel Vadot 87*c66ec88fSEmmanuel Vadot dcsr: dcsr@f00000000 { 88*c66ec88fSEmmanuel Vadot ranges = <0x00000000 0xf 0x00000000 0x01072000>; 89*c66ec88fSEmmanuel Vadot }; 90*c66ec88fSEmmanuel Vadot 91*c66ec88fSEmmanuel Vadot bportals: bman-portals@ff4000000 { 92*c66ec88fSEmmanuel Vadot ranges = <0x0 0xf 0xf4000000 0x2000000>; 93*c66ec88fSEmmanuel Vadot }; 94*c66ec88fSEmmanuel Vadot 95*c66ec88fSEmmanuel Vadot qportals: qman-portals@ff6000000 { 96*c66ec88fSEmmanuel Vadot ranges = <0x0 0xf 0xf6000000 0x2000000>; 97*c66ec88fSEmmanuel Vadot }; 98*c66ec88fSEmmanuel Vadot 99*c66ec88fSEmmanuel Vadot soc: soc@ffe000000 { 100*c66ec88fSEmmanuel Vadot ranges = <0x00000000 0xf 0xfe000000 0x1000000>; 101*c66ec88fSEmmanuel Vadot reg = <0xf 0xfe000000 0 0x00001000>; 102*c66ec88fSEmmanuel Vadot 103*c66ec88fSEmmanuel Vadot spi@110000 { 104*c66ec88fSEmmanuel Vadot flash@0 { 105*c66ec88fSEmmanuel Vadot #address-cells = <1>; 106*c66ec88fSEmmanuel Vadot #size-cells = <1>; 107*c66ec88fSEmmanuel Vadot compatible = "micron,n25q512ax3", "jedec,spi-nor"; 108*c66ec88fSEmmanuel Vadot reg = <0>; 109*c66ec88fSEmmanuel Vadot /* input clock */ 110*c66ec88fSEmmanuel Vadot spi-max-frequency = <10000000>; 111*c66ec88fSEmmanuel Vadot }; 112*c66ec88fSEmmanuel Vadot slic@1 { 113*c66ec88fSEmmanuel Vadot compatible = "maxim,ds26522"; 114*c66ec88fSEmmanuel Vadot reg = <1>; 115*c66ec88fSEmmanuel Vadot spi-max-frequency = <2000000>; /* input clock */ 116*c66ec88fSEmmanuel Vadot }; 117*c66ec88fSEmmanuel Vadot slic@2 { 118*c66ec88fSEmmanuel Vadot compatible = "maxim,ds26522"; 119*c66ec88fSEmmanuel Vadot reg = <2>; 120*c66ec88fSEmmanuel Vadot spi-max-frequency = <2000000>; /* input clock */ 121*c66ec88fSEmmanuel Vadot }; 122*c66ec88fSEmmanuel Vadot }; 123*c66ec88fSEmmanuel Vadot i2c@118000 { 124*c66ec88fSEmmanuel Vadot hwmon@4c { 125*c66ec88fSEmmanuel Vadot compatible = "adi,adt7461"; 126*c66ec88fSEmmanuel Vadot reg = <0x4c>; 127*c66ec88fSEmmanuel Vadot }; 128*c66ec88fSEmmanuel Vadot 129*c66ec88fSEmmanuel Vadot rtc@68 { 130*c66ec88fSEmmanuel Vadot compatible = "dallas,ds1337"; 131*c66ec88fSEmmanuel Vadot reg = <0x68>; 132*c66ec88fSEmmanuel Vadot interrupts = <0x2 0x1 0 0>; 133*c66ec88fSEmmanuel Vadot }; 134*c66ec88fSEmmanuel Vadot }; 135*c66ec88fSEmmanuel Vadot 136*c66ec88fSEmmanuel Vadot i2c@118100 { 137*c66ec88fSEmmanuel Vadot mux@77 { 138*c66ec88fSEmmanuel Vadot /* 139*c66ec88fSEmmanuel Vadot * Child nodes of mux depend on which i2c 140*c66ec88fSEmmanuel Vadot * devices are connected via the mini PCI 141*c66ec88fSEmmanuel Vadot * connector slot1, the mini PCI connector 142*c66ec88fSEmmanuel Vadot * slot2, the HDMI connector, and the PEX 143*c66ec88fSEmmanuel Vadot * slot. Systems with such devices attached 144*c66ec88fSEmmanuel Vadot * should provide a wrapper .dts file that 145*c66ec88fSEmmanuel Vadot * includes this one, and adds those nodes 146*c66ec88fSEmmanuel Vadot */ 147*c66ec88fSEmmanuel Vadot compatible = "nxp,pca9546"; 148*c66ec88fSEmmanuel Vadot reg = <0x77>; 149*c66ec88fSEmmanuel Vadot #address-cells = <1>; 150*c66ec88fSEmmanuel Vadot #size-cells = <0>; 151*c66ec88fSEmmanuel Vadot }; 152*c66ec88fSEmmanuel Vadot }; 153*c66ec88fSEmmanuel Vadot 154*c66ec88fSEmmanuel Vadot }; 155*c66ec88fSEmmanuel Vadot 156*c66ec88fSEmmanuel Vadot pci0: pcie@ffe240000 { 157*c66ec88fSEmmanuel Vadot reg = <0xf 0xfe240000 0 0x10000>; 158*c66ec88fSEmmanuel Vadot ranges = <0x02000000 0 0xe0000000 0xc 0x0 0x0 0x10000000 159*c66ec88fSEmmanuel Vadot 0x01000000 0 0x0 0xf 0xf8000000 0x0 0x00010000>; 160*c66ec88fSEmmanuel Vadot pcie@0 { 161*c66ec88fSEmmanuel Vadot ranges = <0x02000000 0 0xe0000000 162*c66ec88fSEmmanuel Vadot 0x02000000 0 0xe0000000 163*c66ec88fSEmmanuel Vadot 0 0x10000000 164*c66ec88fSEmmanuel Vadot 165*c66ec88fSEmmanuel Vadot 0x01000000 0 0x00000000 166*c66ec88fSEmmanuel Vadot 0x01000000 0 0x00000000 167*c66ec88fSEmmanuel Vadot 0 0x00010000>; 168*c66ec88fSEmmanuel Vadot }; 169*c66ec88fSEmmanuel Vadot }; 170*c66ec88fSEmmanuel Vadot 171*c66ec88fSEmmanuel Vadot pci1: pcie@ffe250000 { 172*c66ec88fSEmmanuel Vadot reg = <0xf 0xfe250000 0 0x10000>; 173*c66ec88fSEmmanuel Vadot ranges = <0x02000000 0 0xe0000000 0xc 0x10000000 0 0x10000000 174*c66ec88fSEmmanuel Vadot 0x01000000 0 0 0xf 0xf8010000 0 0x00010000>; 175*c66ec88fSEmmanuel Vadot pcie@0 { 176*c66ec88fSEmmanuel Vadot ranges = <0x02000000 0 0xe0000000 177*c66ec88fSEmmanuel Vadot 0x02000000 0 0xe0000000 178*c66ec88fSEmmanuel Vadot 0 0x10000000 179*c66ec88fSEmmanuel Vadot 180*c66ec88fSEmmanuel Vadot 0x01000000 0 0x00000000 181*c66ec88fSEmmanuel Vadot 0x01000000 0 0x00000000 182*c66ec88fSEmmanuel Vadot 0 0x00010000>; 183*c66ec88fSEmmanuel Vadot }; 184*c66ec88fSEmmanuel Vadot }; 185*c66ec88fSEmmanuel Vadot 186*c66ec88fSEmmanuel Vadot pci2: pcie@ffe260000 { 187*c66ec88fSEmmanuel Vadot reg = <0xf 0xfe260000 0 0x10000>; 188*c66ec88fSEmmanuel Vadot ranges = <0x02000000 0 0xe0000000 0xc 0x20000000 0 0x10000000 189*c66ec88fSEmmanuel Vadot 0x01000000 0 0x00000000 0xf 0xf8020000 0 0x00010000>; 190*c66ec88fSEmmanuel Vadot pcie@0 { 191*c66ec88fSEmmanuel Vadot ranges = <0x02000000 0 0xe0000000 192*c66ec88fSEmmanuel Vadot 0x02000000 0 0xe0000000 193*c66ec88fSEmmanuel Vadot 0 0x10000000 194*c66ec88fSEmmanuel Vadot 195*c66ec88fSEmmanuel Vadot 0x01000000 0 0x00000000 196*c66ec88fSEmmanuel Vadot 0x01000000 0 0x00000000 197*c66ec88fSEmmanuel Vadot 0 0x00010000>; 198*c66ec88fSEmmanuel Vadot }; 199*c66ec88fSEmmanuel Vadot }; 200*c66ec88fSEmmanuel Vadot 201*c66ec88fSEmmanuel Vadot pci3: pcie@ffe270000 { 202*c66ec88fSEmmanuel Vadot reg = <0xf 0xfe270000 0 0x10000>; 203*c66ec88fSEmmanuel Vadot ranges = <0x02000000 0 0xe0000000 0xc 0x30000000 0 0x10000000 204*c66ec88fSEmmanuel Vadot 0x01000000 0 0x00000000 0xf 0xf8030000 0 0x00010000>; 205*c66ec88fSEmmanuel Vadot pcie@0 { 206*c66ec88fSEmmanuel Vadot ranges = <0x02000000 0 0xe0000000 207*c66ec88fSEmmanuel Vadot 0x02000000 0 0xe0000000 208*c66ec88fSEmmanuel Vadot 0 0x10000000 209*c66ec88fSEmmanuel Vadot 210*c66ec88fSEmmanuel Vadot 0x01000000 0 0x00000000 211*c66ec88fSEmmanuel Vadot 0x01000000 0 0x00000000 212*c66ec88fSEmmanuel Vadot 0 0x00010000>; 213*c66ec88fSEmmanuel Vadot }; 214*c66ec88fSEmmanuel Vadot }; 215*c66ec88fSEmmanuel Vadot 216*c66ec88fSEmmanuel Vadot qe: qe@ffe140000 { 217*c66ec88fSEmmanuel Vadot ranges = <0x0 0xf 0xfe140000 0x40000>; 218*c66ec88fSEmmanuel Vadot reg = <0xf 0xfe140000 0 0x480>; 219*c66ec88fSEmmanuel Vadot brg-frequency = <0>; 220*c66ec88fSEmmanuel Vadot bus-frequency = <0>; 221*c66ec88fSEmmanuel Vadot 222*c66ec88fSEmmanuel Vadot si1: si@700 { 223*c66ec88fSEmmanuel Vadot compatible = "fsl,t1040-qe-si"; 224*c66ec88fSEmmanuel Vadot reg = <0x700 0x80>; 225*c66ec88fSEmmanuel Vadot }; 226*c66ec88fSEmmanuel Vadot 227*c66ec88fSEmmanuel Vadot siram1: siram@1000 { 228*c66ec88fSEmmanuel Vadot compatible = "fsl,t1040-qe-siram"; 229*c66ec88fSEmmanuel Vadot reg = <0x1000 0x800>; 230*c66ec88fSEmmanuel Vadot }; 231*c66ec88fSEmmanuel Vadot 232*c66ec88fSEmmanuel Vadot ucc_hdlc: ucc@2000 { 233*c66ec88fSEmmanuel Vadot compatible = "fsl,ucc-hdlc"; 234*c66ec88fSEmmanuel Vadot rx-clock-name = "clk8"; 235*c66ec88fSEmmanuel Vadot tx-clock-name = "clk9"; 236*c66ec88fSEmmanuel Vadot fsl,rx-sync-clock = "rsync_pin"; 237*c66ec88fSEmmanuel Vadot fsl,tx-sync-clock = "tsync_pin"; 238*c66ec88fSEmmanuel Vadot fsl,tx-timeslot-mask = <0xfffffffe>; 239*c66ec88fSEmmanuel Vadot fsl,rx-timeslot-mask = <0xfffffffe>; 240*c66ec88fSEmmanuel Vadot fsl,tdm-framer-type = "e1"; 241*c66ec88fSEmmanuel Vadot fsl,tdm-id = <0>; 242*c66ec88fSEmmanuel Vadot fsl,siram-entry-id = <0>; 243*c66ec88fSEmmanuel Vadot fsl,tdm-interface; 244*c66ec88fSEmmanuel Vadot }; 245*c66ec88fSEmmanuel Vadot 246*c66ec88fSEmmanuel Vadot ucc_serial: ucc@2200 { 247*c66ec88fSEmmanuel Vadot compatible = "fsl,t1040-ucc-uart"; 248*c66ec88fSEmmanuel Vadot port-number = <0>; 249*c66ec88fSEmmanuel Vadot rx-clock-name = "brg2"; 250*c66ec88fSEmmanuel Vadot tx-clock-name = "brg2"; 251*c66ec88fSEmmanuel Vadot }; 252*c66ec88fSEmmanuel Vadot }; 253*c66ec88fSEmmanuel Vadot}; 254