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