1*2e36db14SWarner Losh/* 2*2e36db14SWarner Losh * P3041DS Device Tree Source 3*2e36db14SWarner Losh * 4*2e36db14SWarner Losh * Copyright 2010-2011 Freescale Semiconductor Inc. 5*2e36db14SWarner Losh * 6*2e36db14SWarner Losh * Redistribution and use in source and binary forms, with or without 7*2e36db14SWarner Losh * modification, are permitted provided that the following conditions are met: 8*2e36db14SWarner Losh * * Redistributions of source code must retain the above copyright 9*2e36db14SWarner Losh * notice, this list of conditions and the following disclaimer. 10*2e36db14SWarner Losh * * Redistributions in binary form must reproduce the above copyright 11*2e36db14SWarner Losh * notice, this list of conditions and the following disclaimer in the 12*2e36db14SWarner Losh * documentation and/or other materials provided with the distribution. 13*2e36db14SWarner Losh * * Neither the name of Freescale Semiconductor nor the 14*2e36db14SWarner Losh * names of its contributors may be used to endorse or promote products 15*2e36db14SWarner Losh * derived from this software without specific prior written permission. 16*2e36db14SWarner Losh * 17*2e36db14SWarner Losh * 18*2e36db14SWarner Losh * ALTERNATIVELY, this software may be distributed under the terms of the 19*2e36db14SWarner Losh * GNU General Public License ("GPL") as published by the Free Software 20*2e36db14SWarner Losh * Foundation, either version 2 of that License or (at your option) any 21*2e36db14SWarner Losh * later version. 22*2e36db14SWarner Losh * 23*2e36db14SWarner Losh * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY 24*2e36db14SWarner Losh * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 25*2e36db14SWarner Losh * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 26*2e36db14SWarner Losh * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY 27*2e36db14SWarner Losh * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 28*2e36db14SWarner Losh * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 29*2e36db14SWarner Losh * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 30*2e36db14SWarner Losh * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 31*2e36db14SWarner Losh * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 32*2e36db14SWarner Losh * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 33*2e36db14SWarner Losh */ 34*2e36db14SWarner Losh 35*2e36db14SWarner Losh/include/ "p3041si.dtsi" 36*2e36db14SWarner Losh 37*2e36db14SWarner Losh/ { 38*2e36db14SWarner Losh model = "fsl,P3041DS"; 39*2e36db14SWarner Losh compatible = "fsl,P3041DS"; 40*2e36db14SWarner Losh #address-cells = <2>; 41*2e36db14SWarner Losh #size-cells = <2>; 42*2e36db14SWarner Losh interrupt-parent = <&mpic>; 43*2e36db14SWarner Losh 44*2e36db14SWarner Losh aliases { 45*2e36db14SWarner Losh phy_rgmii_0 = &phy_rgmii_0; 46*2e36db14SWarner Losh phy_rgmii_1 = &phy_rgmii_1; 47*2e36db14SWarner Losh phy_sgmii_1c = &phy_sgmii_1c; 48*2e36db14SWarner Losh phy_sgmii_1d = &phy_sgmii_1d; 49*2e36db14SWarner Losh phy_sgmii_1e = &phy_sgmii_1e; 50*2e36db14SWarner Losh phy_sgmii_1f = &phy_sgmii_1f; 51*2e36db14SWarner Losh phy_xgmii_1 = &phy_xgmii_1; 52*2e36db14SWarner Losh phy_xgmii_2 = &phy_xgmii_2; 53*2e36db14SWarner Losh emi1_rgmii = &hydra_mdio_rgmii; 54*2e36db14SWarner Losh emi1_sgmii = &hydra_mdio_sgmii; 55*2e36db14SWarner Losh emi2_xgmii = &hydra_mdio_xgmii; 56*2e36db14SWarner Losh }; 57*2e36db14SWarner Losh 58*2e36db14SWarner Losh memory { 59*2e36db14SWarner Losh device_type = "memory"; 60*2e36db14SWarner Losh reg = <0x00000000 0x00000000 0x00000000 0x80000000>; 61*2e36db14SWarner Losh }; 62*2e36db14SWarner Losh 63*2e36db14SWarner Losh dcsr: dcsr@f00000000 { 64*2e36db14SWarner Losh ranges = <0x00000000 0xf 0x00000000 0x01008000>; 65*2e36db14SWarner Losh }; 66*2e36db14SWarner Losh 67*2e36db14SWarner Losh bman-portals@ff4000000 { 68*2e36db14SWarner Losh bman-portal@0 { 69*2e36db14SWarner Losh cpu-handle = <&cpu0>; 70*2e36db14SWarner Losh }; 71*2e36db14SWarner Losh bman-portal@4000 { 72*2e36db14SWarner Losh cpu-handle = <&cpu1>; 73*2e36db14SWarner Losh }; 74*2e36db14SWarner Losh bman-portal@8000 { 75*2e36db14SWarner Losh cpu-handle = <&cpu2>; 76*2e36db14SWarner Losh }; 77*2e36db14SWarner Losh bman-portal@c000 { 78*2e36db14SWarner Losh cpu-handle = <&cpu3>; 79*2e36db14SWarner Losh }; 80*2e36db14SWarner Losh bman-portal@10000 { 81*2e36db14SWarner Losh }; 82*2e36db14SWarner Losh bman-portal@14000 { 83*2e36db14SWarner Losh }; 84*2e36db14SWarner Losh bman-portal@18000 { 85*2e36db14SWarner Losh }; 86*2e36db14SWarner Losh bman-portal@1c000 { 87*2e36db14SWarner Losh }; 88*2e36db14SWarner Losh bman-portal@20000 { 89*2e36db14SWarner Losh }; 90*2e36db14SWarner Losh bman-portal@24000 { 91*2e36db14SWarner Losh }; 92*2e36db14SWarner Losh 93*2e36db14SWarner Losh buffer-pool@0 { 94*2e36db14SWarner Losh compatible = "fsl,p3041-bpool", "fsl,bpool"; 95*2e36db14SWarner Losh fsl,bpid = <0>; 96*2e36db14SWarner Losh fsl,bpool-cfg = <0 0x100 0 1 0 0x100>; 97*2e36db14SWarner Losh }; 98*2e36db14SWarner Losh }; 99*2e36db14SWarner Losh 100*2e36db14SWarner Losh qman-portals@ff4200000 { 101*2e36db14SWarner Losh qportal0: qman-portal@0 { 102*2e36db14SWarner Losh cpu-handle = <&cpu0>; 103*2e36db14SWarner Losh fsl,qman-pool-channels = <&qpool1 &qpool2 &qpool3 104*2e36db14SWarner Losh &qpool4 &qpool5 &qpool6 105*2e36db14SWarner Losh &qpool7 &qpool8 &qpool9 106*2e36db14SWarner Losh &qpool10 &qpool11 &qpool12 107*2e36db14SWarner Losh &qpool13 &qpool14 &qpool15>; 108*2e36db14SWarner Losh }; 109*2e36db14SWarner Losh 110*2e36db14SWarner Losh qportal1: qman-portal@4000 { 111*2e36db14SWarner Losh cpu-handle = <&cpu1>; 112*2e36db14SWarner Losh fsl,qman-pool-channels = <&qpool1 &qpool2 &qpool3 113*2e36db14SWarner Losh &qpool4 &qpool5 &qpool6 114*2e36db14SWarner Losh &qpool7 &qpool8 &qpool9 115*2e36db14SWarner Losh &qpool10 &qpool11 &qpool12 116*2e36db14SWarner Losh &qpool13 &qpool14 &qpool15>; 117*2e36db14SWarner Losh }; 118*2e36db14SWarner Losh 119*2e36db14SWarner Losh qportal2: qman-portal@8000 { 120*2e36db14SWarner Losh cpu-handle = <&cpu2>; 121*2e36db14SWarner Losh fsl,qman-pool-channels = <&qpool1 &qpool2 &qpool3 122*2e36db14SWarner Losh &qpool4 &qpool5 &qpool6 123*2e36db14SWarner Losh &qpool7 &qpool8 &qpool9 124*2e36db14SWarner Losh &qpool10 &qpool11 &qpool12 125*2e36db14SWarner Losh &qpool13 &qpool14 &qpool15>; 126*2e36db14SWarner Losh }; 127*2e36db14SWarner Losh 128*2e36db14SWarner Losh qportal3: qman-portal@c000 { 129*2e36db14SWarner Losh cpu-handle = <&cpu3>; 130*2e36db14SWarner Losh fsl,qman-pool-channels = <&qpool1 &qpool2 &qpool3 131*2e36db14SWarner Losh &qpool4 &qpool5 &qpool6 132*2e36db14SWarner Losh &qpool7 &qpool8 &qpool9 133*2e36db14SWarner Losh &qpool10 &qpool11 &qpool12 134*2e36db14SWarner Losh &qpool13 &qpool14 &qpool15>; 135*2e36db14SWarner Losh }; 136*2e36db14SWarner Losh 137*2e36db14SWarner Losh qportal4: qman-portal@10000 { 138*2e36db14SWarner Losh fsl,qman-pool-channels = <&qpool1 &qpool2 &qpool3 139*2e36db14SWarner Losh &qpool4 &qpool5 &qpool6 140*2e36db14SWarner Losh &qpool7 &qpool8 &qpool9 141*2e36db14SWarner Losh &qpool10 &qpool11 &qpool12 142*2e36db14SWarner Losh &qpool13 &qpool14 &qpool15>; 143*2e36db14SWarner Losh }; 144*2e36db14SWarner Losh 145*2e36db14SWarner Losh qportal5: qman-portal@14000 { 146*2e36db14SWarner Losh fsl,qman-pool-channels = <&qpool1 &qpool2 &qpool3 147*2e36db14SWarner Losh &qpool4 &qpool5 &qpool6 148*2e36db14SWarner Losh &qpool7 &qpool8 &qpool9 149*2e36db14SWarner Losh &qpool10 &qpool11 &qpool12 150*2e36db14SWarner Losh &qpool13 &qpool14 &qpool15>; 151*2e36db14SWarner Losh }; 152*2e36db14SWarner Losh 153*2e36db14SWarner Losh qportal6: qman-portal@18000 { 154*2e36db14SWarner Losh fsl,qman-pool-channels = <&qpool1 &qpool2 &qpool3 155*2e36db14SWarner Losh &qpool4 &qpool5 &qpool6 156*2e36db14SWarner Losh &qpool7 &qpool8 &qpool9 157*2e36db14SWarner Losh &qpool10 &qpool11 &qpool12 158*2e36db14SWarner Losh &qpool13 &qpool14 &qpool15>; 159*2e36db14SWarner Losh }; 160*2e36db14SWarner Losh 161*2e36db14SWarner Losh qportal7: qman-portal@1c000 { 162*2e36db14SWarner Losh fsl,qman-pool-channels = <&qpool1 &qpool2 &qpool3 163*2e36db14SWarner Losh &qpool4 &qpool5 &qpool6 164*2e36db14SWarner Losh &qpool7 &qpool8 &qpool9 165*2e36db14SWarner Losh &qpool10 &qpool11 &qpool12 166*2e36db14SWarner Losh &qpool13 &qpool14 &qpool15>; 167*2e36db14SWarner Losh }; 168*2e36db14SWarner Losh 169*2e36db14SWarner Losh qportal8: qman-portal@20000 { 170*2e36db14SWarner Losh fsl,qman-pool-channels = <&qpool1 &qpool2 &qpool3 171*2e36db14SWarner Losh &qpool4 &qpool5 &qpool6 172*2e36db14SWarner Losh &qpool7 &qpool8 &qpool9 173*2e36db14SWarner Losh &qpool10 &qpool11 &qpool12 174*2e36db14SWarner Losh &qpool13 &qpool14 &qpool15>; 175*2e36db14SWarner Losh }; 176*2e36db14SWarner Losh 177*2e36db14SWarner Losh qportal9: qman-portal@24000 { 178*2e36db14SWarner Losh fsl,qman-pool-channels = <&qpool1 &qpool2 &qpool3 179*2e36db14SWarner Losh &qpool4 &qpool5 &qpool6 180*2e36db14SWarner Losh &qpool7 &qpool8 &qpool9 181*2e36db14SWarner Losh &qpool10 &qpool11 &qpool12 182*2e36db14SWarner Losh &qpool13 &qpool14 &qpool15>; 183*2e36db14SWarner Losh }; 184*2e36db14SWarner Losh }; 185*2e36db14SWarner Losh 186*2e36db14SWarner Losh soc: soc@ffe000000 { 187*2e36db14SWarner Losh spi@110000 { 188*2e36db14SWarner Losh flash@0 { 189*2e36db14SWarner Losh #address-cells = <1>; 190*2e36db14SWarner Losh #size-cells = <1>; 191*2e36db14SWarner Losh compatible = "spansion,s25sl12801"; 192*2e36db14SWarner Losh reg = <0>; 193*2e36db14SWarner Losh spi-max-frequency = <35000000>; /* input clock */ 194*2e36db14SWarner Losh partition@u-boot { 195*2e36db14SWarner Losh label = "u-boot"; 196*2e36db14SWarner Losh reg = <0x00000000 0x00100000>; 197*2e36db14SWarner Losh read-only; 198*2e36db14SWarner Losh }; 199*2e36db14SWarner Losh partition@kernel { 200*2e36db14SWarner Losh label = "kernel"; 201*2e36db14SWarner Losh reg = <0x00100000 0x00500000>; 202*2e36db14SWarner Losh read-only; 203*2e36db14SWarner Losh }; 204*2e36db14SWarner Losh partition@dtb { 205*2e36db14SWarner Losh label = "dtb"; 206*2e36db14SWarner Losh reg = <0x00600000 0x00100000>; 207*2e36db14SWarner Losh read-only; 208*2e36db14SWarner Losh }; 209*2e36db14SWarner Losh partition@fs { 210*2e36db14SWarner Losh label = "file system"; 211*2e36db14SWarner Losh reg = <0x00700000 0x00900000>; 212*2e36db14SWarner Losh }; 213*2e36db14SWarner Losh }; 214*2e36db14SWarner Losh }; 215*2e36db14SWarner Losh 216*2e36db14SWarner Losh i2c@118100 { 217*2e36db14SWarner Losh eeprom@51 { 218*2e36db14SWarner Losh compatible = "at24,24c256"; 219*2e36db14SWarner Losh reg = <0x51>; 220*2e36db14SWarner Losh }; 221*2e36db14SWarner Losh eeprom@52 { 222*2e36db14SWarner Losh compatible = "at24,24c256"; 223*2e36db14SWarner Losh reg = <0x52>; 224*2e36db14SWarner Losh }; 225*2e36db14SWarner Losh }; 226*2e36db14SWarner Losh 227*2e36db14SWarner Losh i2c@119100 { 228*2e36db14SWarner Losh rtc@68 { 229*2e36db14SWarner Losh compatible = "dallas,ds3232"; 230*2e36db14SWarner Losh reg = <0x68>; 231*2e36db14SWarner Losh interrupts = <0x1 0x1 0 0>; 232*2e36db14SWarner Losh }; 233*2e36db14SWarner Losh }; 234*2e36db14SWarner Losh 235*2e36db14SWarner Losh pme: pme@316000 { 236*2e36db14SWarner Losh /* Commented out, use default allocation */ 237*2e36db14SWarner Losh /* fsl,pme-pdsr = <0x0 0x23000000 0x0 0x01000000>; */ 238*2e36db14SWarner Losh /* fsl,pme-sre = <0x0 0x24000000 0x0 0x00a00000>; */ 239*2e36db14SWarner Losh }; 240*2e36db14SWarner Losh 241*2e36db14SWarner Losh qman: qman@318000 { 242*2e36db14SWarner Losh /* Commented out, use default allocation */ 243*2e36db14SWarner Losh /* fsl,qman-fqd = <0x0 0x20000000 0x0 0x01000000>; */ 244*2e36db14SWarner Losh /* fsl,qman-pfdr = <0x0 0x21000000 0x0 0x01000000>; */ 245*2e36db14SWarner Losh }; 246*2e36db14SWarner Losh 247*2e36db14SWarner Losh bman: bman@31a000 { 248*2e36db14SWarner Losh /* Same as fsl,qman-*, use default allocation */ 249*2e36db14SWarner Losh /* fsl,bman-fbpr = <0x0 0x22000000 0x0 0x01000000>; */ 250*2e36db14SWarner Losh }; 251*2e36db14SWarner Losh 252*2e36db14SWarner Losh fman0: fman@400000 { 253*2e36db14SWarner Losh enet0: ethernet@e0000 { 254*2e36db14SWarner Losh tbi-handle = <&tbi0>; 255*2e36db14SWarner Losh phy-handle = <&phy_rgmii_0>; 256*2e36db14SWarner Losh phy-connection-type = "rgmii"; 257*2e36db14SWarner Losh }; 258*2e36db14SWarner Losh 259*2e36db14SWarner Losh mdio0: mdio@e1120 { 260*2e36db14SWarner Losh tbi0: tbi-phy@8 { 261*2e36db14SWarner Losh reg = <0x8>; 262*2e36db14SWarner Losh device_type = "tbi-phy"; 263*2e36db14SWarner Losh }; 264*2e36db14SWarner Losh 265*2e36db14SWarner Losh /* 266*2e36db14SWarner Losh * Virtual MDIO for the two on-board RGMII 267*2e36db14SWarner Losh * ports. The fsl,hydra-mdio-muxval property 268*2e36db14SWarner Losh * is already correct. 269*2e36db14SWarner Losh */ 270*2e36db14SWarner Losh hydra_mdio_rgmii: hydra-mdio-rgmii { 271*2e36db14SWarner Losh #address-cells = <1>; 272*2e36db14SWarner Losh #size-cells = <0>; 273*2e36db14SWarner Losh compatible = "fsl,hydra-mdio"; 274*2e36db14SWarner Losh fsl,mdio-handle = <&mdio0>; 275*2e36db14SWarner Losh fsl,hydra-mdio-muxval = <0x00>; 276*2e36db14SWarner Losh status = "disabled"; 277*2e36db14SWarner Losh 278*2e36db14SWarner Losh phy_rgmii_0: ethernet-phy@0 { 279*2e36db14SWarner Losh reg = <0x0>; 280*2e36db14SWarner Losh }; 281*2e36db14SWarner Losh phy_rgmii_1: ethernet-phy@1 { 282*2e36db14SWarner Losh reg = <0x1>; 283*2e36db14SWarner Losh }; 284*2e36db14SWarner Losh }; 285*2e36db14SWarner Losh 286*2e36db14SWarner Losh /* 287*2e36db14SWarner Losh * Virtual MDIO for the four-port SGMII card. 288*2e36db14SWarner Losh * The fsl,hydra-mdio-muxval property will be 289*2e36db14SWarner Losh * fixed-up by U-Boot based on the slot that 290*2e36db14SWarner Losh * the SGMII card is in. 291*2e36db14SWarner Losh * 292*2e36db14SWarner Losh * Note: we do not support DTSEC5 connected to 293*2e36db14SWarner Losh * SGMII, so this is the only SGMII node. 294*2e36db14SWarner Losh */ 295*2e36db14SWarner Losh hydra_mdio_sgmii: hydra-mdio-sgmii { 296*2e36db14SWarner Losh #address-cells = <1>; 297*2e36db14SWarner Losh #size-cells = <0>; 298*2e36db14SWarner Losh compatible = "fsl,hydra-mdio"; 299*2e36db14SWarner Losh fsl,mdio-handle = <&mdio0>; 300*2e36db14SWarner Losh fsl,hydra-mdio-muxval = <0x00>; 301*2e36db14SWarner Losh status = "disabled"; 302*2e36db14SWarner Losh 303*2e36db14SWarner Losh phy_sgmii_1c: ethernet-phy@1c { 304*2e36db14SWarner Losh reg = <0x1c>; 305*2e36db14SWarner Losh }; 306*2e36db14SWarner Losh phy_sgmii_1d: ethernet-phy@1d { 307*2e36db14SWarner Losh reg = <0x1d>; 308*2e36db14SWarner Losh }; 309*2e36db14SWarner Losh phy_sgmii_1e: ethernet-phy@1e { 310*2e36db14SWarner Losh reg = <0x1e>; 311*2e36db14SWarner Losh }; 312*2e36db14SWarner Losh phy_sgmii_1f: ethernet-phy@1f { 313*2e36db14SWarner Losh reg = <0x1f>; 314*2e36db14SWarner Losh }; 315*2e36db14SWarner Losh }; 316*2e36db14SWarner Losh }; 317*2e36db14SWarner Losh 318*2e36db14SWarner Losh enet1: ethernet@e2000 { 319*2e36db14SWarner Losh tbi-handle = <&tbi1>; 320*2e36db14SWarner Losh phy-handle = <&phy_sgmii_1d>; 321*2e36db14SWarner Losh phy-connection-type = "sgmii"; 322*2e36db14SWarner Losh }; 323*2e36db14SWarner Losh 324*2e36db14SWarner Losh mdio@e3120 { 325*2e36db14SWarner Losh tbi1: tbi-phy@8 { 326*2e36db14SWarner Losh reg = <8>; 327*2e36db14SWarner Losh device_type = "tbi-phy"; 328*2e36db14SWarner Losh }; 329*2e36db14SWarner Losh }; 330*2e36db14SWarner Losh 331*2e36db14SWarner Losh enet2: ethernet@e4000 { 332*2e36db14SWarner Losh tbi-handle = <&tbi2>; 333*2e36db14SWarner Losh phy-handle = <&phy_sgmii_1e>; 334*2e36db14SWarner Losh phy-connection-type = "sgmii"; 335*2e36db14SWarner Losh }; 336*2e36db14SWarner Losh 337*2e36db14SWarner Losh mdio@e5120 { 338*2e36db14SWarner Losh tbi2: tbi-phy@8 { 339*2e36db14SWarner Losh reg = <8>; 340*2e36db14SWarner Losh device_type = "tbi-phy"; 341*2e36db14SWarner Losh }; 342*2e36db14SWarner Losh }; 343*2e36db14SWarner Losh 344*2e36db14SWarner Losh enet3: ethernet@e6000 { 345*2e36db14SWarner Losh tbi-handle = <&tbi3>; 346*2e36db14SWarner Losh phy-handle = <&phy_sgmii_1f>; 347*2e36db14SWarner Losh phy-connection-type = "sgmii"; 348*2e36db14SWarner Losh }; 349*2e36db14SWarner Losh 350*2e36db14SWarner Losh mdio@e7120 { 351*2e36db14SWarner Losh #address-cells = <1>; 352*2e36db14SWarner Losh #size-cells = <0>; 353*2e36db14SWarner Losh compatible = "fsl,fman-tbi"; 354*2e36db14SWarner Losh reg = <0xe7120 0xee0>; 355*2e36db14SWarner Losh interrupts = <100 1 0 0>; 356*2e36db14SWarner Losh 357*2e36db14SWarner Losh tbi3: tbi-phy@8 { 358*2e36db14SWarner Losh reg = <8>; 359*2e36db14SWarner Losh device_type = "tbi-phy"; 360*2e36db14SWarner Losh }; 361*2e36db14SWarner Losh }; 362*2e36db14SWarner Losh 363*2e36db14SWarner Losh enet4: ethernet@e8000 { 364*2e36db14SWarner Losh tbi-handle = <&tbi4>; 365*2e36db14SWarner Losh phy-handle = <&phy_rgmii_1>; 366*2e36db14SWarner Losh phy-connection-type = "rgmii"; 367*2e36db14SWarner Losh }; 368*2e36db14SWarner Losh 369*2e36db14SWarner Losh mdio@e9120 { 370*2e36db14SWarner Losh tbi4: tbi-phy@8 { 371*2e36db14SWarner Losh reg = <8>; 372*2e36db14SWarner Losh device_type = "tbi-phy"; 373*2e36db14SWarner Losh }; 374*2e36db14SWarner Losh }; 375*2e36db14SWarner Losh 376*2e36db14SWarner Losh enet5: ethernet@f0000 { 377*2e36db14SWarner Losh /* 378*2e36db14SWarner Losh * phy-handle will be updated by U-Boot to 379*2e36db14SWarner Losh * reflect the actual slot the XAUI card is in. 380*2e36db14SWarner Losh */ 381*2e36db14SWarner Losh phy-handle = <&phy_xgmii_1>; 382*2e36db14SWarner Losh phy-connection-type = "xgmii"; 383*2e36db14SWarner Losh }; 384*2e36db14SWarner Losh 385*2e36db14SWarner Losh /* 386*2e36db14SWarner Losh * We only support one XAUI card, so the MDIO muxing 387*2e36db14SWarner Losh * is set by U-Boot, and Linux never touches it. 388*2e36db14SWarner Losh * Therefore, we don't need a virtual MDIO node. 389*2e36db14SWarner Losh * However, the phy address depends on the slot, so 390*2e36db14SWarner Losh * only one of the ethernet-phy nodes below will be 391*2e36db14SWarner Losh * used. 392*2e36db14SWarner Losh */ 393*2e36db14SWarner Losh hydra_mdio_xgmii: mdio@f1000 { 394*2e36db14SWarner Losh status = "disabled"; 395*2e36db14SWarner Losh 396*2e36db14SWarner Losh /* XAUI card in slot 1 */ 397*2e36db14SWarner Losh phy_xgmii_1: ethernet-phy@4 { 398*2e36db14SWarner Losh reg = <0x4>; 399*2e36db14SWarner Losh }; 400*2e36db14SWarner Losh 401*2e36db14SWarner Losh /* XAUI card in slot 2 */ 402*2e36db14SWarner Losh phy_xgmii_2: ethernet-phy@0 { 403*2e36db14SWarner Losh reg = <0x0>; 404*2e36db14SWarner Losh }; 405*2e36db14SWarner Losh }; 406*2e36db14SWarner Losh }; 407*2e36db14SWarner Losh }; 408*2e36db14SWarner Losh 409*2e36db14SWarner Losh rapidio@ffe0c0000 { 410*2e36db14SWarner Losh reg = <0xf 0xfe0c0000 0 0x11000>; 411*2e36db14SWarner Losh 412*2e36db14SWarner Losh port1 { 413*2e36db14SWarner Losh ranges = <0 0 0xc 0x20000000 0 0x10000000>; 414*2e36db14SWarner Losh }; 415*2e36db14SWarner Losh port2 { 416*2e36db14SWarner Losh ranges = <0 0 0xc 0x30000000 0 0x10000000>; 417*2e36db14SWarner Losh }; 418*2e36db14SWarner Losh }; 419*2e36db14SWarner Losh 420*2e36db14SWarner Losh localbus@ffe124000 { 421*2e36db14SWarner Losh reg = <0xf 0xfe124000 0 0x1000>; 422*2e36db14SWarner Losh ranges = <0 0 0xf 0xb8000000 0x04000000>; 423*2e36db14SWarner Losh 424*2e36db14SWarner Losh flash@0,0 { 425*2e36db14SWarner Losh compatible = "cfi-flash"; 426*2e36db14SWarner Losh /* 427*2e36db14SWarner Losh * Map 64Mb of 128MB NOR flash memory. Since highest 428*2e36db14SWarner Losh * line of address of NOR flash memory are set by 429*2e36db14SWarner Losh * FPGA, memory are divided into two pages equal to 430*2e36db14SWarner Losh * 64MB. One of the pages can be accessed at once. 431*2e36db14SWarner Losh */ 432*2e36db14SWarner Losh reg = <0 0 0x04000000>; 433*2e36db14SWarner Losh bank-width = <2>; 434*2e36db14SWarner Losh device-width = <2>; 435*2e36db14SWarner Losh }; 436*2e36db14SWarner Losh 437*2e36db14SWarner Losh nand@2,0 { 438*2e36db14SWarner Losh #address-cells = <1>; 439*2e36db14SWarner Losh #size-cells = <1>; 440*2e36db14SWarner Losh compatible = "fsl,elbc-fcm-nand"; 441*2e36db14SWarner Losh reg = <0x2 0x0 0x40000>; 442*2e36db14SWarner Losh 443*2e36db14SWarner Losh partition@0 { 444*2e36db14SWarner Losh label = "NAND U-Boot Image"; 445*2e36db14SWarner Losh reg = <0x0 0x02000000>; 446*2e36db14SWarner Losh read-only; 447*2e36db14SWarner Losh }; 448*2e36db14SWarner Losh 449*2e36db14SWarner Losh partition@2000000 { 450*2e36db14SWarner Losh label = "NAND Root File System"; 451*2e36db14SWarner Losh reg = <0x02000000 0x10000000>; 452*2e36db14SWarner Losh }; 453*2e36db14SWarner Losh 454*2e36db14SWarner Losh partition@12000000 { 455*2e36db14SWarner Losh label = "NAND Compressed RFS Image"; 456*2e36db14SWarner Losh reg = <0x12000000 0x08000000>; 457*2e36db14SWarner Losh }; 458*2e36db14SWarner Losh 459*2e36db14SWarner Losh partition@1a000000 { 460*2e36db14SWarner Losh label = "NAND Linux Kernel Image"; 461*2e36db14SWarner Losh reg = <0x1a000000 0x04000000>; 462*2e36db14SWarner Losh }; 463*2e36db14SWarner Losh 464*2e36db14SWarner Losh partition@1e000000 { 465*2e36db14SWarner Losh label = "NAND DTB Image"; 466*2e36db14SWarner Losh reg = <0x1e000000 0x01000000>; 467*2e36db14SWarner Losh }; 468*2e36db14SWarner Losh 469*2e36db14SWarner Losh partition@1f000000 { 470*2e36db14SWarner Losh label = "NAND Writable User area"; 471*2e36db14SWarner Losh reg = <0x1f000000 0x21000000>; 472*2e36db14SWarner Losh }; 473*2e36db14SWarner Losh }; 474*2e36db14SWarner Losh 475*2e36db14SWarner Losh board-control@3,0 { 476*2e36db14SWarner Losh compatible = "fsl,p3041ds-fpga", "fsl,fpga-ngpixis"; 477*2e36db14SWarner Losh reg = <3 0 0x30>; 478*2e36db14SWarner Losh }; 479*2e36db14SWarner Losh }; 480*2e36db14SWarner Losh 481*2e36db14SWarner Losh pci0: pcie@ffe200000 { 482*2e36db14SWarner Losh reg = <0xf 0xfe200000 0 0x1000>; 483*2e36db14SWarner Losh ranges = <0x02000000 0 0x80000000 0x0 0x80000000 0x0 0x10000000 484*2e36db14SWarner Losh 0x01000000 0 0x00000000 0x0 0xff000000 0x0 0x00010000>; 485*2e36db14SWarner Losh pcie@0 { 486*2e36db14SWarner Losh ranges = <0x02000000 0 0x80000000 487*2e36db14SWarner Losh 0x02000000 0 0x80000000 488*2e36db14SWarner Losh 0 0x10000000 489*2e36db14SWarner Losh 490*2e36db14SWarner Losh 0x01000000 0 0x00000000 491*2e36db14SWarner Losh 0x01000000 0 0xff000000 492*2e36db14SWarner Losh 0 0x00010000>; 493*2e36db14SWarner Losh }; 494*2e36db14SWarner Losh }; 495*2e36db14SWarner Losh 496*2e36db14SWarner Losh pci1: pcie@ffe201000 { 497*2e36db14SWarner Losh reg = <0xf 0xfe201000 0 0x1000>; 498*2e36db14SWarner Losh ranges = <0x02000000 0x0 0x90000000 0x0 0x90000000 0x0 0x10000000 499*2e36db14SWarner Losh 0x01000000 0x0 0x00000000 0x0 0xff010000 0x0 0x00010000>; 500*2e36db14SWarner Losh pcie@0 { 501*2e36db14SWarner Losh ranges = <0x02000000 0 0x90000000 502*2e36db14SWarner Losh 0x02000000 0 0x90000000 503*2e36db14SWarner Losh 0 0x10000000 504*2e36db14SWarner Losh 505*2e36db14SWarner Losh 0x01000000 0 0x00000000 506*2e36db14SWarner Losh 0x01000000 0 0xff010000 507*2e36db14SWarner Losh 0 0x00010000>; 508*2e36db14SWarner Losh }; 509*2e36db14SWarner Losh }; 510*2e36db14SWarner Losh 511*2e36db14SWarner Losh pci2: pcie@ffe202000 { 512*2e36db14SWarner Losh reg = <0xf 0xfe202000 0 0x1000>; 513*2e36db14SWarner Losh ranges = <0x02000000 0 0xa0000000 0x0 0xa0000000 0 0x10000000 514*2e36db14SWarner Losh 0x01000000 0 0x00000000 0x0 0xff020000 0 0x00010000>; 515*2e36db14SWarner Losh pcie@0 { 516*2e36db14SWarner Losh ranges = <0x02000000 0 0xa0000000 517*2e36db14SWarner Losh 0x02000000 0 0xa0000000 518*2e36db14SWarner Losh 0 0x10000000 519*2e36db14SWarner Losh 520*2e36db14SWarner Losh 0x01000000 0 0x00000000 521*2e36db14SWarner Losh 0x01000000 0 0xff020000 522*2e36db14SWarner Losh 0 0x00010000>; 523*2e36db14SWarner Losh }; 524*2e36db14SWarner Losh }; 525*2e36db14SWarner Losh 526*2e36db14SWarner Losh pci3: pcie@ffe203000 { 527*2e36db14SWarner Losh reg = <0xf 0xfe203000 0 0x1000>; 528*2e36db14SWarner Losh ranges = <0x02000000 0 0xb0000000 0x0 0xb0000000 0 0x08000000 529*2e36db14SWarner Losh 0x01000000 0 0x00000000 0x0 0xff030000 0 0x00010000>; 530*2e36db14SWarner Losh pcie@0 { 531*2e36db14SWarner Losh ranges = <0x02000000 0 0xb0000000 532*2e36db14SWarner Losh 0x02000000 0 0xb0000000 533*2e36db14SWarner Losh 0 0x08000000 534*2e36db14SWarner Losh 535*2e36db14SWarner Losh 0x01000000 0 0x00000000 536*2e36db14SWarner Losh 0x01000000 0 0xff030000 537*2e36db14SWarner Losh 0 0x00010000>; 538*2e36db14SWarner Losh }; 539*2e36db14SWarner Losh }; 540*2e36db14SWarner Losh 541*2e36db14SWarner Losh chosen { 542*2e36db14SWarner Losh stdin = "serial0"; 543*2e36db14SWarner Losh stdout = "serial0"; 544*2e36db14SWarner Losh }; 545*2e36db14SWarner Losh}; 546