13fce1c0bSMingkai Hu/* 2d3133765SMingkai Hu * P2041RDB Device Tree Source 33fce1c0bSMingkai Hu * 484e0f1c1SIgal Liberman * Copyright 2011 - 2015 Freescale Semiconductor Inc. 53fce1c0bSMingkai Hu * 63fce1c0bSMingkai Hu * Redistribution and use in source and binary forms, with or without 73fce1c0bSMingkai Hu * modification, are permitted provided that the following conditions are met: 83fce1c0bSMingkai Hu * * Redistributions of source code must retain the above copyright 93fce1c0bSMingkai Hu * notice, this list of conditions and the following disclaimer. 103fce1c0bSMingkai Hu * * Redistributions in binary form must reproduce the above copyright 113fce1c0bSMingkai Hu * notice, this list of conditions and the following disclaimer in the 123fce1c0bSMingkai Hu * documentation and/or other materials provided with the distribution. 133fce1c0bSMingkai Hu * * Neither the name of Freescale Semiconductor nor the 143fce1c0bSMingkai Hu * names of its contributors may be used to endorse or promote products 153fce1c0bSMingkai Hu * derived from this software without specific prior written permission. 163fce1c0bSMingkai Hu * 173fce1c0bSMingkai Hu * 183fce1c0bSMingkai Hu * ALTERNATIVELY, this software may be distributed under the terms of the 193fce1c0bSMingkai Hu * GNU General Public License ("GPL") as published by the Free Software 203fce1c0bSMingkai Hu * Foundation, either version 2 of that License or (at your option) any 213fce1c0bSMingkai Hu * later version. 223fce1c0bSMingkai Hu * 233fce1c0bSMingkai Hu * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY 243fce1c0bSMingkai Hu * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 253fce1c0bSMingkai Hu * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 263fce1c0bSMingkai Hu * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY 273fce1c0bSMingkai Hu * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 283fce1c0bSMingkai Hu * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 293fce1c0bSMingkai Hu * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 303fce1c0bSMingkai Hu * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 313fce1c0bSMingkai Hu * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 323fce1c0bSMingkai Hu * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 333fce1c0bSMingkai Hu */ 343fce1c0bSMingkai Hu 35dc37374bSHongtao Jia/include/ "p2041si-pre.dtsi" 363fce1c0bSMingkai Hu 373fce1c0bSMingkai Hu/ { 38d3133765SMingkai Hu model = "fsl,P2041RDB"; 39d3133765SMingkai Hu compatible = "fsl,P2041RDB"; 403fce1c0bSMingkai Hu #address-cells = <2>; 413fce1c0bSMingkai Hu #size-cells = <2>; 423fce1c0bSMingkai Hu interrupt-parent = <&mpic>; 433fce1c0bSMingkai Hu 4484e0f1c1SIgal Liberman aliases { 4584e0f1c1SIgal Liberman phy_rgmii_0 = &phy_rgmii_0; 4684e0f1c1SIgal Liberman phy_rgmii_1 = &phy_rgmii_1; 4784e0f1c1SIgal Liberman phy_sgmii_2 = &phy_sgmii_2; 4884e0f1c1SIgal Liberman phy_sgmii_3 = &phy_sgmii_3; 4984e0f1c1SIgal Liberman phy_sgmii_4 = &phy_sgmii_4; 5084e0f1c1SIgal Liberman phy_sgmii_1c = &phy_sgmii_1c; 5184e0f1c1SIgal Liberman phy_sgmii_1d = &phy_sgmii_1d; 5284e0f1c1SIgal Liberman phy_sgmii_1e = &phy_sgmii_1e; 5384e0f1c1SIgal Liberman phy_sgmii_1f = &phy_sgmii_1f; 5484e0f1c1SIgal Liberman phy_xgmii_2 = &phy_xgmii_2; 5584e0f1c1SIgal Liberman }; 5684e0f1c1SIgal Liberman 573fce1c0bSMingkai Hu memory { 583fce1c0bSMingkai Hu device_type = "memory"; 593fce1c0bSMingkai Hu }; 603fce1c0bSMingkai Hu 611e8ed06dSKumar Gala reserved-memory { 621e8ed06dSKumar Gala #address-cells = <2>; 631e8ed06dSKumar Gala #size-cells = <2>; 641e8ed06dSKumar Gala ranges; 651e8ed06dSKumar Gala 661e8ed06dSKumar Gala bman_fbpr: bman-fbpr { 671e8ed06dSKumar Gala size = <0 0x1000000>; 681e8ed06dSKumar Gala alignment = <0 0x1000000>; 691e8ed06dSKumar Gala }; 707f6972a0SKumar Gala qman_fqd: qman-fqd { 717f6972a0SKumar Gala size = <0 0x400000>; 727f6972a0SKumar Gala alignment = <0 0x400000>; 737f6972a0SKumar Gala }; 747f6972a0SKumar Gala qman_pfdr: qman-pfdr { 757f6972a0SKumar Gala size = <0 0x2000000>; 767f6972a0SKumar Gala alignment = <0 0x2000000>; 777f6972a0SKumar Gala }; 781e8ed06dSKumar Gala }; 791e8ed06dSKumar Gala 80b9df0223SStephen George dcsr: dcsr@f00000000 { 81b9df0223SStephen George ranges = <0x00000000 0xf 0x00000000 0x01008000>; 82b9df0223SStephen George }; 83b9df0223SStephen George 841e8ed06dSKumar Gala bportals: bman-portals@ff4000000 { 851e8ed06dSKumar Gala ranges = <0x0 0xf 0xf4000000 0x200000>; 861e8ed06dSKumar Gala }; 871e8ed06dSKumar Gala 887f6972a0SKumar Gala qportals: qman-portals@ff4200000 { 897f6972a0SKumar Gala ranges = <0x0 0xf 0xf4200000 0x200000>; 907f6972a0SKumar Gala }; 917f6972a0SKumar Gala 923fce1c0bSMingkai Hu soc: soc@ffe000000 { 938b8673b8SKumar Gala ranges = <0x00000000 0xf 0xfe000000 0x1000000>; 948b8673b8SKumar Gala reg = <0xf 0xfe000000 0 0x00001000>; 953fce1c0bSMingkai Hu spi@110000 { 963fce1c0bSMingkai Hu flash@0 { 973fce1c0bSMingkai Hu #address-cells = <1>; 983fce1c0bSMingkai Hu #size-cells = <1>; 99fba4e9f9SHou Zhiqiang compatible = "spansion,s25sl12801", "jedec,spi-nor"; 1003fce1c0bSMingkai Hu reg = <0>; 1013fce1c0bSMingkai Hu spi-max-frequency = <40000000>; /* input clock */ 1023fce1c0bSMingkai Hu partition@u-boot { 1033fce1c0bSMingkai Hu label = "u-boot"; 1043fce1c0bSMingkai Hu reg = <0x00000000 0x00100000>; 1053fce1c0bSMingkai Hu read-only; 1063fce1c0bSMingkai Hu }; 1073fce1c0bSMingkai Hu partition@kernel { 1083fce1c0bSMingkai Hu label = "kernel"; 1093fce1c0bSMingkai Hu reg = <0x00100000 0x00500000>; 1103fce1c0bSMingkai Hu read-only; 1113fce1c0bSMingkai Hu }; 1123fce1c0bSMingkai Hu partition@dtb { 1133fce1c0bSMingkai Hu label = "dtb"; 1143fce1c0bSMingkai Hu reg = <0x00600000 0x00100000>; 1153fce1c0bSMingkai Hu read-only; 1163fce1c0bSMingkai Hu }; 1173fce1c0bSMingkai Hu partition@fs { 1183fce1c0bSMingkai Hu label = "file system"; 1193fce1c0bSMingkai Hu reg = <0x00700000 0x00900000>; 1203fce1c0bSMingkai Hu }; 1213fce1c0bSMingkai Hu }; 1223fce1c0bSMingkai Hu }; 1233fce1c0bSMingkai Hu 1243fce1c0bSMingkai Hu i2c@118000 { 1253fce1c0bSMingkai Hu lm75b@48 { 1263fce1c0bSMingkai Hu compatible = "nxp,lm75a"; 1273fce1c0bSMingkai Hu reg = <0x48>; 1283fce1c0bSMingkai Hu }; 1293fce1c0bSMingkai Hu eeprom@50 { 130*226b9391SJavier Martinez Canillas compatible = "atmel,24c256"; 1313fce1c0bSMingkai Hu reg = <0x50>; 1323fce1c0bSMingkai Hu }; 1333fce1c0bSMingkai Hu rtc@68 { 1343fce1c0bSMingkai Hu compatible = "pericom,pt7c4338"; 1353fce1c0bSMingkai Hu reg = <0x68>; 1363fce1c0bSMingkai Hu }; 13717ae4f0aSJia Hongtao adt7461@4c { 13817ae4f0aSJia Hongtao compatible = "adi,adt7461"; 13917ae4f0aSJia Hongtao reg = <0x4c>; 14017ae4f0aSJia Hongtao }; 1413fce1c0bSMingkai Hu }; 1423fce1c0bSMingkai Hu 1433fce1c0bSMingkai Hu i2c@118100 { 1443fce1c0bSMingkai Hu eeprom@50 { 145*226b9391SJavier Martinez Canillas compatible = "atmel,24c256"; 1463fce1c0bSMingkai Hu reg = <0x50>; 1473fce1c0bSMingkai Hu }; 1483fce1c0bSMingkai Hu }; 1493fce1c0bSMingkai Hu 1503fce1c0bSMingkai Hu usb1: usb@211000 { 1513fce1c0bSMingkai Hu dr_mode = "host"; 1523fce1c0bSMingkai Hu }; 15384e0f1c1SIgal Liberman 15484e0f1c1SIgal Liberman fman@400000 { 15584e0f1c1SIgal Liberman ethernet@e0000 { 15684e0f1c1SIgal Liberman phy-handle = <&phy_sgmii_2>; 15784e0f1c1SIgal Liberman phy-connection-type = "sgmii"; 15884e0f1c1SIgal Liberman }; 15984e0f1c1SIgal Liberman 16084e0f1c1SIgal Liberman mdio@e1120 { 16184e0f1c1SIgal Liberman phy_rgmii_0: ethernet-phy@0 { 16284e0f1c1SIgal Liberman reg = <0x0>; 16384e0f1c1SIgal Liberman }; 16484e0f1c1SIgal Liberman 16584e0f1c1SIgal Liberman phy_rgmii_1: ethernet-phy@1 { 16684e0f1c1SIgal Liberman reg = <0x1>; 16784e0f1c1SIgal Liberman }; 16884e0f1c1SIgal Liberman 16984e0f1c1SIgal Liberman phy_sgmii_2: ethernet-phy@2 { 17084e0f1c1SIgal Liberman reg = <0x2>; 17184e0f1c1SIgal Liberman }; 17284e0f1c1SIgal Liberman 17384e0f1c1SIgal Liberman phy_sgmii_3: ethernet-phy@3 { 17484e0f1c1SIgal Liberman reg = <0x3>; 17584e0f1c1SIgal Liberman }; 17684e0f1c1SIgal Liberman 17784e0f1c1SIgal Liberman phy_sgmii_4: ethernet-phy@4 { 17884e0f1c1SIgal Liberman reg = <0x4>; 17984e0f1c1SIgal Liberman }; 18084e0f1c1SIgal Liberman 18184e0f1c1SIgal Liberman phy_sgmii_1c: ethernet-phy@1c { 18284e0f1c1SIgal Liberman reg = <0x1c>; 18384e0f1c1SIgal Liberman }; 18484e0f1c1SIgal Liberman 18584e0f1c1SIgal Liberman phy_sgmii_1d: ethernet-phy@1d { 18684e0f1c1SIgal Liberman reg = <0x1d>; 18784e0f1c1SIgal Liberman }; 18884e0f1c1SIgal Liberman 18984e0f1c1SIgal Liberman phy_sgmii_1e: ethernet-phy@1e { 19084e0f1c1SIgal Liberman reg = <0x1e>; 19184e0f1c1SIgal Liberman }; 19284e0f1c1SIgal Liberman 19384e0f1c1SIgal Liberman phy_sgmii_1f: ethernet-phy@1f { 19484e0f1c1SIgal Liberman reg = <0x1f>; 19584e0f1c1SIgal Liberman }; 19684e0f1c1SIgal Liberman }; 19784e0f1c1SIgal Liberman 19884e0f1c1SIgal Liberman ethernet@e2000 { 19984e0f1c1SIgal Liberman phy-handle = <&phy_sgmii_3>; 20084e0f1c1SIgal Liberman phy-connection-type = "sgmii"; 20184e0f1c1SIgal Liberman }; 20284e0f1c1SIgal Liberman 20384e0f1c1SIgal Liberman ethernet@e4000 { 20484e0f1c1SIgal Liberman phy-handle = <&phy_sgmii_4>; 20584e0f1c1SIgal Liberman phy-connection-type = "sgmii"; 20684e0f1c1SIgal Liberman }; 20784e0f1c1SIgal Liberman 20884e0f1c1SIgal Liberman ethernet@e6000 { 20984e0f1c1SIgal Liberman phy-handle = <&phy_rgmii_1>; 21084e0f1c1SIgal Liberman phy-connection-type = "rgmii"; 21184e0f1c1SIgal Liberman }; 21284e0f1c1SIgal Liberman 21384e0f1c1SIgal Liberman ethernet@e8000 { 21484e0f1c1SIgal Liberman phy-handle = <&phy_rgmii_0>; 21584e0f1c1SIgal Liberman phy-connection-type = "rgmii"; 21684e0f1c1SIgal Liberman }; 21784e0f1c1SIgal Liberman 21884e0f1c1SIgal Liberman ethernet@f0000 { 21984e0f1c1SIgal Liberman phy-handle = <&phy_xgmii_2>; 22084e0f1c1SIgal Liberman phy-connection-type = "xgmii"; 22184e0f1c1SIgal Liberman }; 22284e0f1c1SIgal Liberman 22384e0f1c1SIgal Liberman mdio@f1000 { 22484e0f1c1SIgal Liberman phy_xgmii_2: ethernet-phy@0 { 22584e0f1c1SIgal Liberman compatible = "ethernet-phy-ieee802.3-c45"; 22684e0f1c1SIgal Liberman reg = <0x0>; 22784e0f1c1SIgal Liberman }; 22884e0f1c1SIgal Liberman }; 22984e0f1c1SIgal Liberman }; 2303fce1c0bSMingkai Hu }; 2313fce1c0bSMingkai Hu 23254986964SKumar Gala rio: rapidio@ffe0c0000 { 23354986964SKumar Gala reg = <0xf 0xfe0c0000 0 0x11000>; 23454986964SKumar Gala 23554986964SKumar Gala port1 { 23654986964SKumar Gala ranges = <0 0 0xc 0x20000000 0 0x10000000>; 23754986964SKumar Gala }; 23854986964SKumar Gala port2 { 23954986964SKumar Gala ranges = <0 0 0xc 0x30000000 0 0x10000000>; 24054986964SKumar Gala }; 24154986964SKumar Gala }; 24254986964SKumar Gala 2438b8673b8SKumar Gala lbc: localbus@ffe124000 { 2443fce1c0bSMingkai Hu reg = <0xf 0xfe124000 0 0x1000>; 245aeccf898SShaohui Xie ranges = <0 0 0xf 0xe8000000 0x08000000 246aeccf898SShaohui Xie 1 0 0xf 0xffa00000 0x00040000>; 2473fce1c0bSMingkai Hu 2483fce1c0bSMingkai Hu flash@0,0 { 2493fce1c0bSMingkai Hu compatible = "cfi-flash"; 2503fce1c0bSMingkai Hu reg = <0 0 0x08000000>; 2513fce1c0bSMingkai Hu bank-width = <2>; 2523fce1c0bSMingkai Hu device-width = <2>; 2533fce1c0bSMingkai Hu }; 254aeccf898SShaohui Xie 255aeccf898SShaohui Xie nand@1,0 { 256aeccf898SShaohui Xie #address-cells = <1>; 257aeccf898SShaohui Xie #size-cells = <1>; 258aeccf898SShaohui Xie compatible = "fsl,elbc-fcm-nand"; 259aeccf898SShaohui Xie reg = <0x1 0x0 0x40000>; 260aeccf898SShaohui Xie 261aeccf898SShaohui Xie partition@0 { 262aeccf898SShaohui Xie label = "NAND U-Boot Image"; 263aeccf898SShaohui Xie reg = <0x0 0x02000000>; 264aeccf898SShaohui Xie read-only; 265aeccf898SShaohui Xie }; 266aeccf898SShaohui Xie 267aeccf898SShaohui Xie partition@2000000 { 268aeccf898SShaohui Xie label = "NAND Root File System"; 269aeccf898SShaohui Xie reg = <0x02000000 0x10000000>; 270aeccf898SShaohui Xie }; 271aeccf898SShaohui Xie 272aeccf898SShaohui Xie partition@12000000 { 273aeccf898SShaohui Xie label = "NAND Compressed RFS Image"; 274aeccf898SShaohui Xie reg = <0x12000000 0x08000000>; 275aeccf898SShaohui Xie }; 276aeccf898SShaohui Xie 277aeccf898SShaohui Xie partition@1a000000 { 278aeccf898SShaohui Xie label = "NAND Linux Kernel Image"; 279aeccf898SShaohui Xie reg = <0x1a000000 0x04000000>; 280aeccf898SShaohui Xie }; 281aeccf898SShaohui Xie 282aeccf898SShaohui Xie partition@1e000000 { 283aeccf898SShaohui Xie label = "NAND DTB Image"; 284aeccf898SShaohui Xie reg = <0x1e000000 0x01000000>; 285aeccf898SShaohui Xie }; 286aeccf898SShaohui Xie 287aeccf898SShaohui Xie partition@1f000000 { 288aeccf898SShaohui Xie label = "NAND Writable User area"; 289aeccf898SShaohui Xie reg = <0x1f000000 0x01000000>; 290aeccf898SShaohui Xie }; 291aeccf898SShaohui Xie }; 2923fce1c0bSMingkai Hu }; 2933fce1c0bSMingkai Hu 2943fce1c0bSMingkai Hu pci0: pcie@ffe200000 { 2953fce1c0bSMingkai Hu reg = <0xf 0xfe200000 0 0x1000>; 2963fce1c0bSMingkai Hu ranges = <0x02000000 0 0xe0000000 0xc 0x00000000 0x0 0x20000000 2973fce1c0bSMingkai Hu 0x01000000 0 0x00000000 0xf 0xf8000000 0x0 0x00010000>; 2983fce1c0bSMingkai Hu pcie@0 { 2993fce1c0bSMingkai Hu ranges = <0x02000000 0 0xe0000000 3003fce1c0bSMingkai Hu 0x02000000 0 0xe0000000 3013fce1c0bSMingkai Hu 0 0x20000000 3023fce1c0bSMingkai Hu 3033fce1c0bSMingkai Hu 0x01000000 0 0x00000000 3043fce1c0bSMingkai Hu 0x01000000 0 0x00000000 3053fce1c0bSMingkai Hu 0 0x00010000>; 3063fce1c0bSMingkai Hu }; 3073fce1c0bSMingkai Hu }; 3083fce1c0bSMingkai Hu 3093fce1c0bSMingkai Hu pci1: pcie@ffe201000 { 3103fce1c0bSMingkai Hu reg = <0xf 0xfe201000 0 0x1000>; 3113fce1c0bSMingkai Hu ranges = <0x02000000 0x0 0xe0000000 0xc 0x20000000 0x0 0x20000000 3123fce1c0bSMingkai Hu 0x01000000 0x0 0x00000000 0xf 0xf8010000 0x0 0x00010000>; 3133fce1c0bSMingkai Hu pcie@0 { 3143fce1c0bSMingkai Hu ranges = <0x02000000 0 0xe0000000 3153fce1c0bSMingkai Hu 0x02000000 0 0xe0000000 3163fce1c0bSMingkai Hu 0 0x20000000 3173fce1c0bSMingkai Hu 3183fce1c0bSMingkai Hu 0x01000000 0 0x00000000 3193fce1c0bSMingkai Hu 0x01000000 0 0x00000000 3203fce1c0bSMingkai Hu 0 0x00010000>; 3213fce1c0bSMingkai Hu }; 3223fce1c0bSMingkai Hu }; 3233fce1c0bSMingkai Hu 3243fce1c0bSMingkai Hu pci2: pcie@ffe202000 { 3253fce1c0bSMingkai Hu reg = <0xf 0xfe202000 0 0x1000>; 3263fce1c0bSMingkai Hu ranges = <0x02000000 0 0xe0000000 0xc 0x40000000 0 0x20000000 3273fce1c0bSMingkai Hu 0x01000000 0 0x00000000 0xf 0xf8020000 0 0x00010000>; 3283fce1c0bSMingkai Hu pcie@0 { 3293fce1c0bSMingkai Hu ranges = <0x02000000 0 0xe0000000 3303fce1c0bSMingkai Hu 0x02000000 0 0xe0000000 3313fce1c0bSMingkai Hu 0 0x20000000 3323fce1c0bSMingkai Hu 3333fce1c0bSMingkai Hu 0x01000000 0 0x00000000 3343fce1c0bSMingkai Hu 0x01000000 0 0x00000000 3353fce1c0bSMingkai Hu 0 0x00010000>; 3363fce1c0bSMingkai Hu }; 3373fce1c0bSMingkai Hu }; 3383fce1c0bSMingkai Hu}; 3398b8673b8SKumar Gala 340dc37374bSHongtao Jia/include/ "p2041si-post.dtsi" 341