1*c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only 2*c66ec88fSEmmanuel Vadot/* 3*c66ec88fSEmmanuel Vadot * Copyright (C) 2009 Extreme Engineering Solutions, Inc. 4*c66ec88fSEmmanuel Vadot * Based on TQM8548 device tree 5*c66ec88fSEmmanuel Vadot * 6*c66ec88fSEmmanuel Vadot * XPedite5200 PrPMC/XMC module based on MPC8548E 7*c66ec88fSEmmanuel Vadot */ 8*c66ec88fSEmmanuel Vadot 9*c66ec88fSEmmanuel Vadot/dts-v1/; 10*c66ec88fSEmmanuel Vadot 11*c66ec88fSEmmanuel Vadot/ { 12*c66ec88fSEmmanuel Vadot model = "xes,xpedite5200"; 13*c66ec88fSEmmanuel Vadot compatible = "xes,xpedite5200", "xes,MPC8548"; 14*c66ec88fSEmmanuel Vadot #address-cells = <1>; 15*c66ec88fSEmmanuel Vadot #size-cells = <1>; 16*c66ec88fSEmmanuel Vadot 17*c66ec88fSEmmanuel Vadot aliases { 18*c66ec88fSEmmanuel Vadot ethernet0 = &enet0; 19*c66ec88fSEmmanuel Vadot ethernet1 = &enet1; 20*c66ec88fSEmmanuel Vadot ethernet2 = &enet2; 21*c66ec88fSEmmanuel Vadot ethernet3 = &enet3; 22*c66ec88fSEmmanuel Vadot 23*c66ec88fSEmmanuel Vadot serial0 = &serial0; 24*c66ec88fSEmmanuel Vadot serial1 = &serial1; 25*c66ec88fSEmmanuel Vadot pci0 = &pci0; 26*c66ec88fSEmmanuel Vadot }; 27*c66ec88fSEmmanuel Vadot 28*c66ec88fSEmmanuel Vadot cpus { 29*c66ec88fSEmmanuel Vadot #address-cells = <1>; 30*c66ec88fSEmmanuel Vadot #size-cells = <0>; 31*c66ec88fSEmmanuel Vadot 32*c66ec88fSEmmanuel Vadot PowerPC,8548@0 { 33*c66ec88fSEmmanuel Vadot device_type = "cpu"; 34*c66ec88fSEmmanuel Vadot reg = <0>; 35*c66ec88fSEmmanuel Vadot d-cache-line-size = <32>; // 32 bytes 36*c66ec88fSEmmanuel Vadot i-cache-line-size = <32>; // 32 bytes 37*c66ec88fSEmmanuel Vadot d-cache-size = <0x8000>; // L1, 32K 38*c66ec88fSEmmanuel Vadot i-cache-size = <0x8000>; // L1, 32K 39*c66ec88fSEmmanuel Vadot next-level-cache = <&L2>; 40*c66ec88fSEmmanuel Vadot }; 41*c66ec88fSEmmanuel Vadot }; 42*c66ec88fSEmmanuel Vadot 43*c66ec88fSEmmanuel Vadot memory { 44*c66ec88fSEmmanuel Vadot device_type = "memory"; 45*c66ec88fSEmmanuel Vadot reg = <0x0 0x0>; // Filled in by U-Boot 46*c66ec88fSEmmanuel Vadot }; 47*c66ec88fSEmmanuel Vadot 48*c66ec88fSEmmanuel Vadot soc@ef000000 { 49*c66ec88fSEmmanuel Vadot #address-cells = <1>; 50*c66ec88fSEmmanuel Vadot #size-cells = <1>; 51*c66ec88fSEmmanuel Vadot device_type = "soc"; 52*c66ec88fSEmmanuel Vadot ranges = <0x0 0xef000000 0x100000>; 53*c66ec88fSEmmanuel Vadot bus-frequency = <0>; 54*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8548-immr", "simple-bus"; 55*c66ec88fSEmmanuel Vadot 56*c66ec88fSEmmanuel Vadot ecm-law@0 { 57*c66ec88fSEmmanuel Vadot compatible = "fsl,ecm-law"; 58*c66ec88fSEmmanuel Vadot reg = <0x0 0x1000>; 59*c66ec88fSEmmanuel Vadot fsl,num-laws = <12>; 60*c66ec88fSEmmanuel Vadot }; 61*c66ec88fSEmmanuel Vadot 62*c66ec88fSEmmanuel Vadot ecm@1000 { 63*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8548-ecm", "fsl,ecm"; 64*c66ec88fSEmmanuel Vadot reg = <0x1000 0x1000>; 65*c66ec88fSEmmanuel Vadot interrupts = <17 2>; 66*c66ec88fSEmmanuel Vadot interrupt-parent = <&mpic>; 67*c66ec88fSEmmanuel Vadot }; 68*c66ec88fSEmmanuel Vadot 69*c66ec88fSEmmanuel Vadot memory-controller@2000 { 70*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8548-memory-controller"; 71*c66ec88fSEmmanuel Vadot reg = <0x2000 0x1000>; 72*c66ec88fSEmmanuel Vadot interrupt-parent = <&mpic>; 73*c66ec88fSEmmanuel Vadot interrupts = <18 2>; 74*c66ec88fSEmmanuel Vadot }; 75*c66ec88fSEmmanuel Vadot 76*c66ec88fSEmmanuel Vadot L2: l2-cache-controller@20000 { 77*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8548-l2-cache-controller"; 78*c66ec88fSEmmanuel Vadot reg = <0x20000 0x1000>; 79*c66ec88fSEmmanuel Vadot cache-line-size = <32>; // 32 bytes 80*c66ec88fSEmmanuel Vadot cache-size = <0x80000>; // L2, 512K 81*c66ec88fSEmmanuel Vadot interrupt-parent = <&mpic>; 82*c66ec88fSEmmanuel Vadot interrupts = <16 2>; 83*c66ec88fSEmmanuel Vadot }; 84*c66ec88fSEmmanuel Vadot 85*c66ec88fSEmmanuel Vadot /* On-card I2C */ 86*c66ec88fSEmmanuel Vadot i2c@3000 { 87*c66ec88fSEmmanuel Vadot #address-cells = <1>; 88*c66ec88fSEmmanuel Vadot #size-cells = <0>; 89*c66ec88fSEmmanuel Vadot cell-index = <0>; 90*c66ec88fSEmmanuel Vadot compatible = "fsl-i2c"; 91*c66ec88fSEmmanuel Vadot reg = <0x3000 0x100>; 92*c66ec88fSEmmanuel Vadot interrupts = <43 2>; 93*c66ec88fSEmmanuel Vadot interrupt-parent = <&mpic>; 94*c66ec88fSEmmanuel Vadot dfsrr; 95*c66ec88fSEmmanuel Vadot 96*c66ec88fSEmmanuel Vadot /* 97*c66ec88fSEmmanuel Vadot * Board GPIO: 98*c66ec88fSEmmanuel Vadot * 0: BRD_CFG0 (1: P14 IO present) 99*c66ec88fSEmmanuel Vadot * 1: BRD_CFG1 (1: FP ethernet present) 100*c66ec88fSEmmanuel Vadot * 2: BRD_CFG2 (1: XMC IO present) 101*c66ec88fSEmmanuel Vadot * 3: XMC root complex indicator 102*c66ec88fSEmmanuel Vadot * 4: Flash boot device indicator 103*c66ec88fSEmmanuel Vadot * 5: Flash write protect enable 104*c66ec88fSEmmanuel Vadot * 6: PMC monarch indicator 105*c66ec88fSEmmanuel Vadot * 7: PMC EREADY 106*c66ec88fSEmmanuel Vadot */ 107*c66ec88fSEmmanuel Vadot gpio1: gpio@18 { 108*c66ec88fSEmmanuel Vadot compatible = "nxp,pca9556"; 109*c66ec88fSEmmanuel Vadot reg = <0x18>; 110*c66ec88fSEmmanuel Vadot #gpio-cells = <2>; 111*c66ec88fSEmmanuel Vadot gpio-controller; 112*c66ec88fSEmmanuel Vadot polarity = <0x00>; 113*c66ec88fSEmmanuel Vadot }; 114*c66ec88fSEmmanuel Vadot 115*c66ec88fSEmmanuel Vadot /* P14 GPIO */ 116*c66ec88fSEmmanuel Vadot gpio2: gpio@19 { 117*c66ec88fSEmmanuel Vadot compatible = "nxp,pca9556"; 118*c66ec88fSEmmanuel Vadot reg = <0x19>; 119*c66ec88fSEmmanuel Vadot #gpio-cells = <2>; 120*c66ec88fSEmmanuel Vadot gpio-controller; 121*c66ec88fSEmmanuel Vadot polarity = <0x00>; 122*c66ec88fSEmmanuel Vadot }; 123*c66ec88fSEmmanuel Vadot 124*c66ec88fSEmmanuel Vadot eeprom@50 { 125*c66ec88fSEmmanuel Vadot compatible = "atmel,at24c16"; 126*c66ec88fSEmmanuel Vadot reg = <0x50>; 127*c66ec88fSEmmanuel Vadot }; 128*c66ec88fSEmmanuel Vadot 129*c66ec88fSEmmanuel Vadot rtc@68 { 130*c66ec88fSEmmanuel Vadot compatible = "st,m41t00", 131*c66ec88fSEmmanuel Vadot "dallas,ds1338"; 132*c66ec88fSEmmanuel Vadot reg = <0x68>; 133*c66ec88fSEmmanuel Vadot }; 134*c66ec88fSEmmanuel Vadot 135*c66ec88fSEmmanuel Vadot dtt@48 { 136*c66ec88fSEmmanuel Vadot compatible = "maxim,max1237"; 137*c66ec88fSEmmanuel Vadot reg = <0x34>; 138*c66ec88fSEmmanuel Vadot }; 139*c66ec88fSEmmanuel Vadot }; 140*c66ec88fSEmmanuel Vadot 141*c66ec88fSEmmanuel Vadot /* Off-card I2C */ 142*c66ec88fSEmmanuel Vadot i2c@3100 { 143*c66ec88fSEmmanuel Vadot #address-cells = <1>; 144*c66ec88fSEmmanuel Vadot #size-cells = <0>; 145*c66ec88fSEmmanuel Vadot cell-index = <1>; 146*c66ec88fSEmmanuel Vadot compatible = "fsl-i2c"; 147*c66ec88fSEmmanuel Vadot reg = <0x3100 0x100>; 148*c66ec88fSEmmanuel Vadot interrupts = <43 2>; 149*c66ec88fSEmmanuel Vadot interrupt-parent = <&mpic>; 150*c66ec88fSEmmanuel Vadot dfsrr; 151*c66ec88fSEmmanuel Vadot }; 152*c66ec88fSEmmanuel Vadot 153*c66ec88fSEmmanuel Vadot dma@21300 { 154*c66ec88fSEmmanuel Vadot #address-cells = <1>; 155*c66ec88fSEmmanuel Vadot #size-cells = <1>; 156*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8548-dma", "fsl,eloplus-dma"; 157*c66ec88fSEmmanuel Vadot reg = <0x21300 0x4>; 158*c66ec88fSEmmanuel Vadot ranges = <0x0 0x21100 0x200>; 159*c66ec88fSEmmanuel Vadot cell-index = <0>; 160*c66ec88fSEmmanuel Vadot dma-channel@0 { 161*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8548-dma-channel", 162*c66ec88fSEmmanuel Vadot "fsl,eloplus-dma-channel"; 163*c66ec88fSEmmanuel Vadot reg = <0x0 0x80>; 164*c66ec88fSEmmanuel Vadot cell-index = <0>; 165*c66ec88fSEmmanuel Vadot interrupt-parent = <&mpic>; 166*c66ec88fSEmmanuel Vadot interrupts = <20 2>; 167*c66ec88fSEmmanuel Vadot }; 168*c66ec88fSEmmanuel Vadot dma-channel@80 { 169*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8548-dma-channel", 170*c66ec88fSEmmanuel Vadot "fsl,eloplus-dma-channel"; 171*c66ec88fSEmmanuel Vadot reg = <0x80 0x80>; 172*c66ec88fSEmmanuel Vadot cell-index = <1>; 173*c66ec88fSEmmanuel Vadot interrupt-parent = <&mpic>; 174*c66ec88fSEmmanuel Vadot interrupts = <21 2>; 175*c66ec88fSEmmanuel Vadot }; 176*c66ec88fSEmmanuel Vadot dma-channel@100 { 177*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8548-dma-channel", 178*c66ec88fSEmmanuel Vadot "fsl,eloplus-dma-channel"; 179*c66ec88fSEmmanuel Vadot reg = <0x100 0x80>; 180*c66ec88fSEmmanuel Vadot cell-index = <2>; 181*c66ec88fSEmmanuel Vadot interrupt-parent = <&mpic>; 182*c66ec88fSEmmanuel Vadot interrupts = <22 2>; 183*c66ec88fSEmmanuel Vadot }; 184*c66ec88fSEmmanuel Vadot dma-channel@180 { 185*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8548-dma-channel", 186*c66ec88fSEmmanuel Vadot "fsl,eloplus-dma-channel"; 187*c66ec88fSEmmanuel Vadot reg = <0x180 0x80>; 188*c66ec88fSEmmanuel Vadot cell-index = <3>; 189*c66ec88fSEmmanuel Vadot interrupt-parent = <&mpic>; 190*c66ec88fSEmmanuel Vadot interrupts = <23 2>; 191*c66ec88fSEmmanuel Vadot }; 192*c66ec88fSEmmanuel Vadot }; 193*c66ec88fSEmmanuel Vadot 194*c66ec88fSEmmanuel Vadot /* eTSEC1: Front panel port 0 */ 195*c66ec88fSEmmanuel Vadot enet0: ethernet@24000 { 196*c66ec88fSEmmanuel Vadot #address-cells = <1>; 197*c66ec88fSEmmanuel Vadot #size-cells = <1>; 198*c66ec88fSEmmanuel Vadot cell-index = <0>; 199*c66ec88fSEmmanuel Vadot device_type = "network"; 200*c66ec88fSEmmanuel Vadot model = "eTSEC"; 201*c66ec88fSEmmanuel Vadot compatible = "gianfar"; 202*c66ec88fSEmmanuel Vadot reg = <0x24000 0x1000>; 203*c66ec88fSEmmanuel Vadot ranges = <0x0 0x24000 0x1000>; 204*c66ec88fSEmmanuel Vadot local-mac-address = [ 00 00 00 00 00 00 ]; 205*c66ec88fSEmmanuel Vadot interrupts = <29 2 30 2 34 2>; 206*c66ec88fSEmmanuel Vadot interrupt-parent = <&mpic>; 207*c66ec88fSEmmanuel Vadot tbi-handle = <&tbi0>; 208*c66ec88fSEmmanuel Vadot phy-handle = <&phy0>; 209*c66ec88fSEmmanuel Vadot 210*c66ec88fSEmmanuel Vadot mdio@520 { 211*c66ec88fSEmmanuel Vadot #address-cells = <1>; 212*c66ec88fSEmmanuel Vadot #size-cells = <0>; 213*c66ec88fSEmmanuel Vadot compatible = "fsl,gianfar-mdio"; 214*c66ec88fSEmmanuel Vadot reg = <0x520 0x20>; 215*c66ec88fSEmmanuel Vadot 216*c66ec88fSEmmanuel Vadot phy0: ethernet-phy@1 { 217*c66ec88fSEmmanuel Vadot interrupt-parent = <&mpic>; 218*c66ec88fSEmmanuel Vadot interrupts = <8 1>; 219*c66ec88fSEmmanuel Vadot reg = <0x1>; 220*c66ec88fSEmmanuel Vadot }; 221*c66ec88fSEmmanuel Vadot phy1: ethernet-phy@2 { 222*c66ec88fSEmmanuel Vadot interrupt-parent = <&mpic>; 223*c66ec88fSEmmanuel Vadot interrupts = <8 1>; 224*c66ec88fSEmmanuel Vadot reg = <0x2>; 225*c66ec88fSEmmanuel Vadot }; 226*c66ec88fSEmmanuel Vadot phy2: ethernet-phy@3 { 227*c66ec88fSEmmanuel Vadot interrupt-parent = <&mpic>; 228*c66ec88fSEmmanuel Vadot interrupts = <8 1>; 229*c66ec88fSEmmanuel Vadot reg = <0x3>; 230*c66ec88fSEmmanuel Vadot }; 231*c66ec88fSEmmanuel Vadot phy3: ethernet-phy@4 { 232*c66ec88fSEmmanuel Vadot interrupt-parent = <&mpic>; 233*c66ec88fSEmmanuel Vadot interrupts = <8 1>; 234*c66ec88fSEmmanuel Vadot reg = <0x4>; 235*c66ec88fSEmmanuel Vadot }; 236*c66ec88fSEmmanuel Vadot tbi0: tbi-phy@11 { 237*c66ec88fSEmmanuel Vadot reg = <0x11>; 238*c66ec88fSEmmanuel Vadot device_type = "tbi-phy"; 239*c66ec88fSEmmanuel Vadot }; 240*c66ec88fSEmmanuel Vadot }; 241*c66ec88fSEmmanuel Vadot }; 242*c66ec88fSEmmanuel Vadot 243*c66ec88fSEmmanuel Vadot /* eTSEC2: Front panel port 1 */ 244*c66ec88fSEmmanuel Vadot enet1: ethernet@25000 { 245*c66ec88fSEmmanuel Vadot #address-cells = <1>; 246*c66ec88fSEmmanuel Vadot #size-cells = <1>; 247*c66ec88fSEmmanuel Vadot cell-index = <1>; 248*c66ec88fSEmmanuel Vadot device_type = "network"; 249*c66ec88fSEmmanuel Vadot model = "eTSEC"; 250*c66ec88fSEmmanuel Vadot compatible = "gianfar"; 251*c66ec88fSEmmanuel Vadot reg = <0x25000 0x1000>; 252*c66ec88fSEmmanuel Vadot ranges = <0x0 0x25000 0x1000>; 253*c66ec88fSEmmanuel Vadot local-mac-address = [ 00 00 00 00 00 00 ]; 254*c66ec88fSEmmanuel Vadot interrupts = <35 2 36 2 40 2>; 255*c66ec88fSEmmanuel Vadot interrupt-parent = <&mpic>; 256*c66ec88fSEmmanuel Vadot tbi-handle = <&tbi1>; 257*c66ec88fSEmmanuel Vadot phy-handle = <&phy1>; 258*c66ec88fSEmmanuel Vadot 259*c66ec88fSEmmanuel Vadot mdio@520 { 260*c66ec88fSEmmanuel Vadot #address-cells = <1>; 261*c66ec88fSEmmanuel Vadot #size-cells = <0>; 262*c66ec88fSEmmanuel Vadot compatible = "fsl,gianfar-tbi"; 263*c66ec88fSEmmanuel Vadot reg = <0x520 0x20>; 264*c66ec88fSEmmanuel Vadot 265*c66ec88fSEmmanuel Vadot tbi1: tbi-phy@11 { 266*c66ec88fSEmmanuel Vadot reg = <0x11>; 267*c66ec88fSEmmanuel Vadot device_type = "tbi-phy"; 268*c66ec88fSEmmanuel Vadot }; 269*c66ec88fSEmmanuel Vadot }; 270*c66ec88fSEmmanuel Vadot }; 271*c66ec88fSEmmanuel Vadot 272*c66ec88fSEmmanuel Vadot /* eTSEC3: Rear panel port 2 */ 273*c66ec88fSEmmanuel Vadot enet2: ethernet@26000 { 274*c66ec88fSEmmanuel Vadot #address-cells = <1>; 275*c66ec88fSEmmanuel Vadot #size-cells = <1>; 276*c66ec88fSEmmanuel Vadot cell-index = <2>; 277*c66ec88fSEmmanuel Vadot device_type = "network"; 278*c66ec88fSEmmanuel Vadot model = "eTSEC"; 279*c66ec88fSEmmanuel Vadot compatible = "gianfar"; 280*c66ec88fSEmmanuel Vadot reg = <0x26000 0x1000>; 281*c66ec88fSEmmanuel Vadot ranges = <0x0 0x26000 0x1000>; 282*c66ec88fSEmmanuel Vadot local-mac-address = [ 00 00 00 00 00 00 ]; 283*c66ec88fSEmmanuel Vadot interrupts = <31 2 32 2 33 2>; 284*c66ec88fSEmmanuel Vadot interrupt-parent = <&mpic>; 285*c66ec88fSEmmanuel Vadot tbi-handle = <&tbi2>; 286*c66ec88fSEmmanuel Vadot phy-handle = <&phy2>; 287*c66ec88fSEmmanuel Vadot 288*c66ec88fSEmmanuel Vadot mdio@520 { 289*c66ec88fSEmmanuel Vadot #address-cells = <1>; 290*c66ec88fSEmmanuel Vadot #size-cells = <0>; 291*c66ec88fSEmmanuel Vadot compatible = "fsl,gianfar-tbi"; 292*c66ec88fSEmmanuel Vadot reg = <0x520 0x20>; 293*c66ec88fSEmmanuel Vadot 294*c66ec88fSEmmanuel Vadot tbi2: tbi-phy@11 { 295*c66ec88fSEmmanuel Vadot reg = <0x11>; 296*c66ec88fSEmmanuel Vadot device_type = "tbi-phy"; 297*c66ec88fSEmmanuel Vadot }; 298*c66ec88fSEmmanuel Vadot }; 299*c66ec88fSEmmanuel Vadot }; 300*c66ec88fSEmmanuel Vadot 301*c66ec88fSEmmanuel Vadot /* eTSEC4: Rear panel port 3 */ 302*c66ec88fSEmmanuel Vadot enet3: ethernet@27000 { 303*c66ec88fSEmmanuel Vadot #address-cells = <1>; 304*c66ec88fSEmmanuel Vadot #size-cells = <1>; 305*c66ec88fSEmmanuel Vadot cell-index = <3>; 306*c66ec88fSEmmanuel Vadot device_type = "network"; 307*c66ec88fSEmmanuel Vadot model = "eTSEC"; 308*c66ec88fSEmmanuel Vadot compatible = "gianfar"; 309*c66ec88fSEmmanuel Vadot reg = <0x27000 0x1000>; 310*c66ec88fSEmmanuel Vadot ranges = <0x0 0x27000 0x1000>; 311*c66ec88fSEmmanuel Vadot local-mac-address = [ 00 00 00 00 00 00 ]; 312*c66ec88fSEmmanuel Vadot interrupts = <37 2 38 2 39 2>; 313*c66ec88fSEmmanuel Vadot interrupt-parent = <&mpic>; 314*c66ec88fSEmmanuel Vadot tbi-handle = <&tbi3>; 315*c66ec88fSEmmanuel Vadot phy-handle = <&phy3>; 316*c66ec88fSEmmanuel Vadot 317*c66ec88fSEmmanuel Vadot mdio@520 { 318*c66ec88fSEmmanuel Vadot #address-cells = <1>; 319*c66ec88fSEmmanuel Vadot #size-cells = <0>; 320*c66ec88fSEmmanuel Vadot compatible = "fsl,gianfar-tbi"; 321*c66ec88fSEmmanuel Vadot reg = <0x520 0x20>; 322*c66ec88fSEmmanuel Vadot 323*c66ec88fSEmmanuel Vadot tbi3: tbi-phy@11 { 324*c66ec88fSEmmanuel Vadot reg = <0x11>; 325*c66ec88fSEmmanuel Vadot device_type = "tbi-phy"; 326*c66ec88fSEmmanuel Vadot }; 327*c66ec88fSEmmanuel Vadot }; 328*c66ec88fSEmmanuel Vadot }; 329*c66ec88fSEmmanuel Vadot 330*c66ec88fSEmmanuel Vadot serial0: serial@4500 { 331*c66ec88fSEmmanuel Vadot cell-index = <0>; 332*c66ec88fSEmmanuel Vadot device_type = "serial"; 333*c66ec88fSEmmanuel Vadot compatible = "fsl,ns16550", "ns16550"; 334*c66ec88fSEmmanuel Vadot reg = <0x4500 0x100>; 335*c66ec88fSEmmanuel Vadot clock-frequency = <0>; 336*c66ec88fSEmmanuel Vadot current-speed = <115200>; 337*c66ec88fSEmmanuel Vadot interrupts = <42 2>; 338*c66ec88fSEmmanuel Vadot interrupt-parent = <&mpic>; 339*c66ec88fSEmmanuel Vadot }; 340*c66ec88fSEmmanuel Vadot 341*c66ec88fSEmmanuel Vadot serial1: serial@4600 { 342*c66ec88fSEmmanuel Vadot cell-index = <1>; 343*c66ec88fSEmmanuel Vadot device_type = "serial"; 344*c66ec88fSEmmanuel Vadot compatible = "fsl,ns16550", "ns16550"; 345*c66ec88fSEmmanuel Vadot reg = <0x4600 0x100>; 346*c66ec88fSEmmanuel Vadot clock-frequency = <0>; 347*c66ec88fSEmmanuel Vadot current-speed = <115200>; 348*c66ec88fSEmmanuel Vadot interrupts = <42 2>; 349*c66ec88fSEmmanuel Vadot interrupt-parent = <&mpic>; 350*c66ec88fSEmmanuel Vadot }; 351*c66ec88fSEmmanuel Vadot 352*c66ec88fSEmmanuel Vadot global-utilities@e0000 { // global utilities reg 353*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8548-guts"; 354*c66ec88fSEmmanuel Vadot reg = <0xe0000 0x1000>; 355*c66ec88fSEmmanuel Vadot fsl,has-rstcr; 356*c66ec88fSEmmanuel Vadot }; 357*c66ec88fSEmmanuel Vadot 358*c66ec88fSEmmanuel Vadot mpic: pic@40000 { 359*c66ec88fSEmmanuel Vadot interrupt-controller; 360*c66ec88fSEmmanuel Vadot #address-cells = <0>; 361*c66ec88fSEmmanuel Vadot #interrupt-cells = <2>; 362*c66ec88fSEmmanuel Vadot reg = <0x40000 0x40000>; 363*c66ec88fSEmmanuel Vadot compatible = "chrp,open-pic"; 364*c66ec88fSEmmanuel Vadot device_type = "open-pic"; 365*c66ec88fSEmmanuel Vadot }; 366*c66ec88fSEmmanuel Vadot }; 367*c66ec88fSEmmanuel Vadot 368*c66ec88fSEmmanuel Vadot localbus@ef005000 { 369*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8548-localbus", "fsl,pq3-localbus", 370*c66ec88fSEmmanuel Vadot "simple-bus"; 371*c66ec88fSEmmanuel Vadot #address-cells = <2>; 372*c66ec88fSEmmanuel Vadot #size-cells = <1>; 373*c66ec88fSEmmanuel Vadot reg = <0xef005000 0x100>; // BRx, ORx, etc. 374*c66ec88fSEmmanuel Vadot interrupt-parent = <&mpic>; 375*c66ec88fSEmmanuel Vadot interrupts = <19 2>; 376*c66ec88fSEmmanuel Vadot 377*c66ec88fSEmmanuel Vadot ranges = < 378*c66ec88fSEmmanuel Vadot 0 0x0 0xfc000000 0x04000000 // NOR boot flash 379*c66ec88fSEmmanuel Vadot 1 0x0 0xf8000000 0x04000000 // NOR expansion flash 380*c66ec88fSEmmanuel Vadot 2 0x0 0xef800000 0x00010000 // NAND CE1 381*c66ec88fSEmmanuel Vadot 3 0x0 0xef840000 0x00010000 // NAND CE2 382*c66ec88fSEmmanuel Vadot >; 383*c66ec88fSEmmanuel Vadot 384*c66ec88fSEmmanuel Vadot nor-boot@0,0 { 385*c66ec88fSEmmanuel Vadot #address-cells = <1>; 386*c66ec88fSEmmanuel Vadot #size-cells = <1>; 387*c66ec88fSEmmanuel Vadot compatible = "cfi-flash"; 388*c66ec88fSEmmanuel Vadot reg = <0 0x0 0x4000000>; 389*c66ec88fSEmmanuel Vadot bank-width = <2>; 390*c66ec88fSEmmanuel Vadot 391*c66ec88fSEmmanuel Vadot partition@0 { 392*c66ec88fSEmmanuel Vadot label = "Primary OS"; 393*c66ec88fSEmmanuel Vadot reg = <0x00000000 0x180000>; 394*c66ec88fSEmmanuel Vadot }; 395*c66ec88fSEmmanuel Vadot partition@180000 { 396*c66ec88fSEmmanuel Vadot label = "Secondary OS"; 397*c66ec88fSEmmanuel Vadot reg = <0x00180000 0x180000>; 398*c66ec88fSEmmanuel Vadot }; 399*c66ec88fSEmmanuel Vadot partition@300000 { 400*c66ec88fSEmmanuel Vadot label = "User"; 401*c66ec88fSEmmanuel Vadot reg = <0x00300000 0x3c80000>; 402*c66ec88fSEmmanuel Vadot }; 403*c66ec88fSEmmanuel Vadot partition@3f80000 { 404*c66ec88fSEmmanuel Vadot label = "Boot firmware"; 405*c66ec88fSEmmanuel Vadot reg = <0x03f80000 0x80000>; 406*c66ec88fSEmmanuel Vadot }; 407*c66ec88fSEmmanuel Vadot }; 408*c66ec88fSEmmanuel Vadot 409*c66ec88fSEmmanuel Vadot nor-alternate@1,0 { 410*c66ec88fSEmmanuel Vadot #address-cells = <1>; 411*c66ec88fSEmmanuel Vadot #size-cells = <1>; 412*c66ec88fSEmmanuel Vadot compatible = "cfi-flash"; 413*c66ec88fSEmmanuel Vadot reg = <1 0x0 0x4000000>; 414*c66ec88fSEmmanuel Vadot bank-width = <2>; 415*c66ec88fSEmmanuel Vadot 416*c66ec88fSEmmanuel Vadot partition@0 { 417*c66ec88fSEmmanuel Vadot label = "Filesystem"; 418*c66ec88fSEmmanuel Vadot reg = <0x00000000 0x3f80000>; 419*c66ec88fSEmmanuel Vadot }; 420*c66ec88fSEmmanuel Vadot partition@3f80000 { 421*c66ec88fSEmmanuel Vadot label = "Alternate boot firmware"; 422*c66ec88fSEmmanuel Vadot reg = <0x03f80000 0x80000>; 423*c66ec88fSEmmanuel Vadot }; 424*c66ec88fSEmmanuel Vadot }; 425*c66ec88fSEmmanuel Vadot 426*c66ec88fSEmmanuel Vadot nand@2,0 { 427*c66ec88fSEmmanuel Vadot #address-cells = <1>; 428*c66ec88fSEmmanuel Vadot #size-cells = <1>; 429*c66ec88fSEmmanuel Vadot compatible = "xes,address-ctl-nand"; 430*c66ec88fSEmmanuel Vadot reg = <2 0x0 0x10000>; 431*c66ec88fSEmmanuel Vadot cle-line = <0x8>; /* CLE tied to A3 */ 432*c66ec88fSEmmanuel Vadot ale-line = <0x10>; /* ALE tied to A4 */ 433*c66ec88fSEmmanuel Vadot 434*c66ec88fSEmmanuel Vadot /* U-Boot should fix this up */ 435*c66ec88fSEmmanuel Vadot partition@0 { 436*c66ec88fSEmmanuel Vadot label = "NAND Filesystem"; 437*c66ec88fSEmmanuel Vadot reg = <0 0x40000000>; 438*c66ec88fSEmmanuel Vadot }; 439*c66ec88fSEmmanuel Vadot }; 440*c66ec88fSEmmanuel Vadot }; 441*c66ec88fSEmmanuel Vadot 442*c66ec88fSEmmanuel Vadot /* PMC interface */ 443*c66ec88fSEmmanuel Vadot pci0: pci@ef008000 { 444*c66ec88fSEmmanuel Vadot #interrupt-cells = <1>; 445*c66ec88fSEmmanuel Vadot #size-cells = <2>; 446*c66ec88fSEmmanuel Vadot #address-cells = <3>; 447*c66ec88fSEmmanuel Vadot compatible = "fsl,mpc8540-pcix", "fsl,mpc8540-pci"; 448*c66ec88fSEmmanuel Vadot device_type = "pci"; 449*c66ec88fSEmmanuel Vadot reg = <0xef008000 0x1000>; 450*c66ec88fSEmmanuel Vadot clock-frequency = <33333333>; 451*c66ec88fSEmmanuel Vadot interrupt-map-mask = <0xf800 0x0 0x0 0x7>; 452*c66ec88fSEmmanuel Vadot interrupt-map = < 453*c66ec88fSEmmanuel Vadot /* IDSEL */ 454*c66ec88fSEmmanuel Vadot 0xe000 0 0 1 &mpic 2 1 455*c66ec88fSEmmanuel Vadot 0xe000 0 0 2 &mpic 3 1>; 456*c66ec88fSEmmanuel Vadot 457*c66ec88fSEmmanuel Vadot interrupt-parent = <&mpic>; 458*c66ec88fSEmmanuel Vadot interrupts = <24 2>; 459*c66ec88fSEmmanuel Vadot bus-range = <0 0>; 460*c66ec88fSEmmanuel Vadot ranges = <0x02000000 0 0x80000000 0x80000000 0 0x40000000 461*c66ec88fSEmmanuel Vadot 0x01000000 0 0x00000000 0xe8000000 0 0x00800000>; 462*c66ec88fSEmmanuel Vadot }; 463*c66ec88fSEmmanuel Vadot 464*c66ec88fSEmmanuel Vadot /* XMC PCIe is not yet enabled in U-Boot on XPedite5200 */ 465*c66ec88fSEmmanuel Vadot}; 466