1*2e36db14SWarner Losh/* 2*2e36db14SWarner Losh * P2041RDB Device Tree Source 3*2e36db14SWarner Losh * 4*2e36db14SWarner Losh * Copyright 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/ "p2041si.dtsi" 36*2e36db14SWarner Losh 37*2e36db14SWarner Losh/ { 38*2e36db14SWarner Losh model = "fsl,P2041RDB"; 39*2e36db14SWarner Losh compatible = "fsl,P2041RDB"; 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_2 = &phy_sgmii_2; 48*2e36db14SWarner Losh phy_sgmii_3 = &phy_sgmii_3; 49*2e36db14SWarner Losh phy_sgmii_4 = &phy_sgmii_4; 50*2e36db14SWarner Losh phy_sgmii_1c = &phy_sgmii_1c; 51*2e36db14SWarner Losh phy_sgmii_1d = &phy_sgmii_1d; 52*2e36db14SWarner Losh phy_sgmii_1e = &phy_sgmii_1e; 53*2e36db14SWarner Losh phy_sgmii_1f = &phy_sgmii_1f; 54*2e36db14SWarner Losh phy_xgmii_2 = &phy_xgmii_2; 55*2e36db14SWarner Losh }; 56*2e36db14SWarner Losh 57*2e36db14SWarner Losh memory { 58*2e36db14SWarner Losh device_type = "memory"; 59*2e36db14SWarner Losh reg = <0x00000000 0x00000000 0x00000000 0x80000000>; 60*2e36db14SWarner Losh }; 61*2e36db14SWarner Losh 62*2e36db14SWarner Losh dcsr: dcsr@f00000000 { 63*2e36db14SWarner Losh ranges = <0x00000000 0xf 0x00000000 0x01008000>; 64*2e36db14SWarner Losh }; 65*2e36db14SWarner Losh 66*2e36db14SWarner Losh bman-portals@ff4000000 { 67*2e36db14SWarner Losh bman-portal@0 { 68*2e36db14SWarner Losh cpu-handle = <&cpu0>; 69*2e36db14SWarner Losh }; 70*2e36db14SWarner Losh bman-portal@4000 { 71*2e36db14SWarner Losh cpu-handle = <&cpu1>; 72*2e36db14SWarner Losh }; 73*2e36db14SWarner Losh bman-portal@8000 { 74*2e36db14SWarner Losh cpu-handle = <&cpu2>; 75*2e36db14SWarner Losh }; 76*2e36db14SWarner Losh bman-portal@c000 { 77*2e36db14SWarner Losh cpu-handle = <&cpu3>; 78*2e36db14SWarner Losh }; 79*2e36db14SWarner Losh bman-portal@10000 { 80*2e36db14SWarner Losh }; 81*2e36db14SWarner Losh bman-portal@14000 { 82*2e36db14SWarner Losh }; 83*2e36db14SWarner Losh bman-portal@18000 { 84*2e36db14SWarner Losh }; 85*2e36db14SWarner Losh bman-portal@1c000 { 86*2e36db14SWarner Losh }; 87*2e36db14SWarner Losh bman-portal@20000 { 88*2e36db14SWarner Losh }; 89*2e36db14SWarner Losh bman-portal@24000 { 90*2e36db14SWarner Losh }; 91*2e36db14SWarner Losh 92*2e36db14SWarner Losh buffer-pool@0 { 93*2e36db14SWarner Losh compatible = "fsl,p2041-bpool", "fsl,bpool"; 94*2e36db14SWarner Losh fsl,bpid = <0>; 95*2e36db14SWarner Losh fsl,bpool-cfg = <0 0x100 0 1 0 0x100>; 96*2e36db14SWarner Losh }; 97*2e36db14SWarner Losh }; 98*2e36db14SWarner Losh 99*2e36db14SWarner Losh qman-portals@ff4200000 { 100*2e36db14SWarner Losh qportal0: qman-portal@0 { 101*2e36db14SWarner Losh cpu-handle = <&cpu0>; 102*2e36db14SWarner Losh fsl,qman-pool-channels = <&qpool1 &qpool2 &qpool3 103*2e36db14SWarner Losh &qpool4 &qpool5 &qpool6 104*2e36db14SWarner Losh &qpool7 &qpool8 &qpool9 105*2e36db14SWarner Losh &qpool10 &qpool11 &qpool12 106*2e36db14SWarner Losh &qpool13 &qpool14 &qpool15>; 107*2e36db14SWarner Losh }; 108*2e36db14SWarner Losh 109*2e36db14SWarner Losh qportal1: qman-portal@4000 { 110*2e36db14SWarner Losh cpu-handle = <&cpu1>; 111*2e36db14SWarner Losh fsl,qman-pool-channels = <&qpool1 &qpool2 &qpool3 112*2e36db14SWarner Losh &qpool4 &qpool5 &qpool6 113*2e36db14SWarner Losh &qpool7 &qpool8 &qpool9 114*2e36db14SWarner Losh &qpool10 &qpool11 &qpool12 115*2e36db14SWarner Losh &qpool13 &qpool14 &qpool15>; 116*2e36db14SWarner Losh }; 117*2e36db14SWarner Losh 118*2e36db14SWarner Losh qportal2: qman-portal@8000 { 119*2e36db14SWarner Losh cpu-handle = <&cpu2>; 120*2e36db14SWarner Losh fsl,qman-pool-channels = <&qpool1 &qpool2 &qpool3 121*2e36db14SWarner Losh &qpool4 &qpool5 &qpool6 122*2e36db14SWarner Losh &qpool7 &qpool8 &qpool9 123*2e36db14SWarner Losh &qpool10 &qpool11 &qpool12 124*2e36db14SWarner Losh &qpool13 &qpool14 &qpool15>; 125*2e36db14SWarner Losh }; 126*2e36db14SWarner Losh 127*2e36db14SWarner Losh qportal3: qman-portal@c000 { 128*2e36db14SWarner Losh cpu-handle = <&cpu3>; 129*2e36db14SWarner Losh fsl,qman-pool-channels = <&qpool1 &qpool2 &qpool3 130*2e36db14SWarner Losh &qpool4 &qpool5 &qpool6 131*2e36db14SWarner Losh &qpool7 &qpool8 &qpool9 132*2e36db14SWarner Losh &qpool10 &qpool11 &qpool12 133*2e36db14SWarner Losh &qpool13 &qpool14 &qpool15>; 134*2e36db14SWarner Losh }; 135*2e36db14SWarner Losh 136*2e36db14SWarner Losh qportal4: qman-portal@10000 { 137*2e36db14SWarner Losh fsl,qman-pool-channels = <&qpool1 &qpool2 &qpool3 138*2e36db14SWarner Losh &qpool4 &qpool5 &qpool6 139*2e36db14SWarner Losh &qpool7 &qpool8 &qpool9 140*2e36db14SWarner Losh &qpool10 &qpool11 &qpool12 141*2e36db14SWarner Losh &qpool13 &qpool14 &qpool15>; 142*2e36db14SWarner Losh }; 143*2e36db14SWarner Losh 144*2e36db14SWarner Losh qportal5: qman-portal@14000 { 145*2e36db14SWarner Losh fsl,qman-pool-channels = <&qpool1 &qpool2 &qpool3 146*2e36db14SWarner Losh &qpool4 &qpool5 &qpool6 147*2e36db14SWarner Losh &qpool7 &qpool8 &qpool9 148*2e36db14SWarner Losh &qpool10 &qpool11 &qpool12 149*2e36db14SWarner Losh &qpool13 &qpool14 &qpool15>; 150*2e36db14SWarner Losh }; 151*2e36db14SWarner Losh 152*2e36db14SWarner Losh qportal6: qman-portal@18000 { 153*2e36db14SWarner Losh fsl,qman-pool-channels = <&qpool1 &qpool2 &qpool3 154*2e36db14SWarner Losh &qpool4 &qpool5 &qpool6 155*2e36db14SWarner Losh &qpool7 &qpool8 &qpool9 156*2e36db14SWarner Losh &qpool10 &qpool11 &qpool12 157*2e36db14SWarner Losh &qpool13 &qpool14 &qpool15>; 158*2e36db14SWarner Losh }; 159*2e36db14SWarner Losh 160*2e36db14SWarner Losh qportal7: qman-portal@1c000 { 161*2e36db14SWarner Losh fsl,qman-pool-channels = <&qpool1 &qpool2 &qpool3 162*2e36db14SWarner Losh &qpool4 &qpool5 &qpool6 163*2e36db14SWarner Losh &qpool7 &qpool8 &qpool9 164*2e36db14SWarner Losh &qpool10 &qpool11 &qpool12 165*2e36db14SWarner Losh &qpool13 &qpool14 &qpool15>; 166*2e36db14SWarner Losh }; 167*2e36db14SWarner Losh 168*2e36db14SWarner Losh qportal8: qman-portal@20000 { 169*2e36db14SWarner Losh fsl,qman-pool-channels = <&qpool1 &qpool2 &qpool3 170*2e36db14SWarner Losh &qpool4 &qpool5 &qpool6 171*2e36db14SWarner Losh &qpool7 &qpool8 &qpool9 172*2e36db14SWarner Losh &qpool10 &qpool11 &qpool12 173*2e36db14SWarner Losh &qpool13 &qpool14 &qpool15>; 174*2e36db14SWarner Losh }; 175*2e36db14SWarner Losh 176*2e36db14SWarner Losh qportal9: qman-portal@24000 { 177*2e36db14SWarner Losh fsl,qman-pool-channels = <&qpool1 &qpool2 &qpool3 178*2e36db14SWarner Losh &qpool4 &qpool5 &qpool6 179*2e36db14SWarner Losh &qpool7 &qpool8 &qpool9 180*2e36db14SWarner Losh &qpool10 &qpool11 &qpool12 181*2e36db14SWarner Losh &qpool13 &qpool14 &qpool15>; 182*2e36db14SWarner Losh }; 183*2e36db14SWarner Losh }; 184*2e36db14SWarner Losh 185*2e36db14SWarner Losh soc: soc@ffe000000 { 186*2e36db14SWarner Losh spi@110000 { 187*2e36db14SWarner Losh flash@0 { 188*2e36db14SWarner Losh #address-cells = <1>; 189*2e36db14SWarner Losh #size-cells = <1>; 190*2e36db14SWarner Losh compatible = "spansion,s25sl12801"; 191*2e36db14SWarner Losh reg = <0>; 192*2e36db14SWarner Losh spi-max-frequency = <40000000>; /* input clock */ 193*2e36db14SWarner Losh partition@u-boot { 194*2e36db14SWarner Losh label = "u-boot"; 195*2e36db14SWarner Losh reg = <0x00000000 0x00100000>; 196*2e36db14SWarner Losh read-only; 197*2e36db14SWarner Losh }; 198*2e36db14SWarner Losh partition@kernel { 199*2e36db14SWarner Losh label = "kernel"; 200*2e36db14SWarner Losh reg = <0x00100000 0x00500000>; 201*2e36db14SWarner Losh read-only; 202*2e36db14SWarner Losh }; 203*2e36db14SWarner Losh partition@dtb { 204*2e36db14SWarner Losh label = "dtb"; 205*2e36db14SWarner Losh reg = <0x00600000 0x00100000>; 206*2e36db14SWarner Losh read-only; 207*2e36db14SWarner Losh }; 208*2e36db14SWarner Losh partition@fs { 209*2e36db14SWarner Losh label = "file system"; 210*2e36db14SWarner Losh reg = <0x00700000 0x00900000>; 211*2e36db14SWarner Losh }; 212*2e36db14SWarner Losh }; 213*2e36db14SWarner Losh }; 214*2e36db14SWarner Losh 215*2e36db14SWarner Losh i2c@118000 { 216*2e36db14SWarner Losh lm75b@48 { 217*2e36db14SWarner Losh compatible = "nxp,lm75a"; 218*2e36db14SWarner Losh reg = <0x48>; 219*2e36db14SWarner Losh }; 220*2e36db14SWarner Losh eeprom@50 { 221*2e36db14SWarner Losh compatible = "at24,24c256"; 222*2e36db14SWarner Losh reg = <0x50>; 223*2e36db14SWarner Losh }; 224*2e36db14SWarner Losh rtc@68 { 225*2e36db14SWarner Losh compatible = "pericom,pt7c4338"; 226*2e36db14SWarner Losh reg = <0x68>; 227*2e36db14SWarner Losh }; 228*2e36db14SWarner Losh }; 229*2e36db14SWarner Losh 230*2e36db14SWarner Losh i2c@118100 { 231*2e36db14SWarner Losh eeprom@50 { 232*2e36db14SWarner Losh compatible = "at24,24c256"; 233*2e36db14SWarner Losh reg = <0x50>; 234*2e36db14SWarner Losh }; 235*2e36db14SWarner Losh }; 236*2e36db14SWarner Losh 237*2e36db14SWarner Losh usb1: usb@211000 { 238*2e36db14SWarner Losh dr_mode = "host"; 239*2e36db14SWarner Losh }; 240*2e36db14SWarner Losh 241*2e36db14SWarner Losh pme: pme@316000 { 242*2e36db14SWarner Losh /* Commented out, use default allocation */ 243*2e36db14SWarner Losh /* fsl,pme-pdsr = <0x0 0x23000000 0x0 0x01000000>; */ 244*2e36db14SWarner Losh /* fsl,pme-sre = <0x0 0x24000000 0x0 0x00a00000>; */ 245*2e36db14SWarner Losh }; 246*2e36db14SWarner Losh 247*2e36db14SWarner Losh qman: qman@318000 { 248*2e36db14SWarner Losh /* Commented out, use default allocation */ 249*2e36db14SWarner Losh /* fsl,qman-fqd = <0x0 0x20000000 0x0 0x01000000>; */ 250*2e36db14SWarner Losh /* fsl,qman-pfdr = <0x0 0x21000000 0x0 0x01000000>; */ 251*2e36db14SWarner Losh }; 252*2e36db14SWarner Losh 253*2e36db14SWarner Losh bman: bman@31a000 { 254*2e36db14SWarner Losh /* Same as fsl,qman-*, use default allocation */ 255*2e36db14SWarner Losh /* fsl,bman-fbpr = <0x0 0x22000000 0x0 0x01000000>; */ 256*2e36db14SWarner Losh }; 257*2e36db14SWarner Losh 258*2e36db14SWarner Losh fman0: fman@400000 { 259*2e36db14SWarner Losh enet0: ethernet@e0000 { 260*2e36db14SWarner Losh tbi-handle = <&tbi0>; 261*2e36db14SWarner Losh phy-handle = <&phy_sgmii_2>; 262*2e36db14SWarner Losh phy-connection-type = "sgmii"; 263*2e36db14SWarner Losh }; 264*2e36db14SWarner Losh 265*2e36db14SWarner Losh mdio0: mdio@e1120 { 266*2e36db14SWarner Losh tbi0: tbi-phy@8 { 267*2e36db14SWarner Losh reg = <0x8>; 268*2e36db14SWarner Losh device_type = "tbi-phy"; 269*2e36db14SWarner Losh }; 270*2e36db14SWarner Losh 271*2e36db14SWarner Losh phy_rgmii_0: ethernet-phy@0 { 272*2e36db14SWarner Losh reg = <0x0>; 273*2e36db14SWarner Losh }; 274*2e36db14SWarner Losh phy_rgmii_1: ethernet-phy@1 { 275*2e36db14SWarner Losh reg = <0x1>; 276*2e36db14SWarner Losh }; 277*2e36db14SWarner Losh phy_sgmii_2: ethernet-phy@2 { 278*2e36db14SWarner Losh reg = <0x2>; 279*2e36db14SWarner Losh }; 280*2e36db14SWarner Losh phy_sgmii_3: ethernet-phy@3 { 281*2e36db14SWarner Losh reg = <0x3>; 282*2e36db14SWarner Losh }; 283*2e36db14SWarner Losh phy_sgmii_4: ethernet-phy@4 { 284*2e36db14SWarner Losh reg = <0x4>; 285*2e36db14SWarner Losh }; 286*2e36db14SWarner Losh phy_sgmii_1c: ethernet-phy@1c { 287*2e36db14SWarner Losh reg = <0x1c>; 288*2e36db14SWarner Losh }; 289*2e36db14SWarner Losh phy_sgmii_1d: ethernet-phy@1d { 290*2e36db14SWarner Losh reg = <0x1d>; 291*2e36db14SWarner Losh }; 292*2e36db14SWarner Losh phy_sgmii_1e: ethernet-phy@1e { 293*2e36db14SWarner Losh reg = <0x1e>; 294*2e36db14SWarner Losh }; 295*2e36db14SWarner Losh phy_sgmii_1f: ethernet-phy@1f { 296*2e36db14SWarner Losh reg = <0x1f>; 297*2e36db14SWarner Losh }; 298*2e36db14SWarner Losh }; 299*2e36db14SWarner Losh 300*2e36db14SWarner Losh enet1: ethernet@e2000 { 301*2e36db14SWarner Losh tbi-handle = <&tbi1>; 302*2e36db14SWarner Losh phy-handle = <&phy_sgmii_3>; 303*2e36db14SWarner Losh phy-connection-type = "sgmii"; 304*2e36db14SWarner Losh }; 305*2e36db14SWarner Losh 306*2e36db14SWarner Losh mdio@e3120 { 307*2e36db14SWarner Losh tbi1: tbi-phy@8 { 308*2e36db14SWarner Losh reg = <8>; 309*2e36db14SWarner Losh device_type = "tbi-phy"; 310*2e36db14SWarner Losh }; 311*2e36db14SWarner Losh }; 312*2e36db14SWarner Losh 313*2e36db14SWarner Losh enet2: ethernet@e4000 { 314*2e36db14SWarner Losh tbi-handle = <&tbi2>; 315*2e36db14SWarner Losh phy-handle = <&phy_sgmii_4>; 316*2e36db14SWarner Losh phy-connection-type = "sgmii"; 317*2e36db14SWarner Losh }; 318*2e36db14SWarner Losh 319*2e36db14SWarner Losh mdio@e5120 { 320*2e36db14SWarner Losh tbi2: tbi-phy@8 { 321*2e36db14SWarner Losh reg = <8>; 322*2e36db14SWarner Losh device_type = "tbi-phy"; 323*2e36db14SWarner Losh }; 324*2e36db14SWarner Losh }; 325*2e36db14SWarner Losh 326*2e36db14SWarner Losh enet3: ethernet@e6000 { 327*2e36db14SWarner Losh tbi-handle = <&tbi3>; 328*2e36db14SWarner Losh phy-handle = <&phy_rgmii_1>; 329*2e36db14SWarner Losh phy-connection-type = "rgmii"; 330*2e36db14SWarner Losh }; 331*2e36db14SWarner Losh 332*2e36db14SWarner Losh mdio@e7120 { 333*2e36db14SWarner Losh tbi3: tbi-phy@8 { 334*2e36db14SWarner Losh reg = <8>; 335*2e36db14SWarner Losh device_type = "tbi-phy"; 336*2e36db14SWarner Losh }; 337*2e36db14SWarner Losh }; 338*2e36db14SWarner Losh 339*2e36db14SWarner Losh enet4: ethernet@e8000 { 340*2e36db14SWarner Losh tbi-handle = <&tbi4>; 341*2e36db14SWarner Losh phy-handle = <&phy_rgmii_0>; 342*2e36db14SWarner Losh phy-connection-type = "rgmii"; 343*2e36db14SWarner Losh }; 344*2e36db14SWarner Losh 345*2e36db14SWarner Losh mdio@e9120 { 346*2e36db14SWarner Losh tbi4: tbi-phy@8 { 347*2e36db14SWarner Losh reg = <8>; 348*2e36db14SWarner Losh device_type = "tbi-phy"; 349*2e36db14SWarner Losh }; 350*2e36db14SWarner Losh }; 351*2e36db14SWarner Losh 352*2e36db14SWarner Losh enet5: ethernet@f0000 { 353*2e36db14SWarner Losh /* 354*2e36db14SWarner Losh * phy-handle will be updated by U-Boot to 355*2e36db14SWarner Losh * reflect the actual slot the XAUI card is in. 356*2e36db14SWarner Losh */ 357*2e36db14SWarner Losh phy-handle = <&phy_xgmii_2>; 358*2e36db14SWarner Losh phy-connection-type = "xgmii"; 359*2e36db14SWarner Losh }; 360*2e36db14SWarner Losh 361*2e36db14SWarner Losh mdio@f1000 { 362*2e36db14SWarner Losh /* XAUI card in slot 2 */ 363*2e36db14SWarner Losh phy_xgmii_2: ethernet-phy@0 { 364*2e36db14SWarner Losh reg = <0x0>; 365*2e36db14SWarner Losh }; 366*2e36db14SWarner Losh }; 367*2e36db14SWarner Losh }; 368*2e36db14SWarner Losh }; 369*2e36db14SWarner Losh 370*2e36db14SWarner Losh rapidio@ffe0c0000 { 371*2e36db14SWarner Losh reg = <0xf 0xfe0c0000 0 0x11000>; 372*2e36db14SWarner Losh 373*2e36db14SWarner Losh port1 { 374*2e36db14SWarner Losh ranges = <0 0 0xc 0x20000000 0 0x10000000>; 375*2e36db14SWarner Losh }; 376*2e36db14SWarner Losh port2 { 377*2e36db14SWarner Losh ranges = <0 0 0xc 0x30000000 0 0x10000000>; 378*2e36db14SWarner Losh }; 379*2e36db14SWarner Losh }; 380*2e36db14SWarner Losh 381*2e36db14SWarner Losh localbus@ffe124000 { 382*2e36db14SWarner Losh reg = <0xf 0xfe124000 0 0x1000>; 383*2e36db14SWarner Losh ranges = <0 0 0xf 0xb8000000 0x04000000>; 384*2e36db14SWarner Losh 385*2e36db14SWarner Losh flash@0,0 { 386*2e36db14SWarner Losh compatible = "cfi-flash"; 387*2e36db14SWarner Losh /* 388*2e36db14SWarner Losh * Map 64Mb of 128MB NOR flash memory. Since highest 389*2e36db14SWarner Losh * line of address of NOR flash memory are set by 390*2e36db14SWarner Losh * FPGA, memory are divided into two pages equal to 391*2e36db14SWarner Losh * 64MB. One of the pages can be accessed at once. 392*2e36db14SWarner Losh */ 393*2e36db14SWarner Losh reg = <0 0 0x04000000>; 394*2e36db14SWarner Losh bank-width = <2>; 395*2e36db14SWarner Losh device-width = <2>; 396*2e36db14SWarner Losh }; 397*2e36db14SWarner Losh }; 398*2e36db14SWarner Losh 399*2e36db14SWarner Losh pci0: pcie@ffe200000 { 400*2e36db14SWarner Losh reg = <0xf 0xfe200000 0 0x1000>; 401*2e36db14SWarner Losh ranges = <0x02000000 0 0x80000000 0x0 0x80000000 0x0 0x10000000 402*2e36db14SWarner Losh 0x01000000 0 0x00000000 0x0 0xff000000 0x0 0x00010000>; 403*2e36db14SWarner Losh pcie@0 { 404*2e36db14SWarner Losh ranges = <0x02000000 0 0x80000000 405*2e36db14SWarner Losh 0x02000000 0 0x80000000 406*2e36db14SWarner Losh 0 0x10000000 407*2e36db14SWarner Losh 408*2e36db14SWarner Losh 0x01000000 0 0x00000000 409*2e36db14SWarner Losh 0x01000000 0 0xff000000 410*2e36db14SWarner Losh 0 0x00010000>; 411*2e36db14SWarner Losh }; 412*2e36db14SWarner Losh }; 413*2e36db14SWarner Losh 414*2e36db14SWarner Losh pci1: pcie@ffe201000 { 415*2e36db14SWarner Losh reg = <0xf 0xfe201000 0 0x1000>; 416*2e36db14SWarner Losh ranges = <0x02000000 0x0 0x90000000 0x0 0x90000000 0x0 0x10000000 417*2e36db14SWarner Losh 0x01000000 0x0 0x00000000 0x0 0xff010000 0x0 0x00010000>; 418*2e36db14SWarner Losh pcie@0 { 419*2e36db14SWarner Losh ranges = <0x02000000 0 0x90000000 420*2e36db14SWarner Losh 0x02000000 0 0x90000000 421*2e36db14SWarner Losh 0 0x10000000 422*2e36db14SWarner Losh 423*2e36db14SWarner Losh 0x01000000 0 0x00000000 424*2e36db14SWarner Losh 0x01000000 0 0xff010000 425*2e36db14SWarner Losh 0 0x00010000>; 426*2e36db14SWarner Losh }; 427*2e36db14SWarner Losh }; 428*2e36db14SWarner Losh 429*2e36db14SWarner Losh pci2: pcie@ffe202000 { 430*2e36db14SWarner Losh reg = <0xf 0xfe202000 0 0x1000>; 431*2e36db14SWarner Losh ranges = <0x02000000 0 0xa0000000 0x0 0xa0000000 0 0x10000000 432*2e36db14SWarner Losh 0x01000000 0 0x00000000 0x0 0xff020000 0 0x00010000>; 433*2e36db14SWarner Losh pcie@0 { 434*2e36db14SWarner Losh ranges = <0x02000000 0 0xa0000000 435*2e36db14SWarner Losh 0x02000000 0 0xa0000000 436*2e36db14SWarner Losh 0 0x10000000 437*2e36db14SWarner Losh 438*2e36db14SWarner Losh 0x01000000 0 0x00000000 439*2e36db14SWarner Losh 0x01000000 0 0xff020000 440*2e36db14SWarner Losh 0 0x00010000>; 441*2e36db14SWarner Losh }; 442*2e36db14SWarner Losh }; 443*2e36db14SWarner Losh 444*2e36db14SWarner Losh chosen { 445*2e36db14SWarner Losh stdin = "serial0"; 446*2e36db14SWarner Losh stdout = "serial0"; 447*2e36db14SWarner Losh }; 448*2e36db14SWarner Losh}; 449