1*c66ec88fSEmmanuel Vadot/* 2*c66ec88fSEmmanuel Vadot * Device Tree Source for IBM/AMCC Taishan 3*c66ec88fSEmmanuel Vadot * 4*c66ec88fSEmmanuel Vadot * Copyright 2007 IBM Corp. 5*c66ec88fSEmmanuel Vadot * Hugh Blemings <hugh@au.ibm.com> based off code by 6*c66ec88fSEmmanuel Vadot * Josh Boyer <jwboyer@linux.vnet.ibm.com>, David Gibson <dwg@au1.ibm.com> 7*c66ec88fSEmmanuel Vadot * 8*c66ec88fSEmmanuel Vadot * This file is licensed under the terms of the GNU General Public 9*c66ec88fSEmmanuel Vadot * License version 2. This program is licensed "as is" without 10*c66ec88fSEmmanuel Vadot * any warranty of any kind, whether express or implied. 11*c66ec88fSEmmanuel Vadot */ 12*c66ec88fSEmmanuel Vadot 13*c66ec88fSEmmanuel Vadot/dts-v1/; 14*c66ec88fSEmmanuel Vadot 15*c66ec88fSEmmanuel Vadot/ { 16*c66ec88fSEmmanuel Vadot #address-cells = <2>; 17*c66ec88fSEmmanuel Vadot #size-cells = <1>; 18*c66ec88fSEmmanuel Vadot model = "amcc,taishan"; 19*c66ec88fSEmmanuel Vadot compatible = "amcc,taishan"; 20*c66ec88fSEmmanuel Vadot dcr-parent = <&{/cpus/cpu@0}>; 21*c66ec88fSEmmanuel Vadot 22*c66ec88fSEmmanuel Vadot aliases { 23*c66ec88fSEmmanuel Vadot ethernet0 = &EMAC2; 24*c66ec88fSEmmanuel Vadot ethernet1 = &EMAC3; 25*c66ec88fSEmmanuel Vadot serial0 = &UART0; 26*c66ec88fSEmmanuel Vadot serial1 = &UART1; 27*c66ec88fSEmmanuel Vadot }; 28*c66ec88fSEmmanuel Vadot 29*c66ec88fSEmmanuel Vadot cpus { 30*c66ec88fSEmmanuel Vadot #address-cells = <1>; 31*c66ec88fSEmmanuel Vadot #size-cells = <0>; 32*c66ec88fSEmmanuel Vadot 33*c66ec88fSEmmanuel Vadot cpu@0 { 34*c66ec88fSEmmanuel Vadot device_type = "cpu"; 35*c66ec88fSEmmanuel Vadot model = "PowerPC,440GX"; 36*c66ec88fSEmmanuel Vadot reg = <0x00000000>; 37*c66ec88fSEmmanuel Vadot clock-frequency = <800000000>; // 800MHz 38*c66ec88fSEmmanuel Vadot timebase-frequency = <0>; // Filled in by zImage 39*c66ec88fSEmmanuel Vadot i-cache-line-size = <50>; 40*c66ec88fSEmmanuel Vadot d-cache-line-size = <50>; 41*c66ec88fSEmmanuel Vadot i-cache-size = <32768>; /* 32 kB */ 42*c66ec88fSEmmanuel Vadot d-cache-size = <32768>; /* 32 kB */ 43*c66ec88fSEmmanuel Vadot dcr-controller; 44*c66ec88fSEmmanuel Vadot dcr-access-method = "native"; 45*c66ec88fSEmmanuel Vadot }; 46*c66ec88fSEmmanuel Vadot }; 47*c66ec88fSEmmanuel Vadot 48*c66ec88fSEmmanuel Vadot memory { 49*c66ec88fSEmmanuel Vadot device_type = "memory"; 50*c66ec88fSEmmanuel Vadot reg = <0x00000000 0x00000000 0x00000000>; // Filled in by zImage 51*c66ec88fSEmmanuel Vadot }; 52*c66ec88fSEmmanuel Vadot 53*c66ec88fSEmmanuel Vadot 54*c66ec88fSEmmanuel Vadot UICB0: interrupt-controller-base { 55*c66ec88fSEmmanuel Vadot compatible = "ibm,uic-440gx", "ibm,uic"; 56*c66ec88fSEmmanuel Vadot interrupt-controller; 57*c66ec88fSEmmanuel Vadot cell-index = <3>; 58*c66ec88fSEmmanuel Vadot dcr-reg = <0x200 0x009>; 59*c66ec88fSEmmanuel Vadot #address-cells = <0>; 60*c66ec88fSEmmanuel Vadot #size-cells = <0>; 61*c66ec88fSEmmanuel Vadot #interrupt-cells = <2>; 62*c66ec88fSEmmanuel Vadot }; 63*c66ec88fSEmmanuel Vadot 64*c66ec88fSEmmanuel Vadot 65*c66ec88fSEmmanuel Vadot UIC0: interrupt-controller0 { 66*c66ec88fSEmmanuel Vadot compatible = "ibm,uic-440gx", "ibm,uic"; 67*c66ec88fSEmmanuel Vadot interrupt-controller; 68*c66ec88fSEmmanuel Vadot cell-index = <0>; 69*c66ec88fSEmmanuel Vadot dcr-reg = <0x0c0 0x009>; 70*c66ec88fSEmmanuel Vadot #address-cells = <0>; 71*c66ec88fSEmmanuel Vadot #size-cells = <0>; 72*c66ec88fSEmmanuel Vadot #interrupt-cells = <2>; 73*c66ec88fSEmmanuel Vadot interrupts = <0x1 0x4 0x0 0x4>; /* cascade - first non-critical */ 74*c66ec88fSEmmanuel Vadot interrupt-parent = <&UICB0>; 75*c66ec88fSEmmanuel Vadot 76*c66ec88fSEmmanuel Vadot }; 77*c66ec88fSEmmanuel Vadot 78*c66ec88fSEmmanuel Vadot UIC1: interrupt-controller1 { 79*c66ec88fSEmmanuel Vadot compatible = "ibm,uic-440gx", "ibm,uic"; 80*c66ec88fSEmmanuel Vadot interrupt-controller; 81*c66ec88fSEmmanuel Vadot cell-index = <1>; 82*c66ec88fSEmmanuel Vadot dcr-reg = <0x0d0 0x009>; 83*c66ec88fSEmmanuel Vadot #address-cells = <0>; 84*c66ec88fSEmmanuel Vadot #size-cells = <0>; 85*c66ec88fSEmmanuel Vadot #interrupt-cells = <2>; 86*c66ec88fSEmmanuel Vadot interrupts = <0x3 0x4 0x2 0x4>; /* cascade */ 87*c66ec88fSEmmanuel Vadot interrupt-parent = <&UICB0>; 88*c66ec88fSEmmanuel Vadot }; 89*c66ec88fSEmmanuel Vadot 90*c66ec88fSEmmanuel Vadot UIC2: interrupt-controller2 { 91*c66ec88fSEmmanuel Vadot compatible = "ibm,uic-440gx", "ibm,uic"; 92*c66ec88fSEmmanuel Vadot interrupt-controller; 93*c66ec88fSEmmanuel Vadot cell-index = <2>; /* was 1 */ 94*c66ec88fSEmmanuel Vadot dcr-reg = <0x210 0x009>; 95*c66ec88fSEmmanuel Vadot #address-cells = <0>; 96*c66ec88fSEmmanuel Vadot #size-cells = <0>; 97*c66ec88fSEmmanuel Vadot #interrupt-cells = <2>; 98*c66ec88fSEmmanuel Vadot interrupts = <0x5 0x4 0x4 0x4>; /* cascade */ 99*c66ec88fSEmmanuel Vadot interrupt-parent = <&UICB0>; 100*c66ec88fSEmmanuel Vadot }; 101*c66ec88fSEmmanuel Vadot 102*c66ec88fSEmmanuel Vadot 103*c66ec88fSEmmanuel Vadot CPC0: cpc { 104*c66ec88fSEmmanuel Vadot compatible = "ibm,cpc-440gp"; 105*c66ec88fSEmmanuel Vadot dcr-reg = <0x0b0 0x003 0x0e0 0x010>; 106*c66ec88fSEmmanuel Vadot // FIXME: anything else? 107*c66ec88fSEmmanuel Vadot }; 108*c66ec88fSEmmanuel Vadot 109*c66ec88fSEmmanuel Vadot L2C0: l2c { 110*c66ec88fSEmmanuel Vadot compatible = "ibm,l2-cache-440gx", "ibm,l2-cache"; 111*c66ec88fSEmmanuel Vadot dcr-reg = <0x020 0x008 /* Internal SRAM DCR's */ 112*c66ec88fSEmmanuel Vadot 0x030 0x008>; /* L2 cache DCR's */ 113*c66ec88fSEmmanuel Vadot cache-line-size = <32>; /* 32 bytes */ 114*c66ec88fSEmmanuel Vadot cache-size = <262144>; /* L2, 256K */ 115*c66ec88fSEmmanuel Vadot interrupt-parent = <&UIC2>; 116*c66ec88fSEmmanuel Vadot interrupts = <0x17 0x1>; 117*c66ec88fSEmmanuel Vadot }; 118*c66ec88fSEmmanuel Vadot 119*c66ec88fSEmmanuel Vadot plb { 120*c66ec88fSEmmanuel Vadot compatible = "ibm,plb-440gx", "ibm,plb4"; 121*c66ec88fSEmmanuel Vadot #address-cells = <2>; 122*c66ec88fSEmmanuel Vadot #size-cells = <1>; 123*c66ec88fSEmmanuel Vadot ranges; 124*c66ec88fSEmmanuel Vadot clock-frequency = <160000000>; // 160MHz 125*c66ec88fSEmmanuel Vadot 126*c66ec88fSEmmanuel Vadot SDRAM0: memory-controller { 127*c66ec88fSEmmanuel Vadot compatible = "ibm,sdram-440gp"; 128*c66ec88fSEmmanuel Vadot dcr-reg = <0x010 0x002>; 129*c66ec88fSEmmanuel Vadot // FIXME: anything else? 130*c66ec88fSEmmanuel Vadot }; 131*c66ec88fSEmmanuel Vadot 132*c66ec88fSEmmanuel Vadot SRAM0: sram { 133*c66ec88fSEmmanuel Vadot compatible = "ibm,sram-440gp"; 134*c66ec88fSEmmanuel Vadot dcr-reg = <0x020 0x008 0x00a 0x001>; 135*c66ec88fSEmmanuel Vadot }; 136*c66ec88fSEmmanuel Vadot 137*c66ec88fSEmmanuel Vadot DMA0: dma { 138*c66ec88fSEmmanuel Vadot // FIXME: ??? 139*c66ec88fSEmmanuel Vadot compatible = "ibm,dma-440gp"; 140*c66ec88fSEmmanuel Vadot dcr-reg = <0x100 0x027>; 141*c66ec88fSEmmanuel Vadot }; 142*c66ec88fSEmmanuel Vadot 143*c66ec88fSEmmanuel Vadot MAL0: mcmal { 144*c66ec88fSEmmanuel Vadot compatible = "ibm,mcmal-440gx", "ibm,mcmal2"; 145*c66ec88fSEmmanuel Vadot dcr-reg = <0x180 0x062>; 146*c66ec88fSEmmanuel Vadot num-tx-chans = <4>; 147*c66ec88fSEmmanuel Vadot num-rx-chans = <4>; 148*c66ec88fSEmmanuel Vadot interrupt-parent = <&MAL0>; 149*c66ec88fSEmmanuel Vadot interrupts = <0x0 0x1 0x2 0x3 0x4>; 150*c66ec88fSEmmanuel Vadot #interrupt-cells = <1>; 151*c66ec88fSEmmanuel Vadot #address-cells = <0>; 152*c66ec88fSEmmanuel Vadot #size-cells = <0>; 153*c66ec88fSEmmanuel Vadot interrupt-map = </*TXEOB*/ 0x0 &UIC0 0xa 0x4 154*c66ec88fSEmmanuel Vadot /*RXEOB*/ 0x1 &UIC0 0xb 0x4 155*c66ec88fSEmmanuel Vadot /*SERR*/ 0x2 &UIC1 0x0 0x4 156*c66ec88fSEmmanuel Vadot /*TXDE*/ 0x3 &UIC1 0x1 0x4 157*c66ec88fSEmmanuel Vadot /*RXDE*/ 0x4 &UIC1 0x2 0x4>; 158*c66ec88fSEmmanuel Vadot interrupt-map-mask = <0xffffffff>; 159*c66ec88fSEmmanuel Vadot }; 160*c66ec88fSEmmanuel Vadot 161*c66ec88fSEmmanuel Vadot POB0: opb { 162*c66ec88fSEmmanuel Vadot compatible = "ibm,opb-440gx", "ibm,opb"; 163*c66ec88fSEmmanuel Vadot #address-cells = <1>; 164*c66ec88fSEmmanuel Vadot #size-cells = <1>; 165*c66ec88fSEmmanuel Vadot /* Wish there was a nicer way of specifying a full 32-bit 166*c66ec88fSEmmanuel Vadot range */ 167*c66ec88fSEmmanuel Vadot ranges = <0x00000000 0x00000001 0x00000000 0x80000000 168*c66ec88fSEmmanuel Vadot 0x80000000 0x00000001 0x80000000 0x80000000>; 169*c66ec88fSEmmanuel Vadot dcr-reg = <0x090 0x00b>; 170*c66ec88fSEmmanuel Vadot interrupt-parent = <&UIC1>; 171*c66ec88fSEmmanuel Vadot interrupts = <0x7 0x4>; 172*c66ec88fSEmmanuel Vadot clock-frequency = <80000000>; // 80MHz 173*c66ec88fSEmmanuel Vadot 174*c66ec88fSEmmanuel Vadot 175*c66ec88fSEmmanuel Vadot EBC0: ebc { 176*c66ec88fSEmmanuel Vadot compatible = "ibm,ebc-440gx", "ibm,ebc"; 177*c66ec88fSEmmanuel Vadot dcr-reg = <0x012 0x002>; 178*c66ec88fSEmmanuel Vadot #address-cells = <2>; 179*c66ec88fSEmmanuel Vadot #size-cells = <1>; 180*c66ec88fSEmmanuel Vadot clock-frequency = <80000000>; // 80MHz 181*c66ec88fSEmmanuel Vadot 182*c66ec88fSEmmanuel Vadot /* ranges property is supplied by zImage 183*c66ec88fSEmmanuel Vadot * based on firmware's configuration of the 184*c66ec88fSEmmanuel Vadot * EBC bridge */ 185*c66ec88fSEmmanuel Vadot 186*c66ec88fSEmmanuel Vadot interrupts = <0x5 0x4>; 187*c66ec88fSEmmanuel Vadot interrupt-parent = <&UIC1>; 188*c66ec88fSEmmanuel Vadot 189*c66ec88fSEmmanuel Vadot nor_flash@0,0 { 190*c66ec88fSEmmanuel Vadot compatible = "cfi-flash"; 191*c66ec88fSEmmanuel Vadot bank-width = <4>; 192*c66ec88fSEmmanuel Vadot device-width = <2>; 193*c66ec88fSEmmanuel Vadot reg = <0x0 0x0 0x4000000>; 194*c66ec88fSEmmanuel Vadot #address-cells = <1>; 195*c66ec88fSEmmanuel Vadot #size-cells = <1>; 196*c66ec88fSEmmanuel Vadot partition@0 { 197*c66ec88fSEmmanuel Vadot label = "kernel"; 198*c66ec88fSEmmanuel Vadot reg = <0x0 0x180000>; 199*c66ec88fSEmmanuel Vadot }; 200*c66ec88fSEmmanuel Vadot partition@180000 { 201*c66ec88fSEmmanuel Vadot label = "root"; 202*c66ec88fSEmmanuel Vadot reg = <0x180000 0x200000>; 203*c66ec88fSEmmanuel Vadot }; 204*c66ec88fSEmmanuel Vadot partition@380000 { 205*c66ec88fSEmmanuel Vadot label = "user"; 206*c66ec88fSEmmanuel Vadot reg = <0x380000 0x3bc0000>; 207*c66ec88fSEmmanuel Vadot }; 208*c66ec88fSEmmanuel Vadot partition@3f40000 { 209*c66ec88fSEmmanuel Vadot label = "env"; 210*c66ec88fSEmmanuel Vadot reg = <0x3f40000 0x80000>; 211*c66ec88fSEmmanuel Vadot }; 212*c66ec88fSEmmanuel Vadot partition@3fc0000 { 213*c66ec88fSEmmanuel Vadot label = "u-boot"; 214*c66ec88fSEmmanuel Vadot reg = <0x3fc0000 0x40000>; 215*c66ec88fSEmmanuel Vadot }; 216*c66ec88fSEmmanuel Vadot }; 217*c66ec88fSEmmanuel Vadot }; 218*c66ec88fSEmmanuel Vadot 219*c66ec88fSEmmanuel Vadot 220*c66ec88fSEmmanuel Vadot 221*c66ec88fSEmmanuel Vadot UART0: serial@40000200 { 222*c66ec88fSEmmanuel Vadot device_type = "serial"; 223*c66ec88fSEmmanuel Vadot compatible = "ns16550"; 224*c66ec88fSEmmanuel Vadot reg = <0x40000200 0x00000008>; 225*c66ec88fSEmmanuel Vadot virtual-reg = <0xe0000200>; 226*c66ec88fSEmmanuel Vadot clock-frequency = <11059200>; 227*c66ec88fSEmmanuel Vadot current-speed = <115200>; /* 115200 */ 228*c66ec88fSEmmanuel Vadot interrupt-parent = <&UIC0>; 229*c66ec88fSEmmanuel Vadot interrupts = <0x0 0x4>; 230*c66ec88fSEmmanuel Vadot }; 231*c66ec88fSEmmanuel Vadot 232*c66ec88fSEmmanuel Vadot UART1: serial@40000300 { 233*c66ec88fSEmmanuel Vadot device_type = "serial"; 234*c66ec88fSEmmanuel Vadot compatible = "ns16550"; 235*c66ec88fSEmmanuel Vadot reg = <0x40000300 0x00000008>; 236*c66ec88fSEmmanuel Vadot virtual-reg = <0xe0000300>; 237*c66ec88fSEmmanuel Vadot clock-frequency = <11059200>; 238*c66ec88fSEmmanuel Vadot current-speed = <115200>; /* 115200 */ 239*c66ec88fSEmmanuel Vadot interrupt-parent = <&UIC0>; 240*c66ec88fSEmmanuel Vadot interrupts = <0x1 0x4>; 241*c66ec88fSEmmanuel Vadot }; 242*c66ec88fSEmmanuel Vadot 243*c66ec88fSEmmanuel Vadot IIC0: i2c@40000400 { 244*c66ec88fSEmmanuel Vadot /* FIXME */ 245*c66ec88fSEmmanuel Vadot compatible = "ibm,iic-440gp", "ibm,iic"; 246*c66ec88fSEmmanuel Vadot reg = <0x40000400 0x00000014>; 247*c66ec88fSEmmanuel Vadot interrupt-parent = <&UIC0>; 248*c66ec88fSEmmanuel Vadot interrupts = <0x2 0x4>; 249*c66ec88fSEmmanuel Vadot }; 250*c66ec88fSEmmanuel Vadot IIC1: i2c@40000500 { 251*c66ec88fSEmmanuel Vadot /* FIXME */ 252*c66ec88fSEmmanuel Vadot compatible = "ibm,iic-440gp", "ibm,iic"; 253*c66ec88fSEmmanuel Vadot reg = <0x40000500 0x00000014>; 254*c66ec88fSEmmanuel Vadot interrupt-parent = <&UIC0>; 255*c66ec88fSEmmanuel Vadot interrupts = <0x3 0x4>; 256*c66ec88fSEmmanuel Vadot }; 257*c66ec88fSEmmanuel Vadot 258*c66ec88fSEmmanuel Vadot GPIO0: gpio@40000700 { 259*c66ec88fSEmmanuel Vadot /* FIXME */ 260*c66ec88fSEmmanuel Vadot compatible = "ibm,gpio-440gp"; 261*c66ec88fSEmmanuel Vadot reg = <0x40000700 0x00000020>; 262*c66ec88fSEmmanuel Vadot }; 263*c66ec88fSEmmanuel Vadot 264*c66ec88fSEmmanuel Vadot ZMII0: emac-zmii@40000780 { 265*c66ec88fSEmmanuel Vadot compatible = "ibm,zmii-440gx", "ibm,zmii"; 266*c66ec88fSEmmanuel Vadot reg = <0x40000780 0x0000000c>; 267*c66ec88fSEmmanuel Vadot }; 268*c66ec88fSEmmanuel Vadot 269*c66ec88fSEmmanuel Vadot RGMII0: emac-rgmii@40000790 { 270*c66ec88fSEmmanuel Vadot compatible = "ibm,rgmii"; 271*c66ec88fSEmmanuel Vadot reg = <0x40000790 0x00000008>; 272*c66ec88fSEmmanuel Vadot }; 273*c66ec88fSEmmanuel Vadot 274*c66ec88fSEmmanuel Vadot TAH0: emac-tah@40000b50 { 275*c66ec88fSEmmanuel Vadot compatible = "ibm,tah-440gx", "ibm,tah"; 276*c66ec88fSEmmanuel Vadot reg = <0x40000b50 0x00000030>; 277*c66ec88fSEmmanuel Vadot }; 278*c66ec88fSEmmanuel Vadot 279*c66ec88fSEmmanuel Vadot TAH1: emac-tah@40000d50 { 280*c66ec88fSEmmanuel Vadot compatible = "ibm,tah-440gx", "ibm,tah"; 281*c66ec88fSEmmanuel Vadot reg = <0x40000d50 0x00000030>; 282*c66ec88fSEmmanuel Vadot }; 283*c66ec88fSEmmanuel Vadot 284*c66ec88fSEmmanuel Vadot EMAC0: ethernet@40000800 { 285*c66ec88fSEmmanuel Vadot unused = <0x1>; 286*c66ec88fSEmmanuel Vadot device_type = "network"; 287*c66ec88fSEmmanuel Vadot compatible = "ibm,emac-440gx", "ibm,emac4"; 288*c66ec88fSEmmanuel Vadot interrupt-parent = <&UIC1>; 289*c66ec88fSEmmanuel Vadot interrupts = <0x1c 0x4 0x1d 0x4>; 290*c66ec88fSEmmanuel Vadot reg = <0x40000800 0x00000074>; 291*c66ec88fSEmmanuel Vadot local-mac-address = [000000000000]; // Filled in by zImage 292*c66ec88fSEmmanuel Vadot mal-device = <&MAL0>; 293*c66ec88fSEmmanuel Vadot mal-tx-channel = <0>; 294*c66ec88fSEmmanuel Vadot mal-rx-channel = <0>; 295*c66ec88fSEmmanuel Vadot cell-index = <0>; 296*c66ec88fSEmmanuel Vadot max-frame-size = <1500>; 297*c66ec88fSEmmanuel Vadot rx-fifo-size = <4096>; 298*c66ec88fSEmmanuel Vadot tx-fifo-size = <2048>; 299*c66ec88fSEmmanuel Vadot phy-mode = "rmii"; 300*c66ec88fSEmmanuel Vadot phy-map = <0x00000001>; 301*c66ec88fSEmmanuel Vadot zmii-device = <&ZMII0>; 302*c66ec88fSEmmanuel Vadot zmii-channel = <0>; 303*c66ec88fSEmmanuel Vadot }; 304*c66ec88fSEmmanuel Vadot EMAC1: ethernet@40000900 { 305*c66ec88fSEmmanuel Vadot unused = <0x1>; 306*c66ec88fSEmmanuel Vadot device_type = "network"; 307*c66ec88fSEmmanuel Vadot compatible = "ibm,emac-440gx", "ibm,emac4"; 308*c66ec88fSEmmanuel Vadot interrupt-parent = <&UIC1>; 309*c66ec88fSEmmanuel Vadot interrupts = <0x1e 0x4 0x1f 0x4>; 310*c66ec88fSEmmanuel Vadot reg = <0x40000900 0x00000074>; 311*c66ec88fSEmmanuel Vadot local-mac-address = [000000000000]; // Filled in by zImage 312*c66ec88fSEmmanuel Vadot mal-device = <&MAL0>; 313*c66ec88fSEmmanuel Vadot mal-tx-channel = <1>; 314*c66ec88fSEmmanuel Vadot mal-rx-channel = <1>; 315*c66ec88fSEmmanuel Vadot cell-index = <1>; 316*c66ec88fSEmmanuel Vadot max-frame-size = <1500>; 317*c66ec88fSEmmanuel Vadot rx-fifo-size = <4096>; 318*c66ec88fSEmmanuel Vadot tx-fifo-size = <2048>; 319*c66ec88fSEmmanuel Vadot phy-mode = "rmii"; 320*c66ec88fSEmmanuel Vadot phy-map = <0x00000001>; 321*c66ec88fSEmmanuel Vadot zmii-device = <&ZMII0>; 322*c66ec88fSEmmanuel Vadot zmii-channel = <1>; 323*c66ec88fSEmmanuel Vadot }; 324*c66ec88fSEmmanuel Vadot 325*c66ec88fSEmmanuel Vadot EMAC2: ethernet@40000c00 { 326*c66ec88fSEmmanuel Vadot device_type = "network"; 327*c66ec88fSEmmanuel Vadot compatible = "ibm,emac-440gx", "ibm,emac4"; 328*c66ec88fSEmmanuel Vadot interrupt-parent = <&UIC2>; 329*c66ec88fSEmmanuel Vadot interrupts = <0x0 0x4 0x1 0x4>; 330*c66ec88fSEmmanuel Vadot reg = <0x40000c00 0x00000074>; 331*c66ec88fSEmmanuel Vadot local-mac-address = [000000000000]; // Filled in by zImage 332*c66ec88fSEmmanuel Vadot mal-device = <&MAL0>; 333*c66ec88fSEmmanuel Vadot mal-tx-channel = <2>; 334*c66ec88fSEmmanuel Vadot mal-rx-channel = <2>; 335*c66ec88fSEmmanuel Vadot cell-index = <2>; 336*c66ec88fSEmmanuel Vadot max-frame-size = <9000>; 337*c66ec88fSEmmanuel Vadot rx-fifo-size = <4096>; 338*c66ec88fSEmmanuel Vadot tx-fifo-size = <2048>; 339*c66ec88fSEmmanuel Vadot phy-mode = "rgmii"; 340*c66ec88fSEmmanuel Vadot phy-address = <1>; 341*c66ec88fSEmmanuel Vadot rgmii-device = <&RGMII0>; 342*c66ec88fSEmmanuel Vadot rgmii-channel = <0>; 343*c66ec88fSEmmanuel Vadot zmii-device = <&ZMII0>; 344*c66ec88fSEmmanuel Vadot zmii-channel = <2>; 345*c66ec88fSEmmanuel Vadot tah-device = <&TAH0>; 346*c66ec88fSEmmanuel Vadot tah-channel = <0>; 347*c66ec88fSEmmanuel Vadot }; 348*c66ec88fSEmmanuel Vadot 349*c66ec88fSEmmanuel Vadot EMAC3: ethernet@40000e00 { 350*c66ec88fSEmmanuel Vadot device_type = "network"; 351*c66ec88fSEmmanuel Vadot compatible = "ibm,emac-440gx", "ibm,emac4"; 352*c66ec88fSEmmanuel Vadot interrupt-parent = <&UIC2>; 353*c66ec88fSEmmanuel Vadot interrupts = <0x2 0x4 0x3 0x4>; 354*c66ec88fSEmmanuel Vadot reg = <0x40000e00 0x00000074>; 355*c66ec88fSEmmanuel Vadot local-mac-address = [000000000000]; // Filled in by zImage 356*c66ec88fSEmmanuel Vadot mal-device = <&MAL0>; 357*c66ec88fSEmmanuel Vadot mal-tx-channel = <3>; 358*c66ec88fSEmmanuel Vadot mal-rx-channel = <3>; 359*c66ec88fSEmmanuel Vadot cell-index = <3>; 360*c66ec88fSEmmanuel Vadot max-frame-size = <9000>; 361*c66ec88fSEmmanuel Vadot rx-fifo-size = <4096>; 362*c66ec88fSEmmanuel Vadot tx-fifo-size = <2048>; 363*c66ec88fSEmmanuel Vadot phy-mode = "rgmii"; 364*c66ec88fSEmmanuel Vadot phy-address = <3>; 365*c66ec88fSEmmanuel Vadot rgmii-device = <&RGMII0>; 366*c66ec88fSEmmanuel Vadot rgmii-channel = <1>; 367*c66ec88fSEmmanuel Vadot zmii-device = <&ZMII0>; 368*c66ec88fSEmmanuel Vadot zmii-channel = <3>; 369*c66ec88fSEmmanuel Vadot tah-device = <&TAH1>; 370*c66ec88fSEmmanuel Vadot tah-channel = <0>; 371*c66ec88fSEmmanuel Vadot }; 372*c66ec88fSEmmanuel Vadot 373*c66ec88fSEmmanuel Vadot 374*c66ec88fSEmmanuel Vadot GPT0: gpt@40000a00 { 375*c66ec88fSEmmanuel Vadot /* FIXME */ 376*c66ec88fSEmmanuel Vadot reg = <0x40000a00 0x000000d4>; 377*c66ec88fSEmmanuel Vadot interrupt-parent = <&UIC0>; 378*c66ec88fSEmmanuel Vadot interrupts = <0x12 0x4 0x13 0x4 0x14 0x4 0x15 0x4 0x16 0x4>; 379*c66ec88fSEmmanuel Vadot }; 380*c66ec88fSEmmanuel Vadot 381*c66ec88fSEmmanuel Vadot }; 382*c66ec88fSEmmanuel Vadot 383*c66ec88fSEmmanuel Vadot PCIX0: pci@20ec00000 { 384*c66ec88fSEmmanuel Vadot device_type = "pci"; 385*c66ec88fSEmmanuel Vadot #interrupt-cells = <1>; 386*c66ec88fSEmmanuel Vadot #size-cells = <2>; 387*c66ec88fSEmmanuel Vadot #address-cells = <3>; 388*c66ec88fSEmmanuel Vadot compatible = "ibm,plb440gp-pcix", "ibm,plb-pcix"; 389*c66ec88fSEmmanuel Vadot primary; 390*c66ec88fSEmmanuel Vadot large-inbound-windows; 391*c66ec88fSEmmanuel Vadot enable-msi-hole; 392*c66ec88fSEmmanuel Vadot reg = <0x00000002 0x0ec00000 0x00000008 /* Config space access */ 393*c66ec88fSEmmanuel Vadot 0x00000000 0x00000000 0x00000000 /* no IACK cycles */ 394*c66ec88fSEmmanuel Vadot 0x00000002 0x0ed00000 0x00000004 /* Special cycles */ 395*c66ec88fSEmmanuel Vadot 0x00000002 0x0ec80000 0x00000100 /* Internal registers */ 396*c66ec88fSEmmanuel Vadot 0x00000002 0x0ec80100 0x000000fc>; /* Internal messaging registers */ 397*c66ec88fSEmmanuel Vadot 398*c66ec88fSEmmanuel Vadot /* Outbound ranges, one memory and one IO, 399*c66ec88fSEmmanuel Vadot * later cannot be changed 400*c66ec88fSEmmanuel Vadot */ 401*c66ec88fSEmmanuel Vadot ranges = <0x02000000 0x00000000 0x80000000 0x00000003 0x80000000 0x00000000 0x80000000 402*c66ec88fSEmmanuel Vadot 0x01000000 0x00000000 0x00000000 0x00000002 0x08000000 0x00000000 0x00010000>; 403*c66ec88fSEmmanuel Vadot 404*c66ec88fSEmmanuel Vadot /* Inbound 2GB range starting at 0 */ 405*c66ec88fSEmmanuel Vadot dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x0 0x80000000>; 406*c66ec88fSEmmanuel Vadot 407*c66ec88fSEmmanuel Vadot interrupt-map-mask = <0xf800 0x0 0x0 0x7>; 408*c66ec88fSEmmanuel Vadot interrupt-map = < 409*c66ec88fSEmmanuel Vadot /* IDSEL 1 */ 410*c66ec88fSEmmanuel Vadot 0x800 0x0 0x0 0x1 &UIC0 0x17 0x8 411*c66ec88fSEmmanuel Vadot 0x800 0x0 0x0 0x2 &UIC0 0x18 0x8 412*c66ec88fSEmmanuel Vadot 0x800 0x0 0x0 0x3 &UIC0 0x19 0x8 413*c66ec88fSEmmanuel Vadot 0x800 0x0 0x0 0x4 &UIC0 0x1a 0x8 414*c66ec88fSEmmanuel Vadot 415*c66ec88fSEmmanuel Vadot /* IDSEL 2 */ 416*c66ec88fSEmmanuel Vadot 0x1000 0x0 0x0 0x1 &UIC0 0x18 0x8 417*c66ec88fSEmmanuel Vadot 0x1000 0x0 0x0 0x2 &UIC0 0x19 0x8 418*c66ec88fSEmmanuel Vadot 0x1000 0x0 0x0 0x3 &UIC0 0x1a 0x8 419*c66ec88fSEmmanuel Vadot 0x1000 0x0 0x0 0x4 &UIC0 0x17 0x8 420*c66ec88fSEmmanuel Vadot >; 421*c66ec88fSEmmanuel Vadot }; 422*c66ec88fSEmmanuel Vadot }; 423*c66ec88fSEmmanuel Vadot 424*c66ec88fSEmmanuel Vadot chosen { 425*c66ec88fSEmmanuel Vadot stdout-path = "/plb/opb/serial@40000300"; 426*c66ec88fSEmmanuel Vadot }; 427*c66ec88fSEmmanuel Vadot}; 428